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