summaryrefslogtreecommitdiff
path: root/xmloff/source/style/PageMasterImportPropMapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/PageMasterImportPropMapper.cxx')
-rw-r--r--xmloff/source/style/PageMasterImportPropMapper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/PageMasterImportPropMapper.cxx b/xmloff/source/style/PageMasterImportPropMapper.cxx
index 422a7b5de18b..beff02ecc549 100644
--- a/xmloff/source/style/PageMasterImportPropMapper.cxx
+++ b/xmloff/source/style/PageMasterImportPropMapper.cxx
@@ -380,15 +380,15 @@ void PageMasterImportPropertyMapper::finished(std::vector< XMLPropertyState >& r
for (sal_uInt16 i = 0; i < 4; i++)
{
- if (pNewMargins[i].get())
+ if (pNewMargins[i])
{
rProperties.push_back(*pNewMargins[i]);
}
- if (pNewHeaderMargins[i].get())
+ if (pNewHeaderMargins[i])
{
rProperties.push_back(*pNewHeaderMargins[i]);
}
- if (pNewFooterMargins[i].get())
+ if (pNewFooterMargins[i])
{
rProperties.push_back(*pNewFooterMargins[i]);
}