summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/import-tests.cxx2
-rw-r--r--sd/source/core/CustomAnimationEffect.cxx2
-rw-r--r--sd/source/ui/view/OutlinerIterator.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index d1960223a1b9..25e19d9c7cc2 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -2970,7 +2970,7 @@ void SdImportTest::testOOXTheme()
bTheme = true;
uno::Reference<xml::dom::XDocument> aThemeDom;
CPPUNIT_ASSERT(prop.Value >>= aThemeDom); // PropertyValue of proper type
- CPPUNIT_ASSERT(aThemeDom.get()); // Reference not empty
+ CPPUNIT_ASSERT(aThemeDom); // Reference not empty
}
}
CPPUNIT_ASSERT(bTheme); // Grab Bag has all the expected elements
diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx
index 1c6456d60c76..d01e46262c70 100644
--- a/sd/source/core/CustomAnimationEffect.cxx
+++ b/sd/source/core/CustomAnimationEffect.cxx
@@ -1718,7 +1718,7 @@ CustomAnimationEffectPtr EffectSequenceHelper::append( const CustomAnimationPres
}
}
- DBG_ASSERT( pEffect.get(), "sd::EffectSequenceHelper::append(), failed!" );
+ DBG_ASSERT( pEffect, "sd::EffectSequenceHelper::append(), failed!" );
return pEffect;
}
diff --git a/sd/source/ui/view/OutlinerIterator.cxx b/sd/source/ui/view/OutlinerIterator.cxx
index 9629774072fc..c37c737023a8 100644
--- a/sd/source/ui/view/OutlinerIterator.cxx
+++ b/sd/source/ui/view/OutlinerIterator.cxx
@@ -173,7 +173,7 @@ Iterator OutlinerContainer::CreateSelectionIterator (
bool bDirectionIsForward,
IteratorLocation aLocation)
{
- OSL_ASSERT(rpViewShell.get());
+ OSL_ASSERT(rpViewShell);
sal_Int32 nObjectIndex;
@@ -212,7 +212,7 @@ Iterator OutlinerContainer::CreateDocumentIterator (
bool bDirectionIsForward,
IteratorLocation aLocation)
{
- OSL_ASSERT(rpViewShell.get());
+ OSL_ASSERT(rpViewShell);
PageKind ePageKind;
EditMode eEditMode;