diff options
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx index e1d42b161053..0cec638ac82c 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx @@ -436,7 +436,7 @@ Size SelectionManager::MakeRectangleVisible (const Rectangle& rBox) sal_Int32 nNewTop (aVisibleArea.Top()); sal_Int32 nNewLeft (aVisibleArea.Left()); - if (mrSlideSorter.GetView().GetOrientation() != SlideSorterView::HORIZONTAL) + if (mrSlideSorter.GetView().GetOrientation() != Layouter::HORIZONTAL) { // Scroll the visible area to make aSelectionBox visible. if (mrSlideSorter.GetProperties()->IsCenterSelection()) @@ -461,7 +461,7 @@ Size SelectionManager::MakeRectangleVisible (const Rectangle& rBox) } - if (mrSlideSorter.GetView().GetOrientation() != SlideSorterView::VERTICAL) + if (mrSlideSorter.GetView().GetOrientation() != Layouter::VERTICAL) { // Scroll the visible area to make aSelectionBox visible. if (mrSlideSorter.GetProperties()->IsCenterSelection()) @@ -547,7 +547,7 @@ bool SelectionManager::DoesSelectionExceedVisibleArea (const Rectangle& rSelecti Rectangle( Point(0,0), pWindow->GetOutputSizePixel()))); - if (mrSlideSorter.GetView().GetOrientation() == SlideSorterView::VERTICAL) + if (mrSlideSorter.GetView().GetOrientation() != Layouter::HORIZONTAL) return rSelectionBox.GetHeight() > aVisibleArea.GetHeight(); else return rSelectionBox.GetWidth() > aVisibleArea.GetWidth(); |