summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-10-20 20:26:24 +0900
committerKatarina Behrens <Katarina.Behrens@cib.de>2016-10-26 09:20:52 +0000
commit406798f8aae3c0e305d6994fc82561a5002af0aa (patch)
treec69d6ff91c08290a4142152c0bf3c7ded9d1be9c /sd/inc
parent0b4be27b147485fb4d61d3398cbb3860e69f01c1 (diff)
tdf#96948 Change color of the area behind Impress slide immediately
after saving Options > Application colours > Application background. This fixes a regression from 1c481fe6522f4c7d883e77a4ac32f855b9bcb323. Change-Id: I8dc0caf9e351c0b1bf2a10e9097d8f3e895f1471 Reviewed-on: https://gerrit.libreoffice.org/29957 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/sdmod.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index ed4435d47dca..9b04cf0d78dc 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -43,6 +43,7 @@ class SvNumberFormatter;
class SfxErrorHandler;
class SdDrawDocument;
class SfxFrame;
+namespace svtools { class ColorConfig; }
namespace sd {
class DrawDocShell;
@@ -129,6 +130,8 @@ public:
SdExtPropertySetInfoCache gImplDrawPropertySetInfoCache;
SdTypesCache gImplTypesCache;
+ svtools::ColorConfig& GetColorConfig();
+
protected:
SdOptions* pImpressOptions;
@@ -176,6 +179,7 @@ private:
*/
DECL_STATIC_LINK( SdModule, EventListenerHdl, VclSimpleEvent&, void );
+ std::unique_ptr<svtools::ColorConfig> mpColorConfig;
};
#define SD_MOD() ( static_cast<SdModule*>(SfxApplication::GetModule(SfxToolsModule::Draw)) )