summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/view/SlsLayouter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slidesorter/view/SlsLayouter.cxx')
-rw-r--r--sd/source/ui/slidesorter/view/SlsLayouter.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sd/source/ui/slidesorter/view/SlsLayouter.cxx b/sd/source/ui/slidesorter/view/SlsLayouter.cxx
index fd85c1c61b9f..3d68dec61e4e 100644
--- a/sd/source/ui/slidesorter/view/SlsLayouter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsLayouter.cxx
@@ -29,7 +29,7 @@ namespace sd { namespace slidesorter { namespace view {
class Layouter::Implementation
{
public:
- SharedSdWindow mpWindow;
+ VclPtr<sd::Window> mpWindow;
sal_Int32 mnRequestedLeftBorder;
sal_Int32 mnRequestedRightBorder;
sal_Int32 mnRequestedTopBorder;
@@ -200,7 +200,7 @@ public:
protected:
Implementation (
- const SharedSdWindow& rpWindow,
+ sd::Window *pWindow,
const ::boost::shared_ptr<view::Theme>& rpTheme);
Implementation (const Implementation& rImplementation);
@@ -271,7 +271,7 @@ class GridImplementation : public Layouter::Implementation
{
public:
GridImplementation (
- const SharedSdWindow& rpWindow,
+ sd::Window *pWindow,
const ::boost::shared_ptr<view::Theme>& rpTheme);
GridImplementation (const Implementation& rImplementation);
@@ -292,10 +292,10 @@ protected:
//===== Layouter ==============================================================
Layouter::Layouter (
- const SharedSdWindow& rpWindow,
+ sd::Window *pWindow,
const ::boost::shared_ptr<Theme>& rpTheme)
- : mpImplementation(new GridImplementation(rpWindow, rpTheme)),
- mpWindow(rpWindow)
+ : mpImplementation(new GridImplementation(pWindow, rpTheme)),
+ mpWindow(pWindow)
{
}
@@ -427,9 +427,9 @@ Layouter::Implementation* Layouter::Implementation::Create (
}
Layouter::Implementation::Implementation (
- const SharedSdWindow& rpWindow,
+ sd::Window *pWindow,
const ::boost::shared_ptr<view::Theme>& rpTheme)
- : mpWindow(rpWindow),
+ : mpWindow(pWindow),
mnRequestedLeftBorder(5),
mnRequestedRightBorder(5),
mnRequestedTopBorder(5),
@@ -1102,9 +1102,9 @@ void VerticalImplementation::CalculateLogicalInsertPosition (
//===== GridImplementation ================================================
GridImplementation::GridImplementation (
- const SharedSdWindow& rpWindow,
+ sd::Window *pWindow,
const ::boost::shared_ptr<view::Theme>& rpTheme)
- : Implementation(rpWindow, rpTheme)
+ : Implementation(pWindow, rpTheme)
{
}