summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xlchart.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xlchart.cxx b/sc/source/filter/excel/xlchart.cxx
index b583c2df42ff..f1f8b287b5d4 100644
--- a/sc/source/filter/excel/xlchart.cxx
+++ b/sc/source/filter/excel/xlchart.cxx
@@ -1032,7 +1032,7 @@ void XclChPropSetHelper::WriteEscherProperties( ScfPropertySet& rPropSet,
if( const XFillBitmapItem* pBmpItem = rEscherFmt.mxItemSet->GetItem<XFillBitmapItem>( XATTR_FILLBITMAP, false ) )
{
uno::Any aBitmapAny;
- if( pBmpItem->QueryValue( aBitmapAny, MID_GRAFURL ) )
+ if (pBmpItem->QueryValue(aBitmapAny, MID_BITMAP))
{
OUString aBmpName = rBitmapTable.InsertObject( aBitmapAny );
if( !aBmpName.isEmpty() )