summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/window/syswin.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index 080d72a33b99..1feffa97d80c 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -642,9 +642,10 @@ void SystemWindow::SetWindowStateData( const WindowStateData& rData )
aState.mnHeight = rData.GetHeight();
if ( (aState.mnMask & SAL_FRAME_POSSIZE_X) &&
- (aState.mnMask & SAL_FRAME_POSSIZE_Y) &&
- (aState.mnMask & SAL_FRAME_POSSIZE_WIDTH) &&
- (aState.mnMask & SAL_FRAME_POSSIZE_HEIGHT) ) {
+ (aState.mnMask & SAL_FRAME_POSSIZE_Y) &&
+ (aState.mnMask & SAL_FRAME_POSSIZE_WIDTH) &&
+ (aState.mnMask & SAL_FRAME_POSSIZE_HEIGHT) )
+ {
mbInitialLayoutDone = true;
}
@@ -1107,7 +1108,8 @@ void SystemWindow::DoInitialLayout()
if (isLayoutEnabled())
{
- if (!mbInitialLayoutDone) {
+ if (!mbInitialLayoutDone)
+ {
mbIsCalculatingInitialLayoutSize = true;
setDeferredProperties();
setOptimalLayoutSize();