summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshap2.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-08-18 09:43:19 +0000
committerKurt Zenker <kz@openoffice.org>2009-08-18 09:43:19 +0000
commit5bcdabbcceefb7a733861c22de5d9e1cd6253587 (patch)
tree72e394a8580b6eca1c7f6d0d4287ead87c3cbbe6 /svx/source/unodraw/unoshap2.cxx
parente90e8b6d4fbec2af89f387c38299b7e21514b99e (diff)
CWS-TOOLING: integrate CWS swapfix01
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
Diffstat (limited to 'svx/source/unodraw/unoshap2.cxx')
-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 1b812fd25e..40e9c648dd 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -1833,7 +1833,7 @@ bool SvxGraphicObject::getPropertyValueImpl( const SfxItemPropertyMap* pProperty
}
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;