summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterController.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterController.cxx')
-rw-r--r--sdext/source/presenter/PresenterController.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx
index 6b348dd40b76..dd00b3955e64 100644
--- a/sdext/source/presenter/PresenterController.cxx
+++ b/sdext/source/presenter/PresenterController.cxx
@@ -364,7 +364,7 @@ void PresenterController::UpdatePaneTitles()
PresenterPaneContainer::PaneList::const_iterator iPane;
for (iPane=mpPaneContainer->maPanes.begin(); iPane!=mpPaneContainer->maPanes.end(); ++iPane)
{
- OSL_ASSERT((*iPane).get() != nullptr);
+ OSL_ASSERT(*iPane != nullptr);
OUString sTemplate (IsAccessibilityActive()
? (*iPane)->msAccessibleTitleTemplate
@@ -427,7 +427,7 @@ void PresenterController::UpdateViews()
SharedBitmapDescriptor
PresenterController::GetViewBackground (const OUString& rsViewURL) const
{
- if (mpTheme.get() != nullptr)
+ if (mpTheme != nullptr)
{
const OUString sStyleName (mpTheme->GetStyleName(rsViewURL));
return mpTheme->GetBitmap(sStyleName, "Background");
@@ -438,7 +438,7 @@ SharedBitmapDescriptor
PresenterTheme::SharedFontDescriptor
PresenterController::GetViewFont (const OUString& rsViewURL) const
{
- if (mpTheme.get() != nullptr)
+ if (mpTheme != nullptr)
{
const OUString sStyleName (mpTheme->GetStyleName(rsViewURL));
return mpTheme->GetFont(sStyleName);
@@ -1150,7 +1150,7 @@ void PresenterController::UpdatePendingSlideNumber (const sal_Int32 nPendingSlid
{
mnPendingSlideNumber = nPendingSlideNumber;
- if (mpTheme.get() == nullptr)
+ if (mpTheme == nullptr)
return;
if ( ! mxMainWindow.is())