summaryrefslogtreecommitdiff
path: root/framework/source/services/backingcomp.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-20 12:20:55 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-20 12:20:55 +0100
commit567a4ce680125d5448ecf98e9bbb0503a0247f1e (patch)
treeb6323f64aa88ed118735df9edea39d002fdd6435 /framework/source/services/backingcomp.cxx
parent41493c97fd3c3019310475656e14e6c2f3a74c17 (diff)
TL_CONSTASCII_USTRINGPARAM in libs core 24
Diffstat (limited to 'framework/source/services/backingcomp.cxx')
-rw-r--r--framework/source/services/backingcomp.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/framework/source/services/backingcomp.cxx b/framework/source/services/backingcomp.cxx
index add54b5e66..9970acf010 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