summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-03-03 09:43:26 +0200
committerTor Lillqvist <tml@collabora.com>2016-03-03 09:47:18 +0200
commit65de9aa744fd51ee3d90a400f8413ae2805520ce (patch)
treecee1e2ab4004b1045d9ed188d18b92f250b45a3b
parent999c68f12f1d95b16a97294949a0e6ba6d3ba259 (diff)
Follow our code layout style
Consistency is important. (I know that we are wildly inconsistent in many things, even inside individual source files. Like the spacing of the expression in an if statement. But putting an opening brace on a separate line is something we do quite consistently.) Change-Id: I7c50628653b94a4da0fc4dc8db8869a5f1a64527
-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();