[ooo-build-commit] Branch 'ooo/OOO310' - svx/source

Jan Holesovsky kendy at kemper.freedesktop.org
Tue Aug 18 18:43:12 PDT 2009


 svx/source/unodraw/unoshap2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5bcdabbcceefb7a733861c22de5d9e1cd6253587
Author: Kurt Zenker <kz at openoffice.org>
Date:   Tue Aug 18 09:43:19 2009 +0000

    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

diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index 1b812fd..40e9c64 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;


More information about the ooo-build-commit mailing list