diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-18 15:12:02 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-18 15:55:01 +0900 |
commit | 12443d117c1289210aad08f92bf21594e9a632aa (patch) | |
tree | 805dc15459e78b0c8e9ccec281a70b3e65e38393 /vcl/source/window | |
parent | 110bd0729460da3c71d06e9cff7da3e80e061adb (diff) |
small cleanup of SystemWindow
Change-Id: I4bced5e8d97cd72a75c7d62e5ad0bfee9eb60097
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/syswin.cxx | 8 |
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(); } } |