[Libreoffice-commits] core.git: dbaccess/source

Caolán McNamara caolanm at redhat.com
Mon Jul 18 14:57:16 UTC 2016


 dbaccess/source/ui/control/VertSplitView.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ff4ce0796681c37822df5b5c5e4fbaeb09b37352
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Jul 18 15:56:02 2016 +0100

    Resolves: tdf#100964 singlevalfields cleanup took wrong branch
    
    regression since
    
    commit 22864b44fd00b5a778ef597f8dfcb407d4166306
    Date:   Fri Jun 24 12:57:04 2016 +0200
    
        loplugin:singlevalfields in dbaccess
    
    Change-Id: Ie00bb7a8c2bc268dac876ff21657c987406dac7d

diff --git a/dbaccess/source/ui/control/VertSplitView.cxx b/dbaccess/source/ui/control/VertSplitView.cxx
index 4b79daa..8425a28 100644
--- a/dbaccess/source/ui/control/VertSplitView.cxx
+++ b/dbaccess/source/ui/control/VertSplitView.cxx
@@ -139,8 +139,8 @@ void OSplitterView::Resize()
 
     if ( m_pRight )
     {
-        m_pRight->setPosSizePixel( aSplitPos.X() + aSplitSize.Width(), aPlaygroundPos.Y(),
-                              aPlaygroundSize.Width() - aSplitSize.Width() - aSplitPos.X(), aPlaygroundSize.Height());
+        m_pRight->setPosSizePixel( aSplitPos.X(), aPlaygroundPos.Y() + aSplitPos.Y() + aSplitSize.Height(),
+                               aPlaygroundSize.Width() , aPlaygroundSize.Height() - aSplitSize.Height() - aSplitPos.Y());
     }
 
 }


More information about the Libreoffice-commits mailing list