summaryrefslogtreecommitdiff
path: root/svx
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
commit3f8ef3cea01c13d38a479edbfae9999a165ddd47 (patch)
treef8d4da5598d8c3e5103b2b5fb2e297d3632df5ff /svx
parent2957f2456e5dc6ad075655ad5a25c3aaae858d29 (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
Diffstat (limited to 'svx')
-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 27a382694042..d6d0913c4070 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;