diff options
Diffstat (limited to 'framework/source/services/backingcomp.cxx')
-rw-r--r-- | framework/source/services/backingcomp.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/framework/source/services/backingcomp.cxx b/framework/source/services/backingcomp.cxx index f7d65fa26498..e7e7dc7a8fec 100644 --- a/framework/source/services/backingcomp.cxx +++ b/framework/source/services/backingcomp.cxx @@ -462,17 +462,17 @@ void SAL_CALL BackingComp::attachFrame( /*IN*/ const css::uno::Reference< css::f // check some required states if (m_xFrame.is()) throw css::uno::RuntimeException( - ::rtl::OUString::createFromAscii("already attached"), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("already attached")), static_cast< ::cppu::OWeakObject* >(this)); if (!xFrame.is()) throw css::uno::RuntimeException( - ::rtl::OUString::createFromAscii("invalid frame reference"), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("invalid frame reference")), static_cast< ::cppu::OWeakObject* >(this)); if (!m_xWindow.is()) throw css::uno::RuntimeException( - ::rtl::OUString::createFromAscii("instance seams to be not or wrong initialized"), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("instance seams to be not or wrong initialized")), static_cast< ::cppu::OWeakObject* >(this)); // safe the frame reference @@ -661,7 +661,7 @@ void SAL_CALL BackingComp::disposing( /*IN*/ const css::lang::EventObject& aEven if (!aEvent.Source.is() || aEvent.Source!=m_xWindow || !m_xWindow.is()) throw css::uno::RuntimeException( - ::rtl::OUString::createFromAscii("unexpected source or called twice"), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("unexpected source or called twice")), static_cast< ::cppu::OWeakObject* >(this)); m_xWindow = css::uno::Reference< css::awt::XWindow >(); @@ -755,7 +755,7 @@ void SAL_CALL BackingComp::addEventListener( /*IN*/ const css::uno::Reference< c throw(css::uno::RuntimeException) { throw css::uno::RuntimeException( - ::rtl::OUString::createFromAscii("not supported"), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("not supported")), static_cast< ::cppu::OWeakObject* >(this)); } @@ -802,7 +802,7 @@ void SAL_CALL BackingComp::initialize( /*IN*/ const css::uno::Sequence< css::uno if (m_xWindow.is()) throw css::uno::Exception( - ::rtl::OUString::createFromAscii("already initialized"), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("already initialized")), static_cast< ::cppu::OWeakObject* >(this)); css::uno::Reference< css::awt::XWindow > xParentWindow; @@ -813,7 +813,7 @@ void SAL_CALL BackingComp::initialize( /*IN*/ const css::uno::Sequence< css::uno ) { throw css::uno::Exception( - ::rtl::OUString::createFromAscii("wrong or corrupt argument list"), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("wrong or corrupt argument list")), static_cast< ::cppu::OWeakObject* >(this)); } @@ -824,7 +824,7 @@ void SAL_CALL BackingComp::initialize( /*IN*/ const css::uno::Sequence< css::uno if (!m_xWindow.is()) throw css::uno::RuntimeException( - ::rtl::OUString::createFromAscii("couldn't create component window"), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("couldn't create component window")), static_cast< ::cppu::OWeakObject* >(this)); // start listening for window disposing |