summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-24 10:40:14 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-24 10:40:14 +0100
commit41b46e9f4ca241fe6e2a5857dc9a0b6b8b7bb5ec (patch)
treedc36447a4f84d227cd05b47db1bafa62ecb49a93
parent35538451c767ad6a43969665864ca8bbcef801c0 (diff)
Remove JP_TEST directive.
-rw-r--r--sw/source/core/doc/docglbl.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/sw/source/core/doc/docglbl.cxx b/sw/source/core/doc/docglbl.cxx
index bb973ec6d9..f934f157c5 100644
--- a/sw/source/core/doc/docglbl.cxx
+++ b/sw/source/core/doc/docglbl.cxx
@@ -87,23 +87,6 @@ BOOL SwDoc::GenerateHTMLDoc( const String& rPath, int nOutlineLevel )
BOOL SwDoc::GenerateHTMLDoc( const String& rPath,
const SwTxtFmtColl* pSplitColl )
{
-#ifdef JP_TEST
- if( !pSplitColl )
- {
- BYTE nLvl = 1;
- const SwTxtFmtColls& rFmtColls =*GetTxtFmtColls();
- for( USHORT n = rFmtColls.Count(); n; )
- if( nLvl == rFmtColls[ --n ]->GetAttrOutlineLevel() -1 )//<-end,zhaojianwei 0814
- {
- pSplitColl = rFmtColls[ n ];
- break;
- }
-
- if( !pSplitColl )
- pSplitColl = GetTxtCollFromPool( RES_POOLCOLL_HEADLINE2 );
- }
-#endif
-
return SplitDoc( SPLITDOC_TO_HTML, rPath, pSplitColl );
}