diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-01-30 12:06:41 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-01-30 14:10:48 +0100 |
commit | 6b2e9ebf77879a8df330310f9b67f11322e8bc3e (patch) | |
tree | fd12237570043f0f85a0588bd897d4f4608bd038 /starmath/source/ooxmlimport.cxx | |
parent | a1275f841a1ca601cadd2e6ec130af0703a328e5 (diff) |
fprintf -> SAL_INFO
Diffstat (limited to 'starmath/source/ooxmlimport.cxx')
-rw-r--r-- | starmath/source/ooxmlimport.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/starmath/source/ooxmlimport.cxx b/starmath/source/ooxmlimport.cxx index 6d4037509f6d..a092462a0a85 100644 --- a/starmath/source/ooxmlimport.cxx +++ b/starmath/source/ooxmlimport.cxx @@ -32,6 +32,7 @@ #include <comphelper/string.hxx> #include <oox/token/tokens.hxx> #include <oox/token/namespaces.hxx> +#include <rtl/oustringostreaminserter.hxx> using namespace oox; using namespace oox::formulaimport; @@ -88,7 +89,7 @@ OUString SmOoxmlImport::handleStream() // And as a result, empty parts of the formula that are not placeholders are written out // as a single space, so fix that up too. ret = comphelper::string::searchAndReplaceAllAsciiWithAscii( ret, "{ }", "{}" ); -// fprintf(stderr, "FORMULA: %s\n", rtl::OUStringToOString( ret, RTL_TEXTENCODING_UTF8 ).getStr()); + SAL_INFO( "starmath.ooxml", "Formula: " << ret ); return ret; } @@ -232,7 +233,7 @@ OUString SmOoxmlImport::handleAcc() break; default: acc = STR( "acute" ); -// fprintf( stderr, "Unknown m:chr in m:acc '%d'\n", accChr ); + SAL_WARN( "starmath.ooxml", "Unknown m:chr in m:acc \'" << accChr << "\'" ); break; } OUString e = readOMathArgInElement( M_TOKEN( e )); @@ -558,7 +559,7 @@ OUString SmOoxmlImport::handleNary() ret = STR( "sum" ); break; default: -// fprintf( stderr, "Unknown m:nary chr '%d'\n", chr ); + SAL_WARN( "starmath.ooxml", "Unknown m:nary chr \'" << chr << "\'" ); break; } if( !subHide ) |