summaryrefslogtreecommitdiff
path: root/editeng/source/items/frmitems.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/items/frmitems.cxx')
-rw-r--r--editeng/source/items/frmitems.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index ac78520bdaa8..0d49c25681b6 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -2992,7 +2992,7 @@ bool SvxBrushItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
aGraphic = Graphic(xGraphic);
}
- if (aGraphic)
+ if (!aGraphic.IsNone())
{
maStrLink.clear();
@@ -3001,11 +3001,11 @@ bool SvxBrushItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
ApplyGraphicTransparency_Impl();
xOldGrfObj.reset();
- if (aGraphic && eGraphicPos == GPOS_NONE)
+ if (!aGraphic.IsNone() && eGraphicPos == GPOS_NONE)
{
eGraphicPos = GPOS_MM;
}
- else if (!aGraphic)
+ else if (aGraphic.IsNone())
{
eGraphicPos = GPOS_NONE;
}