[Libreoffice-commits] .: Branch 'libreoffice-3-4' - oox/source

Katarina Machalkova bubli at kemper.freedesktop.org
Wed May 4 05:06:16 PDT 2011


 oox/source/export/shapes.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3f2c70f6b314b329fe2a3d58a034354cd0fee32b
Author: Katarina Machalkova <kmachalkova at suse.cz>
Date:   Wed May 4 13:49:31 2011 +0200

    Copy&pasting is considered harmful
    (cherry picked from commit 930824ebb65245e7f6630888379bb71438e63cf2)

diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index 2d121dc..8758e0c 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -428,7 +428,7 @@ sal_Bool ShapeExport::NonEmptyText( Reference< XShape > xShape )
                 }
             }
 
-            if ( xPropSetInfo->hasPropertyByName( S( "IsEmptyPresentationObject" ) ) )
+            if ( xPropSetInfo->hasPropertyByName( S( "IsPresentationObject" ) ) )
             {
                 sal_Bool bIsPresObj = sal_False;
                 if ( xPropSet->getPropertyValue( S( "IsPresentationObject" ) ) >>= bIsPresObj )


More information about the Libreoffice-commits mailing list