From 5bcdabbcceefb7a733861c22de5d9e1cd6253587 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Tue, 18 Aug 2009 09:43:19 +0000 Subject: 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 --- svx/source/unodraw/unoshap2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source') 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; -- cgit v1.2.1