diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-12-08 19:41:50 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-12-08 19:45:40 +0000 |
commit | d122fd76eb450a423503c97916edfeb0cb69a42a (patch) | |
tree | e218f73cd76107af4da268151212d4dc859b03e6 /sd | |
parent | 85863c130ae9327f83d819c45a3a9c3de399cd1e (diff) |
de-inline display fetch/set functions to assist in debugging
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/app/optsitem.cxx | 15 | ||||
-rw-r--r-- | sd/source/ui/inc/optsitem.hxx | 4 |
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; } } |