summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection/crenum.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/corereflection/crenum.cxx')
-rw-r--r--stoc/source/corereflection/crenum.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/corereflection/crenum.cxx b/stoc/source/corereflection/crenum.cxx
index d55893cdc3e9..31e8e90c7e82 100644
--- a/stoc/source/corereflection/crenum.cxx
+++ b/stoc/source/corereflection/crenum.cxx
@@ -153,7 +153,7 @@ void IdlEnumFieldImpl::set( const Any &, const Any & )
throw(css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException, std::exception)
{
throw IllegalAccessException(
- OUString("enum field is constant!"),
+ "enum field is constant!",
(XWeak *)(OWeakObject *)this );
}
@@ -161,7 +161,7 @@ void IdlEnumFieldImpl::set( Any &, const Any & )
throw(css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException, std::exception)
{
throw IllegalAccessException(
- OUString("enum field is constant!"),
+ "enum field is constant!",
(XWeak *)(OWeakObject *)this );
}