summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlatr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmlatr.cxx')
-rw-r--r--sw/source/filter/html/htmlatr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx
index 3cc9826e2785..836e7db42cfa 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -560,14 +560,14 @@ static void OutHTML_SwFormat( Writer& rWrt, const SwFormat& rFormat,
// If necessary, take the hard attribute from the style
if( pFormatInfo->pItemSet )
{
- OSL_ENSURE( !rInfo.pItemSet.get(), "Where does this ItemSet come from?" );
+ OSL_ENSURE(!rInfo.pItemSet, "Where does this ItemSet come from?");
rInfo.pItemSet.reset(new SfxItemSet( *pFormatInfo->pItemSet ));
}
// additionally, add the hard attribute from the paragraph
if( pNodeItemSet )
{
- if( rInfo.pItemSet.get() )
+ if (rInfo.pItemSet)
rInfo.pItemSet->Put( *pNodeItemSet );
else
rInfo.pItemSet.reset(new SfxItemSet( *pNodeItemSet ));
@@ -591,7 +591,7 @@ static void OutHTML_SwFormat( Writer& rWrt, const SwFormat& rFormat,
else
aULSpaceItem.SetUpper( rHWrt.m_nHeaderFooterSpace );
- if (!rInfo.pItemSet.get())
+ if (!rInfo.pItemSet)
{
rInfo.pItemSet.reset(new SfxItemSet(*rFormat.GetAttrSet().GetPool(), svl::Items<RES_UL_SPACE, RES_UL_SPACE>{}));
}