summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-10 23:24:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-13 11:42:54 +0100
commitb7b19814bc280e0f05dbbe4bf04758b092613762 (patch)
tree87a228ceb9776cddff3b782d3f98cadcde74f3a3 /sd/source/ui
parent221d4b8da1230600f362c5b376f71ba50a408d5a (diff)
createFromAscii -> RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/slidesorter/view/SlsButtonBar.cxx2
-rw-r--r--sd/source/ui/unoidl/SdUnoSlideView.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/view/SlsButtonBar.cxx b/sd/source/ui/slidesorter/view/SlsButtonBar.cxx
index c98cc49199e2..7ac02e079934 100644
--- a/sd/source/ui/slidesorter/view/SlsButtonBar.cxx
+++ b/sd/source/ui/slidesorter/view/SlsButtonBar.cxx
@@ -1449,7 +1449,7 @@ void StartShowButton::ProcessClick (const model::SharedPageDescriptor& rpDescrip
if (xPresentation.is())
{
Sequence<PropertyValue> aProperties (1);
- aProperties[0].Name = ::rtl::OUString::createFromAscii("FirstPage");
+ aProperties[0].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FirstPage"));
const ::rtl::OUString sName (rpDescriptor->GetPage()->GetName());
aProperties[0].Value = Any(sName);
xPresentation->startWithArguments(aProperties);
diff --git a/sd/source/ui/unoidl/SdUnoSlideView.cxx b/sd/source/ui/unoidl/SdUnoSlideView.cxx
index 3e4866dc9b03..59564ef71985 100644
--- a/sd/source/ui/unoidl/SdUnoSlideView.cxx
+++ b/sd/source/ui/unoidl/SdUnoSlideView.cxx
@@ -168,7 +168,7 @@ void SAL_CALL SdUnoSlideView::setCurrentPage (
if (xProperties.is())
{
sal_uInt16 nPageNumber(0);
- if (xProperties->getPropertyValue(::rtl::OUString::createFromAscii("Number")) >>= nPageNumber)
+ if (xProperties->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Number"))) >>= nPageNumber)
{
mrSlideSorter.GetController().GetCurrentSlideManager()->SwitchCurrentSlide(
nPageNumber-1,