summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-12-08 19:41:50 +0000
committerMichael Meeks <michael.meeks@suse.com>2011-12-08 19:46:50 +0000
commitb60260eaf8211ab1dbe5af0a57523321d66b0db1 (patch)
treef6fc35c2ff6e8824988ec5fa04d86a5517338b17
parentbf162f6ba161e7157d9dac61be01cf3b72b8a6c1 (diff)
de-inline display fetch/set functions to assist in debugging
-rw-r--r--sd/source/ui/app/optsitem.cxx15
-rw-r--r--sd/source/ui/inc/optsitem.hxx4
2 files changed, 17 insertions, 2 deletions
diff --git a/sd/source/ui/app/optsitem.cxx b/sd/source/ui/app/optsitem.cxx
index b3b8cd7b60fc..99b944255396 100644
--- a/sd/source/ui/app/optsitem.cxx
+++ b/sd/source/ui/app/optsitem.cxx
@@ -1586,4 +1586,19 @@ void SdOptions::StoreConfig( sal_uLong nOptionsRange )
SdOptionsPrint::Store();
}
+sal_Int32 SdOptionsMisc::GetDisplay() const
+{
+ Init();
+ return mnDisplay;
+}
+
+void SdOptionsMisc::SetDisplay( sal_Int32 nDisplay )
+{
+ if( mnDisplay != nDisplay )
+ {
+ OptionsChanged();
+ mnDisplay = nDisplay;
+ }
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/optsitem.hxx b/sd/source/ui/inc/optsitem.hxx
index 8eb5ae6d620d..0cd66e19004e 100644
--- a/sd/source/ui/inc/optsitem.hxx
+++ b/sd/source/ui/inc/optsitem.hxx
@@ -329,8 +329,8 @@ public:
sal_Bool IsPreviewChangedEffects() const { Init(); return bPreviewChangedEffects; }
sal_Bool IsPreviewTransitions() const { Init(); return bPreviewTransitions; }
- sal_Int32 GetDisplay() const { Init(); return mnDisplay; }
- void SetDisplay( sal_Int32 nDisplay = 0 ) { if( mnDisplay != nDisplay ) { OptionsChanged(); mnDisplay = nDisplay; } }
+ sal_Int32 GetDisplay() const;
+ void SetDisplay( sal_Int32 nDisplay = 0 );
sal_Int32 GetPresentationPenColor() const { Init(); return mnPenColor; }
void SetPresentationPenColor( sal_Int32 nPenColor ) { if( mnPenColor != nPenColor ) { OptionsChanged(); mnPenColor = nPenColor; } }