Kaydet (Commit) 1984e0b4 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

Make l10ntools module buildable with dbglevel=3 again.

üst 49b54b37
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <functional> #include <functional>
#include <osl/file.hxx> #include <osl/file.hxx>
#include <sal/log.hxx>
// local includes // local includes
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -70,7 +71,7 @@ void HelpParser::Dump(LangHashMap* rElem_in,const rtl::OString & sKey_in) ...@@ -70,7 +71,7 @@ void HelpParser::Dump(LangHashMap* rElem_in,const rtl::OString & sKey_in)
{ {
x=posn->first; x=posn->first;
y=posn->second->ToOString(); y=posn->second->ToOString();
fprintf(stdout,"key=%s value=%s\n",x.GetBuffer(),y.getStr()); fprintf(stdout,"key=%s value=%s\n",x.getStr(),y.getStr());
} }
fprintf(stdout,"+--------------------------+\n"); fprintf(stdout,"+--------------------------+\n");
} }
...@@ -291,7 +292,7 @@ bool HelpParser::MergeSingleFile( XMLFile* file , MergeDataFile& aMergeDataFile ...@@ -291,7 +292,7 @@ bool HelpParser::MergeSingleFile( XMLFile* file , MergeDataFile& aMergeDataFile
#if OSL_DEBUG_LEVEL > 2 #if OSL_DEBUG_LEVEL > 2
printf("*********************DUMPING HASHMAP***************************************"); printf("*********************DUMPING HASHMAP***************************************");
Dump(aXMLStrHM); Dump(aXMLStrHM);
printf("DBG: sHelpFile = %s\n",sHelpFile.GetBuffer() ); printf("DBG: sHelpFile = %s\n",sHelpFile.getStr() );
#endif #endif
pResData.sGId = pos->first; pResData.sGId = pos->first;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment