summaryrefslogtreecommitdiff
path: root/filter/source/msfilter/escherex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/msfilter/escherex.cxx')
-rw-r--r--filter/source/msfilter/escherex.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 8d4b055f6a24..e585b787b866 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -587,7 +587,7 @@ void EscherPropertyContainer::CreateFillProperties(
case drawing::FillStyle_BITMAP :
{
- CreateGraphicProperties( rXPropSet, "FillBitmapURL", true );
+ CreateGraphicProperties(rXPropSet, "FillBitmap", true);
AddOpt( ESCHER_Prop_fNoFillHitTest, 0x140014 );
AddOpt( ESCHER_Prop_fillBackColor, nFillBackColor );
}
@@ -1445,7 +1445,7 @@ bool EscherPropertyContainer::CreateGraphicProperties(const uno::Reference<beans
}
}
}
- else if ( rSource == "Bitmap" )
+ else if (rSource == "Bitmap" || rSource == "FillBitmap")
{
uno::Reference<awt::XBitmap> xBitmap(aAny, uno::UNO_QUERY);
if (xBitmap.is())
@@ -1461,10 +1461,6 @@ bool EscherPropertyContainer::CreateGraphicProperties(const uno::Reference<beans
}
}
}
- else if ( rSource == "FillBitmapURL" )
- {
- aGraphicUrl = *o3tl::doAccess<OUString>(aAny);
- }
else if ( rSource == "GraphicURL" )
{
aGraphicUrl = *o3tl::doAccess<OUString>(aAny);