sd/source/ui/dlg/PaneDockingWindow.cxx | 2 +- sd/source/ui/inc/PaneDockingWindow.hxx | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-)
New commits: commit 7a3cac33e82a65cabae81e5bf8969c5c5853b3b2 Author: Michael Meeks <michael.me...@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/7857 Reviewed-by: Ahmad Harthi <aalhar...@kacst.edu.sa> Tested-by: Ahmad Harthi <aalhar...@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 7975225..5a8fc8d 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits