summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/openuriexternally.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/openuriexternally.cxx')
-rw-r--r--sfx2/source/appl/openuriexternally.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/appl/openuriexternally.cxx b/sfx2/source/appl/openuriexternally.cxx
index e153bda13623..04da015a3c7d 100644
--- a/sfx2/source/appl/openuriexternally.cxx
+++ b/sfx2/source/appl/openuriexternally.cxx
@@ -41,10 +41,8 @@ bool sfx2::openUriExternally(
} catch (css::lang::IllegalArgumentException & e) {
if (e.ArgumentPosition != 0) {
throw css::uno::RuntimeException(
- (OUString(
- "unexpected IllegalArgumentException: ")
- + e.Message),
- css::uno::Reference< css::uno::XInterface >());
+ OUString("unexpected IllegalArgumentException: ")
+ + e.Message);
}
SolarMutexGuard g;
ErrorBox eb(