diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-02-04 18:17:11 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-02-04 18:24:42 +0100 |
commit | 8c01b81e81bd0598932c32bd47e59a1029660dd4 (patch) | |
tree | 33b4f9ab36d08a4232ea16b2f0f64bf62248bdf0 /sd/source | |
parent | 9c15f4e48485706fb48ffee0d26f2f6f0f5ca957 (diff) |
fdo#74519 - don't drag around and use an uninitialized variable.
Change-Id: I08b43a6658a600398b434a0c90e0e16863402b33
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/dlg/PaneDockingWindow.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/PaneDockingWindow.hxx | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/sd/source/ui/dlg/PaneDockingWindow.cxx b/sd/source/ui/dlg/PaneDockingWindow.cxx index fb8169102d32..9136af906e1f 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 befb74683886..9ca5ab2549bf 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 |