[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sd/source
Michael Meeks
michael.meeks at collabora.com
Tue Feb 4 09:32:57 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 5e3437c5c12166bb0be40c985db85f6e639a9d61
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
Reviewed-on: https://gerrit.libreoffice.org/7856
Reviewed-by: Ahmad Harthi <aalharthi at kacst.edu.sa>
Tested-by: Ahmad Harthi <aalharthi at kacst.edu.sa>
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