summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/PageBordersHandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/dmapper/PageBordersHandler.cxx')
-rw-r--r--writerfilter/source/dmapper/PageBordersHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/PageBordersHandler.cxx b/writerfilter/source/dmapper/PageBordersHandler.cxx
index 7f97faf320ee..d6a0fdd1f502 100644
--- a/writerfilter/source/dmapper/PageBordersHandler.cxx
+++ b/writerfilter/source/dmapper/PageBordersHandler.cxx
@@ -92,7 +92,7 @@ void PageBordersHandler::lcl_sprm( Sprm& rSprm )
case NS_ooxml::LN_CT_PageBorders_right:
{
writerfilter::Reference<Properties>::Pointer_t pProperties = rSprm.getProps();
- if( pProperties.get())
+ if( pProperties )
{
auto pBorderHandler = std::make_shared<BorderHandler>( true );
pProperties->resolve(*pBorderHandler);