summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtw8num.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-06-20 00:49:05 +0200
committerMichael Stahl <mstahl@redhat.com>2015-06-20 11:42:40 +0200
commita297df5f9df973205e50f908f60e231af4d12823 (patch)
treec15963c92a5b59735050a56c58e8443bddcfa39d /sw/source/filter/ww8/wrtw8num.cxx
parentcd3881d7171b828872db2ed0b3d49b580c3b17d1 (diff)
sw: WW8 export: remove WW6 export, partB: newly dead functions
Change-Id: I3531ca574239ee9e47a111d1a1d73b623292c80f
Diffstat (limited to 'sw/source/filter/ww8/wrtw8num.cxx')
-rw-r--r--sw/source/filter/ww8/wrtw8num.cxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/sw/source/filter/ww8/wrtw8num.cxx b/sw/source/filter/ww8/wrtw8num.cxx
index ddc6bc6a6f2d..09366bc794e9 100644
--- a/sw/source/filter/ww8/wrtw8num.cxx
+++ b/sw/source/filter/ww8/wrtw8num.cxx
@@ -597,37 +597,6 @@ void WW8Export::OutListNamesTab()
// old WW95-Code
-void WW8Export::OutputOlst( const SwNumRule& rRule )
-{
- assert(false); // TODO
-
- static const sal_uInt8 aAnlvBase[] = { // Defaults
- 1,0,0, // Upper Roman
- 0x0C, // Hanging Indent, fPrev
- 0,0,1,0x80,0,0,1,0,0x1b,1,0,0 };
-
- static const sal_uInt8 aSprmOlstHdr[] = { 133, 212 };
-
- pO->insert( pO->end(), aSprmOlstHdr, aSprmOlstHdr+sizeof( aSprmOlstHdr ) );
- WW8_OLST aOlst;
- memset( &aOlst, 0, sizeof(aOlst) );
- sal_uInt8* pC = aOlst.rgch;
- sal_uInt8* pChars = pC;
- sal_uInt16 nCharLen = 64;
-
- for (sal_uInt16 j = 0; j < WW8ListManager::nMaxLevel; j++ ) // 9 variable ANLVs
- {
- memcpy( &aOlst.rganlv[j], aAnlvBase, sizeof( WW8_ANLV ) ); // Defaults
-
- const SwNumFormat* pFormat = rRule.GetNumFormat( j );
- if( pFormat )
- BuildAnlvBase( aOlst.rganlv[j], pChars, nCharLen, rRule,
- *pFormat, (sal_uInt8)j );
- }
-
- pO->insert( pO->end(), reinterpret_cast<sal_uInt8*>(&aOlst), reinterpret_cast<sal_uInt8*>(&aOlst)+sizeof( aOlst ) );
-}
-
void WW8Export::Out_WwNumLvl( sal_uInt8 nWwLevel )
{
pO->push_back( 13 );