diff options
Diffstat (limited to 'sd/source/ui/dlg/PaneDockingWindow.cxx')
-rw-r--r-- | sd/source/ui/dlg/PaneDockingWindow.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/PaneDockingWindow.cxx b/sd/source/ui/dlg/PaneDockingWindow.cxx index 5363051f0b3e..9461c9326546 100644 --- a/sd/source/ui/dlg/PaneDockingWindow.cxx +++ b/sd/source/ui/dlg/PaneDockingWindow.cxx @@ -95,7 +95,7 @@ void PaneDockingWindow::MouseButtonDown (const MouseEvent& rEvent) SfxDockingWindow::MouseButtonDown(rEvent); } -void PaneDockingWindow::SetValidSizeRange (const Range aValidSizeRange) +void PaneDockingWindow::SetValidSizeRange (const Range& rValidSizeRange) { SplitWindow* pSplitWindow = dynamic_cast<SplitWindow*>(GetParent()); if (pSplitWindow != NULL) @@ -111,8 +111,8 @@ void PaneDockingWindow::SetValidSizeRange (const Range aValidSizeRange) pSplitWindow->SetItemSizeRange( nSetId, Range( - aValidSizeRange.Min() + nCompensation, - aValidSizeRange.Max() + nCompensation)); + rValidSizeRange.Min() + nCompensation, + rValidSizeRange.Max() + nCompensation)); } } |