incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r1172109 - /incubator/ooo/trunk/main/sw/source/filter/ww8/wrtw8sty.cxx
Date Sat, 17 Sep 2011 22:38:30 GMT
Author: mst
Date: Sat Sep 17 22:38:30 2011
New Revision: 1172109

URL: http://svn.apache.org/viewvc?rev=1172109&view=rev
Log:
imported patch i103878

# HG changeset patch
# User Henning Brinkmann <hbrinkm@openoffice.org>
# Date 1302182700 -7200
# Node ID 491b690eb471855aaff779bdc202e901d5e60f20
# Parent  713dcef8f169f411fe62b073dab24ca3dfc02a44

Modified:
    incubator/ooo/trunk/main/sw/source/filter/ww8/wrtw8sty.cxx

Modified: incubator/ooo/trunk/main/sw/source/filter/ww8/wrtw8sty.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/ww8/wrtw8sty.cxx?rev=1172109&r1=1172108&r2=1172109&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/ww8/wrtw8sty.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/ww8/wrtw8sty.cxx Sat Sep 17 22:38:30 2011
@@ -481,18 +481,8 @@ void WW8AttributeOutput::DefaultStyle( s
     {
         if ( m_rWW8Export.bWrtWW8 )
         {
-            static sal_uInt8 __READONLY_DATA aDefCharSty[] = {
-                0x42, 0x00,
-                0x41, 0x40, 0xF2, 0xFF, 0xA1, 0x00, 0x42, 0x00,
-                0x00, 0x00, 0x19, 0x00, 0x41, 0x00, 0x62, 0x00,
-                0x73, 0x00, 0x61, 0x00, 0x74, 0x00, 0x7A, 0x00,
-                0x2D, 0x00, 0x53, 0x00, 0x74, 0x00, 0x61, 0x00,
-                0x6E, 0x00, 0x64, 0x00, 0x61, 0x00, 0x72, 0x00,
-                0x64, 0x00, 0x73, 0x00, 0x63, 0x00, 0x68, 0x00,
-                0x72, 0x00, 0x69, 0x00, 0x66, 0x00, 0x74, 0x00,
-                0x61, 0x00, 0x72, 0x00, 0x74, 0x00, 0x00, 0x00,
-                0x00, 0x00 };
-            m_rWW8Export.pTableStrm->Write( &aDefCharSty, sizeof( aDefCharSty ) );
+            sal_uInt16 n = 0;
+            m_rWW8Export.pTableStrm->Write( &n , 2 );   // empty Style
         }
         else
         {
@@ -509,7 +499,7 @@ void WW8AttributeOutput::DefaultStyle( s
     else
     {
         sal_uInt16 n = 0;
-        m_rWW8Export.pTableStrm->Write( &n , 2 );   // leerer Style
+        m_rWW8Export.pTableStrm->Write( &n , 2 );   // empty Style
     }
 }
 



Mime
View raw message