summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/PaneDockingWindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/PaneDockingWindow.cxx')
-rw-r--r--sd/source/ui/dlg/PaneDockingWindow.cxx2
1 files changed, 1 insertions, 1 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,