Kaydet (Commit) 8c01b81e authored tarafından Michael Meeks's avatar Michael Meeks

fdo#74519 - don't drag around and use an uninitialized variable.

Change-Id: I08b43a6658a600398b434a0c90e0e16863402b33
üst 9c15f4e4
......@@ -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,
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment