Kaydet (Commit) e3a9c7d0 authored tarafından Chris Sherlock's avatar Chris Sherlock

vcl: pImplSVData->maAppData.mnDefaultLayoutBorder is never used, get rid of it

Change-Id: I417e84b2c797ec2c43fb232f4a8412488b6d3ab4
üst 9101ccfa
...@@ -139,8 +139,6 @@ struct ImplSVAppData ...@@ -139,8 +139,6 @@ struct ImplSVAppData
bool mbNoYield; // Application::Yield will not wait for events if the queue is empty bool mbNoYield; // Application::Yield will not wait for events if the queue is empty
// essentially that makes it the same as Application::Reschedule // essentially that makes it the same as Application::Reschedule
Application::DialogCancelMode meDialogCancel; // true: All Dialog::Execute() calls will be terminated immediately with return false Application::DialogCancelMode meDialogCancel; // true: All Dialog::Execute() calls will be terminated immediately with return false
long mnDefaultLayoutBorder; // default value in pixel for layout distances used
// in window arrangers
/** Controls whether showing any IME status window is toggled on or off. /** Controls whether showing any IME status window is toggled on or off.
......
...@@ -80,9 +80,6 @@ void ImplInitSVData() ...@@ -80,9 +80,6 @@ void ImplInitSVData()
memset( pImplSVData, 0, sizeof( ImplSVData ) ); memset( pImplSVData, 0, sizeof( ImplSVData ) );
pImplSVData->maHelpData.mbAutoHelpId = true; pImplSVData->maHelpData.mbAutoHelpId = true;
pImplSVData->maNWFData.maMenuBarHighlightTextColor = Color( COL_TRANSPARENT ); pImplSVData->maNWFData.maMenuBarHighlightTextColor = Color( COL_TRANSPARENT );
// mark default layout border as unitialized
pImplSVData->maAppData.mnDefaultLayoutBorder = -1;
} }
void ImplDeInitSVData() void ImplDeInitSVData()
......
...@@ -153,8 +153,6 @@ void Window::ImplUpdateGlobalSettings( AllSettings& rSettings, bool bCallHdl ) ...@@ -153,8 +153,6 @@ void Window::ImplUpdateGlobalSettings( AllSettings& rSettings, bool bCallHdl )
aTmpSt.SetHighContrastMode( false ); aTmpSt.SetHighContrastMode( false );
rSettings.SetStyleSettings( aTmpSt ); rSettings.SetStyleSettings( aTmpSt );
ImplGetFrame()->UpdateSettings( rSettings ); ImplGetFrame()->UpdateSettings( rSettings );
// reset default border width for layouters
ImplGetSVData()->maAppData.mnDefaultLayoutBorder = -1;
// Verify availability of the configured UI font, otherwise choose "Andale Sans UI" // Verify availability of the configured UI font, otherwise choose "Andale Sans UI"
......
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