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

Michael Meeks michael.meeks at collabora.com
Tue Feb 4 09:25:25 PST 2014


 sd/source/ui/dlg/PaneDockingWindow.cxx |    2 +-
 sd/source/ui/inc/PaneDockingWindow.hxx |    5 -----
 2 files changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 8c01b81e81bd0598932c32bd47e59a1029660dd4
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Tue Feb 4 18:17:11 2014 +0100

    fdo#74519 - don't drag around and use an uninitialized variable.
    
    Change-Id: I08b43a6658a600398b434a0c90e0e16863402b33

diff --git a/sd/source/ui/dlg/PaneDockingWindow.cxx b/sd/source/ui/dlg/PaneDockingWindow.cxx
index fb81691..9136af9 100644
--- a/sd/source/ui/dlg/PaneDockingWindow.cxx
+++ b/sd/source/ui/dlg/PaneDockingWindow.cxx
@@ -109,7 +109,7 @@ void PaneDockingWindow::SetValidSizeRange (const Range aValidSizeRange)
         // to compensate the valid size range for that.
         const SvBorder aBorder (GetDecorationBorder());
         sal_Int32 nCompensation (pSplitWindow->IsHorizontal()
-            ? mnTitleBarHeight + aBorder.Top() + aBorder.Bottom()
+            ? aBorder.Top() + aBorder.Bottom()
             : aBorder.Left() + aBorder.Right());
         pSplitWindow->SetItemSizeRange(
             nSetId,
diff --git a/sd/source/ui/inc/PaneDockingWindow.hxx b/sd/source/ui/inc/PaneDockingWindow.hxx
index befb746..9ca5ab2 100644
--- a/sd/source/ui/inc/PaneDockingWindow.hxx
+++ b/sd/source/ui/inc/PaneDockingWindow.hxx
@@ -69,11 +69,6 @@ public:
         Otherwise UnknownOrientation is returned.
     */
     Orientation GetOrientation (void) const;
-
-    /** The current height of the title bar.
-    */
-    sal_Int32 mnTitleBarHeight;
-
 };
 
 } // end of namespace ::sd


More information about the Libreoffice-commits mailing list