summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterPaneBorderManager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterPaneBorderManager.cxx')
-rw-r--r--sdext/source/presenter/PresenterPaneBorderManager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterPaneBorderManager.cxx b/sdext/source/presenter/PresenterPaneBorderManager.cxx
index e29be336aa26..414971758c29 100644
--- a/sdext/source/presenter/PresenterPaneBorderManager.cxx
+++ b/sdext/source/presenter/PresenterPaneBorderManager.cxx
@@ -82,7 +82,7 @@ PresenterPaneBorderManager::PresenterPaneBorderManager (
{
mxPointer = awt::Pointer::create(rxContext);
- mxPresenterHelper = Reference<drawing::XPresenterHelper>(
+ mxPresenterHelper.set(
xFactory->createInstanceWithContext(
"com.sun.star.comp.Draw.PresenterHelper",
rxContext),
@@ -216,7 +216,7 @@ void SAL_CALL PresenterPaneBorderManager::initialize (const Sequence<Any>& rArgu
{
try
{
- mxParentWindow = Reference<awt::XWindow>(rArguments[0], UNO_QUERY_THROW);
+ mxParentWindow.set(rArguments[0], UNO_QUERY_THROW);
// Get the outer and inner windows from the argument list and
// build a window list of it.