summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/items/frmitems.cxx4
-rw-r--r--include/editeng/brushitem.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index 0621746e2f78..fae0be78ac8a 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -3939,7 +3939,7 @@ const GraphicObject* SvxBrushItem::GetGraphicObject(OUString const & referer) co
if( nRes != GRFILTER_OK )
{
- const_cast < SvxBrushItem*> (this)->bLoadAgain = false;
+ bLoadAgain = false;
}
else
{
@@ -3950,7 +3950,7 @@ const GraphicObject* SvxBrushItem::GetGraphicObject(OUString const & referer) co
}
else
{
- const_cast < SvxBrushItem*> (this)->bLoadAgain = false;
+ bLoadAgain = false;
}
}
diff --git a/include/editeng/brushitem.hxx b/include/editeng/brushitem.hxx
index fee7628e32f3..b529d318dcd9 100644
--- a/include/editeng/brushitem.hxx
+++ b/include/editeng/brushitem.hxx
@@ -53,7 +53,7 @@ class EDITENG_DLLPUBLIC SvxBrushItem : public SfxPoolItem
OUString maStrLink;
OUString maStrFilter;
SvxGraphicPosition eGraphicPos;
- bool bLoadAgain;
+ mutable bool bLoadAgain;
void ApplyGraphicTransparency_Impl();
DECL_STATIC_LINK( SvxBrushItem, DoneHdl_Impl, void *);