summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/textparagraph.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/textparagraph.cxx')
-rw-r--r--oox/source/drawingml/textparagraph.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/textparagraph.cxx b/oox/source/drawingml/textparagraph.cxx
index 46bb5b5a38bc..098bf102900a 100644
--- a/oox/source/drawingml/textparagraph.cxx
+++ b/oox/source/drawingml/textparagraph.cxx
@@ -52,7 +52,7 @@ TextCharacterProperties TextParagraph::getCharacterStyle (
TextParagraphPropertiesPtr pTextParagraphStyle = getParagraphStyle(rTextListStyle);
TextCharacterProperties aTextCharacterStyle;
- if (pTextParagraphStyle.get())
+ if (pTextParagraphStyle)
aTextCharacterStyle.assignUsed(pTextParagraphStyle->getTextCharacterProperties());
aTextCharacterStyle.assignUsed(rTextStyleProperties);
aTextCharacterStyle.assignUsed(maProperties.getTextCharacterProperties());
@@ -127,7 +127,7 @@ void TextParagraph::insertAt(
Reference< XPropertySet > xProps( xAt, UNO_QUERY);
TextParagraphPropertiesPtr pTextParagraphStyle = getParagraphStyle(rTextListStyle);
- if ( pTextParagraphStyle.get() )
+ if ( pTextParagraphStyle )
{
TextParagraphProperties aParaProp;
aParaProp.apply( *pTextParagraphStyle );