summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/TableData.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-08 12:36:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-05-10 12:02:44 +0200
commit366d08f2f6d4de922f6099c62bb81b49d89e0a68 (patch)
treeb232884af6e844c2f0994859e4b42efbc1ce654c /writerfilter/source/dmapper/TableData.hxx
parent75a2257a5bd716a9f937abe5e53f305c983afd5d (diff)
new loplugin:simplifypointertobool
Change-Id: Iff68e8f379614a6ab6a6e0d1bad18e70bc76d76a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91907 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/dmapper/TableData.hxx')
-rw-r--r--writerfilter/source/dmapper/TableData.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/writerfilter/source/dmapper/TableData.hxx b/writerfilter/source/dmapper/TableData.hxx
index 16be82444505..3140a00d71aa 100644
--- a/writerfilter/source/dmapper/TableData.hxx
+++ b/writerfilter/source/dmapper/TableData.hxx
@@ -75,7 +75,7 @@ public:
*/
void insertProperties(TablePropertyMapPtr pProps)
{
- if( mpProps.get() )
+ if( mpProps )
mpProps->InsertProps(pProps.get());
else
mpProps = pProps;
@@ -164,9 +164,9 @@ public:
*/
void insertProperties(TablePropertyMapPtr pProperties)
{
- if( pProperties.get() )
+ if( pProperties )
{
- if( !mpProperties.get() )
+ if( !mpProperties )
mpProperties = pProperties;
else
mpProperties->InsertProps(pProperties.get());