diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-28 10:11:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-29 09:01:39 +0200 |
commit | 7e4c6e1ff1961ad7a48cc9c1d9b3668372c6aed8 (patch) | |
tree | 0f09334558f978403621a5fb4f24f1bd7a758be6 /desktop | |
parent | 6cae6d682cfdec0104f68552def2d1b5719c8fbe (diff) |
remove unnecessary linefeeds from the end of exception messages
Change-Id: Id1d7971639b2496dbe0274423ff4150d9295e8d6
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_misc.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx index 6cad2723cf8e..b3038d947c25 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx @@ -470,8 +470,7 @@ Reference<XComponentContext> getUNO( //We show a message box or print to the console that there //is another instance already running if ( ! InitVCL() ) - throw RuntimeException( "Cannot initialize VCL!", - NULL ); + throw RuntimeException( "Cannot initialize VCL!" ); { WarningBox warn(NULL, WB_OK | WB_DEF_OK, sMsg); warn.SetText(utl::ConfigManager::getProductName()); @@ -481,7 +480,7 @@ Reference<XComponentContext> getUNO( DeInitVCL(); } - throw LockFileException("\n" + sError + sMsg + "\n"); + throw LockFileException(sError + sMsg); } } |