diff options
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterPaneFactory.cxx | 2 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterSlidePreview.cxx | 6 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterSlideSorter.cxx | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/sdext/source/presenter/PresenterPaneFactory.cxx b/sdext/source/presenter/PresenterPaneFactory.cxx index ed8a376b08af..c0d928b66739 100644 --- a/sdext/source/presenter/PresenterPaneFactory.cxx +++ b/sdext/source/presenter/PresenterPaneFactory.cxx @@ -96,7 +96,7 @@ void PresenterPaneFactory::Register (const Reference<frame::XController>& rxCont else { xCC->addResourceFactory( - OUString("private:resource/pane/Presenter/*"), + "private:resource/pane/Presenter/*", this); } } diff --git a/sdext/source/presenter/PresenterSlidePreview.cxx b/sdext/source/presenter/PresenterSlidePreview.cxx index d95c582ed852..4a610d3075aa 100644 --- a/sdext/source/presenter/PresenterSlidePreview.cxx +++ b/sdext/source/presenter/PresenterSlidePreview.cxx @@ -229,10 +229,8 @@ void PresenterSlidePreview::SetSlide (const Reference<drawing::XDrawPage>& rxPag awt::Size aSlideSize; try { - xPropertySet->getPropertyValue( - OUString("Width")) >>= aSlideSize.Width; - xPropertySet->getPropertyValue( - OUString("Height")) >>= aSlideSize.Height; + xPropertySet->getPropertyValue("Width") >>= aSlideSize.Width; + xPropertySet->getPropertyValue("Height") >>= aSlideSize.Height; } catch (beans::UnknownPropertyException&) { diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx index ba534a88e543..59032ad2b178 100644 --- a/sdext/source/presenter/PresenterSlideSorter.cxx +++ b/sdext/source/presenter/PresenterSlideSorter.cxx @@ -351,7 +351,7 @@ PresenterSlideSorter::PresenterSlideSorter ( // Listen for changes of the current slide. Reference<beans::XPropertySet> xControllerProperties (rxController, UNO_QUERY_THROW); xControllerProperties->addPropertyChangeListener( - OUString("CurrentPage"), + "CurrentPage", this); // Move the current slide in the center of the window. |