sw/source/filter/ww8/rtfsdrexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8411534883e960a8404d24937f813eb20accecdd
Author: Michael Stahl <mst...@redhat.com>
Date:   Mon Feb 6 16:09:49 2012 +0100

    RtfSdrExport::StartShape: replace "75"

diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx 
b/sw/source/filter/ww8/rtfsdrexport.cxx
index f0c8d68..8d9644c 100644
--- a/sw/source/filter/ww8/rtfsdrexport.cxx
+++ b/sw/source/filter/ww8/rtfsdrexport.cxx
@@ -464,7 +464,7 @@ sal_Int32 RtfSdrExport::StartShape()
         return -1;
 
     m_aShapeProps.insert(std::pair<OString,OString>(OString("shapeType"), 
OString::valueOf(sal_Int32(m_nShapeType))));
-    if (m_nShapeType == 75)
+    if (ESCHER_ShpInst_PictureFrame == m_nShapeType)
         impl_writeGraphic();
 
     m_rAttrOutput.RunText().append('{').append(OOO_STRING_SVTOOLS_RTF_SHP);
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to