diff options
author | pjacquod <pjacquod@alumni.ethz.ch> | 2010-11-13 12:39:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-13 20:56:26 +0000 |
commit | 1a9679501f755050e14e4df2c2ce7f541ba3b759 (patch) | |
tree | 9bc6248ad9f0ed1b724534de2b007f802db41f3a /reportdesign | |
parent | remove unused HiContrast args (diff) | |
download | core-1a9679501f755050e14e4df2c2ce7f541ba3b759.tar.gz core-1a9679501f755050e14e4df2c2ce7f541ba3b759.zip |
RTL_CONSTASCII_USTRINGPARAM cleaning in base
base/reportdesign/source/ui/report should now be clean and having no more
createFromAssci with constant.
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/report/ReportController.cxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/report/propbrw.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index 2f7fc8997d16..2c1eff9637a7 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -1710,7 +1710,7 @@ void OReportController::impl_initialize( ) throw Exception(); ::comphelper::NamedValueCollection aArgs(getModel()->getArgs()); - setMode(aArgs.getOrDefault("Mode", rtl::OUString::createFromAscii("normal"))); + setMode(aArgs.getOrDefault("Mode", ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("normal")))); listen(true); setEditable( !m_aReportModel->IsReadOnly() ); @@ -1812,7 +1812,7 @@ void OReportController::doOpenHelpAgent() { if (getFrame().is()) { - rtl::OUString suURL = rtl::OUString::createFromAscii("vnd.sun.star.help://shared/text/shared/explorer/database/rep_main.xhp?UseDB=no&DbPAR=swriter"); + rtl::OUString suURL(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.help://shared/text/shared/explorer/database/rep_main.xhp?UseDB=no&DbPAR=swriter")); openHelpAgent(suURL); // openHelpAgent(68245 /* HID_REPORT_DESIGN... UNKNOWN */ ); // HID_APP_REPORT_TREE diff --git a/reportdesign/source/ui/report/propbrw.cxx b/reportdesign/source/ui/report/propbrw.cxx index ac36078ff3cf..7d43829a112a 100644 --- a/reportdesign/source/ui/report/propbrw.cxx +++ b/reportdesign/source/ui/report/propbrw.cxx @@ -121,7 +121,7 @@ PropBrw::PropBrw(const Reference< XMultiServiceFactory >& _xORB,Window* pParen if (m_xMeAsFrame.is()) { m_xMeAsFrame->initialize( VCLUnoHelper::GetInterface ( this ) ); - m_xMeAsFrame->setName(::rtl::OUString::createFromAscii("report property browser")); // change name! + m_xMeAsFrame->setName(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("report property browser"))); // change name! } } catch (Exception&) |