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) ...@@ -109,7 +109,7 @@ void PaneDockingWindow::SetValidSizeRange (const Range aValidSizeRange)
// to compensate the valid size range for that. // to compensate the valid size range for that.
const SvBorder aBorder (GetDecorationBorder()); const SvBorder aBorder (GetDecorationBorder());
sal_Int32 nCompensation (pSplitWindow->IsHorizontal() sal_Int32 nCompensation (pSplitWindow->IsHorizontal()
? mnTitleBarHeight + aBorder.Top() + aBorder.Bottom() ? aBorder.Top() + aBorder.Bottom()
: aBorder.Left() + aBorder.Right()); : aBorder.Left() + aBorder.Right());
pSplitWindow->SetItemSizeRange( pSplitWindow->SetItemSizeRange(
nSetId, nSetId,
......
...@@ -69,11 +69,6 @@ public: ...@@ -69,11 +69,6 @@ public:
Otherwise UnknownOrientation is returned. Otherwise UnknownOrientation is returned.
*/ */
Orientation GetOrientation (void) const; Orientation GetOrientation (void) const;
/** The current height of the title bar.
*/
sal_Int32 mnTitleBarHeight;
}; };
} // end of namespace ::sd } // 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