summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbasystem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbasystem.cxx')
-rw-r--r--sw/source/ui/vba/vbasystem.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/vba/vbasystem.cxx b/sw/source/ui/vba/vbasystem.cxx
index 6953bfad1743..b6402bda3af9 100644
--- a/sw/source/ui/vba/vbasystem.cxx
+++ b/sw/source/ui/vba/vbasystem.cxx
@@ -118,7 +118,7 @@ uno::Any PrivateProfileStringListener::getValueEvent()
return uno::makeAny( sValue );
#else
- throw uno::RuntimeException( OUString("Only support on Windows"), uno::Reference< uno::XInterface >() );
+ throw uno::RuntimeException("Only support on Windows", uno::Reference< uno::XInterface >() );
#endif
}
@@ -161,7 +161,7 @@ void PrivateProfileStringListener::setValueEvent( const css::uno::Any& value )
}
return;
#else
- throw uno::RuntimeException( OUString("Not implemented"), uno::Reference< uno::XInterface >() );
+ throw uno::RuntimeException("Not implemented", uno::Reference< uno::XInterface >() );
#endif
}
@@ -229,7 +229,7 @@ SwVbaSystem::setCursor( sal_Int32 _cursor ) throw (uno::RuntimeException)
break;
}
default:
- throw uno::RuntimeException( OUString("Unknown value for Cursor pointer"), uno::Reference< uno::XInterface >() );
+ throw uno::RuntimeException("Unknown value for Cursor pointer", uno::Reference< uno::XInterface >() );
// TODO: isn't this a flaw in the API? It should be allowed to throw an
// IllegalArgumentException, or so
}