summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterHelpView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterHelpView.cxx')
-rw-r--r--sdext/source/presenter/PresenterHelpView.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sdext/source/presenter/PresenterHelpView.cxx b/sdext/source/presenter/PresenterHelpView.cxx
index 21f67326f362..5e461a940964 100644
--- a/sdext/source/presenter/PresenterHelpView.cxx
+++ b/sdext/source/presenter/PresenterHelpView.cxx
@@ -49,7 +49,7 @@ using namespace ::com::sun::star::drawing::framework;
using ::rtl::OUString;
using ::std::vector;
-#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString)))
+#define A2S(pString) (::rtl::OUString(pString))
namespace sdext { namespace presenter {
@@ -355,7 +355,7 @@ void PresenterHelpView::ReadHelpStrings (void)
mpTextContainer.reset(new TextContainer());
PresenterConfigurationAccess aConfiguration (
mxComponentContext,
- OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.Office.extension.PresenterScreen/")),
+ OUString("/org.openoffice.Office.extension.PresenterScreen/"),
PresenterConfigurationAccess::READ_ONLY);
Reference<container::XNameAccess> xStrings (
aConfiguration.GetConfigurationNode(A2S("PresenterScreenSettings/HelpView/HelpStrings")),
@@ -502,8 +502,7 @@ void PresenterHelpView::ThrowIfDisposed (void)
if (rBHelper.bDisposed || rBHelper.bInDispose)
{
throw lang::DisposedException (
- OUString(RTL_CONSTASCII_USTRINGPARAM(
- "PresenterHelpView has been already disposed")),
+ OUString( "PresenterHelpView has been already disposed"),
const_cast<uno::XWeak*>(static_cast<const uno::XWeak*>(this)));
}
}