diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-04-24 12:32:43 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-04-24 12:32:43 +0000 |
commit | 485ba15fdfbc0934b9207229854bd04a91ca336c (patch) | |
tree | 5a445f16613c2f522666b97aa86844033ea13323 /framework/inc/classes | |
parent | f258adb764b3268fa1d0c57e3e31edaca86fe1e8 (diff) |
INTEGRATION: CWS mav4 (1.2.10); FILE MERGED
2003/04/23 13:17:42 as 1.2.10.1: #109052# HACK: refresh background color if it was changed by 3rdparty!
Diffstat (limited to 'framework/inc/classes')
-rw-r--r-- | framework/inc/classes/colorlistener.hxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/framework/inc/classes/colorlistener.hxx b/framework/inc/classes/colorlistener.hxx index 6371d17cbdcb..cd4c1a3acd05 100644 --- a/framework/inc/classes/colorlistener.hxx +++ b/framework/inc/classes/colorlistener.hxx @@ -2,9 +2,9 @@ * * $RCSfile: colorlistener.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hr $ $Date: 2003-03-25 18:19:32 $ + * last change: $Author: rt $ $Date: 2003-04-24 13:32:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -95,6 +95,10 @@ #include <svtools/colorcfg.hxx> #endif +#ifndef _LINK_HXX +#include <tools/link.hxx> +#endif + //__________________________________________ // definition @@ -133,6 +137,8 @@ class ColorListener : public css::lang::XEventListener /** we must know, if we already registered as listener or not. */ sal_Bool m_bListen; + long m_nColor; + //______________________________________ // interface @@ -149,12 +155,14 @@ class ColorListener : public css::lang::XEventListener // SfxListener virtual void Notify( SfxBroadcaster& rBroadCaster, const SfxHint& rHint ); + DECL_LINK( impl_SettingsChanged, void* ); + //______________________________________ // helper private: - void impl_applyColor (); + void impl_applyColor ( sal_Bool bInvalidate ); void impl_startListening(); void impl_stopListening (); void impl_die (); |