diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-12-06 13:10:56 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-12-06 13:10:56 +0100 |
commit | 6c4698ded0d859ea64e867745d6512301fd4bcfb (patch) | |
tree | 06abcf53237a4fc364e9b42f76cfa604f49146de /sdext/source/presenter/PresenterPaneBase.cxx | |
parent | 780df7c562f71cdf0967e8e906c5f4ac84a7b587 (diff) |
RTL_CONSTASCII_USTRINGPARAM in extensions 1
Diffstat (limited to 'sdext/source/presenter/PresenterPaneBase.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterPaneBase.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sdext/source/presenter/PresenterPaneBase.cxx b/sdext/source/presenter/PresenterPaneBase.cxx index 4003c79e4bb9..39283673c23d 100644 --- a/sdext/source/presenter/PresenterPaneBase.cxx +++ b/sdext/source/presenter/PresenterPaneBase.cxx @@ -221,7 +221,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments) if ( ! mxComponentContext.is()) { throw RuntimeException( - OUString::createFromAscii("PresenterSpritePane: missing component context"), + OUString(RTL_CONSTASCII_USTRINGPARAM("PresenterSpritePane: missing component context")), static_cast<XWeak*>(this)); } @@ -233,7 +233,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments) if ( ! (rArguments[0] >>= mxPaneId)) { throw lang::IllegalArgumentException( - OUString::createFromAscii("PresenterPane: invalid pane id"), + OUString(RTL_CONSTASCII_USTRINGPARAM("PresenterPane: invalid pane id")), static_cast<XWeak*>(this), 0); } @@ -241,7 +241,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments) if ( ! (rArguments[1] >>= mxParentWindow)) { throw lang::IllegalArgumentException( - OUString::createFromAscii("PresenterPane: invalid parent window"), + OUString(RTL_CONSTASCII_USTRINGPARAM("PresenterPane: invalid parent window")), static_cast<XWeak*>(this), 1); } @@ -250,7 +250,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments) if ( ! (rArguments[2] >>= xParentCanvas)) { throw lang::IllegalArgumentException( - OUString::createFromAscii("PresenterPane: invalid parent canvas"), + OUString(RTL_CONSTASCII_USTRINGPARAM("PresenterPane: invalid parent canvas")), static_cast<XWeak*>(this), 2); } @@ -258,7 +258,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments) if ( ! (rArguments[3] >>= msTitle)) { throw lang::IllegalArgumentException( - OUString::createFromAscii("PresenterPane: invalid title"), + OUString(RTL_CONSTASCII_USTRINGPARAM("PresenterPane: invalid title")), static_cast<XWeak*>(this), 3); } @@ -266,7 +266,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments) if ( ! (rArguments[4] >>= mxBorderPainter)) { throw lang::IllegalArgumentException( - OUString::createFromAscii("PresenterPane: invalid border painter"), + OUString(RTL_CONSTASCII_USTRINGPARAM("PresenterPane: invalid border painter")), static_cast<XWeak*>(this), 4); } @@ -275,7 +275,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments) if (rArguments.getLength()>5 && ! (rArguments[5] >>= bIsWindowVisibleOnCreation)) { throw lang::IllegalArgumentException( - OUString::createFromAscii("PresenterPane: invalid window visibility flag"), + OUString(RTL_CONSTASCII_USTRINGPARAM("PresenterPane: invalid window visibility flag")), static_cast<XWeak*>(this), 5); } @@ -303,7 +303,7 @@ void SAL_CALL PresenterPaneBase::initialize (const Sequence<Any>& rArguments) else { throw RuntimeException( - OUString::createFromAscii("PresenterSpritePane: invalid number of arguments"), + OUString(RTL_CONSTASCII_USTRINGPARAM("PresenterSpritePane: invalid number of arguments")), static_cast<XWeak*>(this)); } } |