diff options
Diffstat (limited to 'sdext/source/presenter/PresenterProtocolHandler.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterProtocolHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterProtocolHandler.cxx b/sdext/source/presenter/PresenterProtocolHandler.cxx index 9ea7790ce6eb..cb8cb6db2d27 100644 --- a/sdext/source/presenter/PresenterProtocolHandler.cxx +++ b/sdext/source/presenter/PresenterProtocolHandler.cxx @@ -706,13 +706,13 @@ NotesFontSizeCommand::NotesFontSizeCommand( ::rtl::Reference<PresenterNotesView> NotesFontSizeCommand::GetNotesView() const { - if (mpPresenterController.get() == nullptr) + if (!mpPresenterController) return nullptr; PresenterPaneContainer::SharedPaneDescriptor pDescriptor ( mpPresenterController->GetPaneContainer()->FindViewURL( PresenterViewFactory::msNotesViewURL)); - if (pDescriptor.get() == nullptr) + if (!pDescriptor) return nullptr; return dynamic_cast<PresenterNotesView*>(pDescriptor->mxView.get()); |