summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/dlg/PaneDockingWindow.cxx2
-rw-r--r--sd/source/ui/inc/PaneDockingWindow.hxx5
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 7975225061de..5a8fc8d2db41 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