summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2009-08-27 15:29:51 +0000
committerVladimir Glazounov <vg@openoffice.org>2009-08-27 15:29:51 +0000
commit5599ec7083a3508acb6de3bf73734144cddcbd88 (patch)
treee9713502578c19063ba2a0bb1bc37740d10e2041
parent2f912f8339e7058bbd314195c29398b0b44a2abc (diff)
CWS-TOOLING: integrate CWS swapfix01_DEV300
2009-08-17 16:40:04 +0200 cl r275061 : #i104146# added patch flag for svx library 2009-08-17 15:48:01 +0200 cl r275059 : #i104146# force swap in of graphic to avoid getting the unique id from the preview graphic
-rw-r--r--svx/source/unodraw/unoshap2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index 88e4d0a16c..1d3b94ebe9 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -1834,7 +1834,7 @@ bool SvxGraphicObject::getPropertyValueImpl( const ::rtl::OUString& rName, const
}
else
{
- const GraphicObject& rGrafObj = static_cast< SdrGrafObj*>( mpObj.get() )->GetGraphicObject();
+ const GraphicObject& rGrafObj = static_cast< SdrGrafObj*>( mpObj.get() )->GetGraphicObject(true);
OUString aURL( RTL_CONSTASCII_USTRINGPARAM(UNO_NAME_GRAPHOBJ_URLPREFIX));
aURL += OUString::createFromAscii( rGrafObj.GetUniqueID().GetBuffer() );
rValue <<= aURL;