summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-17 13:14:50 +0200
committerNoel Grandin <noel@peralex.com>2016-02-23 08:08:56 +0200
commitc45d3badc96481db093560b94d8bf51ead6bd17c (patch)
tree4bb6c9220678a12b327e46ca2acd01e77fc8e2c4 /UnoControls
parent003d0ccf902d2449320dd24119564565a384f365 (diff)
new loplugin: commaoperator
Change-Id: I03f24e61f696b7619855e3c7010aa0d874e5a4ff
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/source/base/basecontrol.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx
index d4ce1532c18d..f689ed202ed5 100644
--- a/UnoControls/source/base/basecontrol.cxx
+++ b/UnoControls/source/base/basecontrol.cxx
@@ -397,22 +397,26 @@ void SAL_CALL BaseControl::setPosSize( sal_Int32 nX ,
if ( nFlags & PosSize::X )
{
- bChanged |= m_nX != nX, m_nX = nX;
+ bChanged |= m_nX != nX;
+ m_nX = nX;
}
if ( nFlags & PosSize::Y )
{
- bChanged |= m_nY != nY, m_nY = nY;
+ bChanged |= m_nY != nY;
+ m_nY = nY;
}
if ( nFlags & PosSize::WIDTH )
{
- bChanged |= m_nWidth != nWidth, m_nWidth = nWidth;
+ bChanged |= m_nWidth != nWidth;
+ m_nWidth = nWidth;
}
if ( nFlags & PosSize::HEIGHT )
{
- bChanged |= m_nHeight != nHeight, m_nHeight = nHeight;
+ bChanged |= m_nHeight != nHeight;
+ m_nHeight = nHeight;
}
if ( bChanged && m_xPeerWindow.is() )