Kaydet (Commit) d122fd76 authored tarafından Michael Meeks's avatar Michael Meeks

de-inline display fetch/set functions to assist in debugging

üst 85863c13
...@@ -1586,4 +1586,19 @@ void SdOptions::StoreConfig( sal_uLong nOptionsRange ) ...@@ -1586,4 +1586,19 @@ void SdOptions::StoreConfig( sal_uLong nOptionsRange )
SdOptionsPrint::Store(); 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: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -329,8 +329,8 @@ public: ...@@ -329,8 +329,8 @@ public:
sal_Bool IsPreviewChangedEffects() const { Init(); return bPreviewChangedEffects; } sal_Bool IsPreviewChangedEffects() const { Init(); return bPreviewChangedEffects; }
sal_Bool IsPreviewTransitions() const { Init(); return bPreviewTransitions; } sal_Bool IsPreviewTransitions() const { Init(); return bPreviewTransitions; }
sal_Int32 GetDisplay() const { Init(); return mnDisplay; } sal_Int32 GetDisplay() const;
void SetDisplay( sal_Int32 nDisplay = 0 ) { if( mnDisplay != nDisplay ) { OptionsChanged(); mnDisplay = nDisplay; } } void SetDisplay( sal_Int32 nDisplay = 0 );
sal_Int32 GetPresentationPenColor() const { Init(); return mnPenColor; } sal_Int32 GetPresentationPenColor() const { Init(); return mnPenColor; }
void SetPresentationPenColor( sal_Int32 nPenColor ) { if( mnPenColor != nPenColor ) { OptionsChanged(); mnPenColor = nPenColor; } } void SetPresentationPenColor( sal_Int32 nPenColor ) { if( mnPenColor != nPenColor ) { OptionsChanged(); mnPenColor = nPenColor; } }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment