summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-17 23:30:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-18 13:03:21 +0100
commit2b3ec82a04adb327385fbc529f6e447baa3529ed (patch)
tree0618c13ab5c85522e19f6f6c57e6bda0c93199dd /svtools
parent95372abb5297176e45a39b225482fda49d93435b (diff)
hard-coded windows dumper path makes no sense for us anymore
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/svrtf/svparser.cxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx
index ff3ef7bba16e..7c70608b0fd9 100644
--- a/svtools/source/svrtf/svparser.cxx
+++ b/svtools/source/svrtf/svparser.cxx
@@ -59,10 +59,6 @@ struct SvParser_Impl
rtl_TextToUnicodeConverter hConv;
rtl_TextToUnicodeContext hContext;
-#ifdef DBG_UTIL
- SvFileStream aOut;
-#endif
-
SvParser_Impl() :
nSaveToken(0), hConv( 0 ), hContext( (rtl_TextToUnicodeContext)1 )
{
@@ -92,32 +88,10 @@ SvParser::SvParser( SvStream& rIn, sal_uInt8 nStackSize )
nTokenStackSize = 3;
pTokenStack = new TokenStackType[ nTokenStackSize ];
pTokenStackPos = pTokenStack;
-
-#ifdef DBG_UTIL
-
- // wenn die Datei schon existiert, dann Anhaengen:
- if( !pImplData )
- pImplData = new SvParser_Impl;
- pImplData->aOut.Open( String::CreateFromAscii( "\\parser.dmp" ),
- STREAM_STD_WRITE | STREAM_NOCREATE );
- if( pImplData->aOut.GetError() || !pImplData->aOut.IsOpen() )
- pImplData->aOut.Close();
- else
- {
- pImplData->aOut.Seek( STREAM_SEEK_TO_END );
- pImplData->aOut << "\x0c\n\n >>>>>>>>>>>>>>> Dump Start <<<<<<<<<<<<<<<\n";
- }
-#endif
}
SvParser::~SvParser()
{
-#ifdef DBG_UTIL
- if( pImplData->aOut.IsOpen() )
- pImplData->aOut << "\n\n >>>>>>>>>>>>>>> Dump Ende <<<<<<<<<<<<<<<\n";
- pImplData->aOut.Close();
-#endif
-
if( pImplData && pImplData->hConv )
{
rtl_destroyTextToUnicodeContext( pImplData->hConv,
@@ -410,11 +384,6 @@ sal_Unicode SvParser::GetNextChar()
return sal_Unicode(EOF);
}
-#ifdef DBG_UTIL
- if( pImplData->aOut.IsOpen() )
- pImplData->aOut << rtl::OUStringToOString(rtl::OUString(c), RTL_TEXTENCODING_MS_1251).getStr();
-#endif
-
if( c == '\n' )
{
IncLineNr();