diff options
Diffstat (limited to 'cli_ure/source/climaker/climaker_app.cxx')
-rw-r--r-- | cli_ure/source/climaker/climaker_app.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cli_ure/source/climaker/climaker_app.cxx b/cli_ure/source/climaker/climaker_app.cxx index 42381ad6e477..efff92ded838 100644 --- a/cli_ure/source/climaker/climaker_app.cxx +++ b/cli_ure/source/climaker/climaker_app.cxx @@ -368,12 +368,7 @@ SAL_IMPLEMENT_MAIN() } if (option_info == 0) { - OUStringBuffer buf; - buf.append("unknown option "); - buf.append( cmd_arg ); - buf.append( "! Use climaker --help to print all options." ); - throw RuntimeException( - buf.makeStringAndClear() ); + throw RuntimeException("unknown option " + cmd_arg + "! Use climaker --help to print all options."); } else { |