summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx')
-rwxr-xr-x[-rw-r--r--]sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
index b928eeb9f4ce..5ee7f6f58b82 100644..100755
--- a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
@@ -219,26 +219,6 @@ void ScrollBarManager::PlaceFiller (const Rectangle& aArea)
-void ScrollBarManager::AdaptWindowSize (const Rectangle& rArea)
-{
- Size aPixelContentSize (mpContentWindow->LogicToPixel(
- mrSlideSorter.GetView().GetLayouter().GetPageBox (
- mrSlideSorter.GetModel().GetPageCount()).GetSize()));
- int nHeightDifference = aPixelContentSize.Height() - rArea.GetHeight();
- ::Window* pParentWindow = mpContentWindow->GetParent();
- Size aNewWindowSize (pParentWindow->GetSizePixel());
- if (nHeightDifference != 0)
- {
- aNewWindowSize.Height() += nHeightDifference;
- pParentWindow->SetPosSizePixel(
- pParentWindow->GetPosPixel(),
- aNewWindowSize);
- }
-}
-
-
-
-
void ScrollBarManager::UpdateScrollBars (bool bResetThumbPosition, bool bUseScrolling)
{
Rectangle aModelArea (mrSlideSorter.GetView().GetModelArea());