summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/syswin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index 1edd3b2940aa..d770ac3d49cd 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -282,18 +282,18 @@ void SystemWindow::SetIcon( sal_uInt16 nIcon )
}
}
-void SystemWindow::EnableSaveBackground( bool bSave )
+void SystemWindow::EnableSaveBackground(bool bSave)
{
if( ImplGetSVData()->maWinData.mbNoSaveBackground )
bSave = false;
vcl::Window* pWindow = this;
- while ( pWindow->mpWindowImpl->mpBorderWindow )
+ while (pWindow->mpWindowImpl->mpBorderWindow)
pWindow = pWindow->mpWindowImpl->mpBorderWindow;
- if ( pWindow->mpWindowImpl->mbOverlapWin && !pWindow->mpWindowImpl->mbFrame )
+ if (pWindow->mpWindowImpl->mbOverlapWin && !pWindow->mpWindowImpl->mbFrame)
{
pWindow->mpWindowImpl->mpOverlapData->mbSaveBack = bSave;
- if ( !bSave )
+ if (!bSave)
pWindow->ImplDeleteOverlapBackground();
}
}