diff options
Diffstat (limited to 'sd/source/ui/unoidl/DrawController.cxx')
-rw-r--r-- | sd/source/ui/unoidl/DrawController.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx index 97305d9183c8..915c804ff91e 100644 --- a/sd/source/ui/unoidl/DrawController.cxx +++ b/sd/source/ui/unoidl/DrawController.cxx @@ -669,7 +669,7 @@ uno::Reference< form::runtime::XFormController > SAL_CALL DrawController::getFor std::shared_ptr<ViewShell> pViewShell = mpBase->GetMainViewShell(); ::sd::Window* pWindow = pViewShell ? pViewShell->GetActiveWindow() : nullptr; - uno::Reference< form::runtime::XFormController > xController( nullptr ); + uno::Reference< form::runtime::XFormController > xController; if ( pFormShell && pSdrView && pWindow ) xController = FmFormShell::GetFormController( Form, *pSdrView, *pWindow ); return xController; @@ -706,7 +706,7 @@ uno::Reference< awt::XControl > SAL_CALL DrawController::getControl( const uno:: std::shared_ptr<ViewShell> pViewShell = mpBase->GetMainViewShell(); ::sd::Window* pWindow = pViewShell ? pViewShell->GetActiveWindow() : nullptr; - uno::Reference< awt::XControl > xControl( nullptr ); + uno::Reference< awt::XControl > xControl; if ( pFormShell && pSdrView && pWindow ) pFormShell->GetFormControl( xModel, *pSdrView, *pWindow, xControl ); return xControl; |