summaryrefslogtreecommitdiffstats
path: root/unodevtools/source/skeletonmaker/skeletonmaker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unodevtools/source/skeletonmaker/skeletonmaker.cxx')
-rw-r--r--unodevtools/source/skeletonmaker/skeletonmaker.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/unodevtools/source/skeletonmaker/skeletonmaker.cxx b/unodevtools/source/skeletonmaker/skeletonmaker.cxx
index e2f97695997d..e5b8d5837a6e 100644
--- a/unodevtools/source/skeletonmaker/skeletonmaker.cxx
+++ b/unodevtools/source/skeletonmaker/skeletonmaker.cxx
@@ -164,10 +164,7 @@ SAL_IMPLEMENT_MAIN()
<< " Version " << version << "\n\n";
exit(EXIT_SUCCESS);
} else {
- std::cerr
- << "ERROR: unexpected command \""
- << OUStringToOString(arg, RTL_TEXTENCODING_UTF8).getStr()
- << "\"!\n";
+ std::cerr << "ERROR: unexpected command \"" << arg << "\"!\n";
printUsageAndExit(programname, version);
exit(EXIT_FAILURE);
}