Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi *,

master has a fix for a mis-typed base class for the
SfxViewEventHint, unfortunately hidden in merge commit
libs-core:d3a999619524001821bdc438cac275c441efad9b - which
effectively prevents a set of document events to no longer be
generated. Patch for the fix attached, reviews & commit to -3-4
greatly appreciated.

Cheers,

-- Thorsten
From 222d261df8cd993ac1b6a05b445670f93d25f02b Mon Sep 17 00:00:00 2001
From: Thorsten Behrens <tbehrens@novell.com>
Date: Wed, 20 Jul 2011 23:49:47 +0200
Subject: [PATCH] Fix wrong RTTI baseclass for SfxViewEventHint

Fixes fdo#38768 and likely a bunch of other nasty side effects.
SfxBaseModel::Notify was simply ignoring all kinds of messages
without this fix.
---
 sfx2/source/config/evntconf.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx
index 5adbc48..10bc5a4 100644
--- a/sfx2/source/config/evntconf.cxx
+++ b/sfx2/source/config/evntconf.cxx
@@ -60,7 +60,7 @@
 // -----------------------------------------------------------------------
 TYPEINIT1(SfxEventHint, SfxHint);
 TYPEINIT1(SfxEventNamesItem, SfxPoolItem);
-TYPEINIT1(SfxViewEventHint, SfxHint);
+TYPEINIT1(SfxViewEventHint, SfxEventHint);
 
 using namespace com::sun::star;
 
-- 
1.7.3.4

Attachment: pgp3Ghpbk9YTH.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.