summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMichael Stahl <mst@apache.org>2011-09-17 21:38:30 +0000
committerMichael Stahl <mst@apache.org>2011-09-17 21:38:30 +0000
commit117596cbe6b84a2ad19bfc6a38d6682862fe6c07 (patch)
tree17a233de65d4f4b3f3dd9ff10c7cbc29291a1062 /sw/source
parente3211af2c6618958cc58dd9d9a93672a96bd30aa (diff)
imported patch i103878
# HG changeset patch # User Henning Brinkmann <hbrinkm@openoffice.org> # Date 1302182700 -7200 # Node ID 491b690eb471855aaff779bdc202e901d5e60f20 # Parent 713dcef8f169f411fe62b073dab24ca3dfc02a44
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/ww8/wrtw8sty.cxx16
1 files changed, 3 insertions, 13 deletions
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
index d6134c5b1c10..331b53ecb684 100644
--- a/sw/source/filter/ww8/wrtw8sty.cxx
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
@@ -481,18 +481,8 @@ void WW8AttributeOutput::DefaultStyle( sal_uInt16 nStyle )
{
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( sal_uInt16 nStyle )
else
{
sal_uInt16 n = 0;
- m_rWW8Export.pTableStrm->Write( &n , 2 ); // leerer Style
+ m_rWW8Export.pTableStrm->Write( &n , 2 ); // empty Style
}
}