summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterPaneBase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterPaneBase.cxx')
-rw-r--r--sdext/source/presenter/PresenterPaneBase.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sdext/source/presenter/PresenterPaneBase.cxx b/sdext/source/presenter/PresenterPaneBase.cxx
index 3c0b103666d5..9ecd430cb487 100644
--- a/sdext/source/presenter/PresenterPaneBase.cxx
+++ b/sdext/source/presenter/PresenterPaneBase.cxx
@@ -171,7 +171,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments)
if ( ! mxComponentContext.is())
{
throw RuntimeException(
- OUString("PresenterSpritePane: missing component context"),
+ "PresenterSpritePane: missing component context",
static_cast<XWeak*>(this));
}
@@ -183,7 +183,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments)
if ( ! (rArguments[0] >>= mxPaneId))
{
throw lang::IllegalArgumentException(
- OUString("PresenterPane: invalid pane id"),
+ "PresenterPane: invalid pane id",
static_cast<XWeak*>(this),
0);
}
@@ -191,7 +191,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments)
if ( ! (rArguments[1] >>= mxParentWindow))
{
throw lang::IllegalArgumentException(
- OUString("PresenterPane: invalid parent window"),
+ "PresenterPane: invalid parent window",
static_cast<XWeak*>(this),
1);
}
@@ -200,7 +200,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments)
if ( ! (rArguments[2] >>= xParentCanvas))
{
throw lang::IllegalArgumentException(
- OUString("PresenterPane: invalid parent canvas"),
+ "PresenterPane: invalid parent canvas",
static_cast<XWeak*>(this),
2);
}
@@ -208,7 +208,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments)
if ( ! (rArguments[3] >>= msTitle))
{
throw lang::IllegalArgumentException(
- OUString("PresenterPane: invalid title"),
+ "PresenterPane: invalid title",
static_cast<XWeak*>(this),
3);
}
@@ -216,7 +216,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments)
if ( ! (rArguments[4] >>= mxBorderPainter))
{
throw lang::IllegalArgumentException(
- OUString("PresenterPane: invalid border painter"),
+ "PresenterPane: invalid border painter",
static_cast<XWeak*>(this),
4);
}
@@ -225,7 +225,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments)
if (rArguments.getLength()>5 && ! (rArguments[5] >>= bIsWindowVisibleOnCreation))
{
throw lang::IllegalArgumentException(
- OUString("PresenterPane: invalid window visibility flag"),
+ "PresenterPane: invalid window visibility flag",
static_cast<XWeak*>(this),
5);
}
@@ -253,7 +253,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments)
else
{
throw RuntimeException(
- OUString("PresenterSpritePane: invalid number of arguments"),
+ "PresenterSpritePane: invalid number of arguments",
static_cast<XWeak*>(this));
}
}
@@ -447,7 +447,7 @@ void PresenterPaneBase::ThrowIfDisposed (void)
if (rBHelper.bDisposed || rBHelper.bInDispose)
{
throw lang::DisposedException (
- OUString( "PresenterPane object has already been disposed"),
+ "PresenterPane object has already been disposed",
static_cast<uno::XWeak*>(this));
}
}