summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow/SlideShowRestarter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slideshow/SlideShowRestarter.cxx')
-rw-r--r--sd/source/ui/slideshow/SlideShowRestarter.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/ui/slideshow/SlideShowRestarter.cxx b/sd/source/ui/slideshow/SlideShowRestarter.cxx
index 725c0ffe04da..c1d32b8bed9d 100644
--- a/sd/source/ui/slideshow/SlideShowRestarter.cxx
+++ b/sd/source/ui/slideshow/SlideShowRestarter.cxx
@@ -42,7 +42,6 @@ using namespace ::com::sun::star::lang;
using ::rtl::OUString;
using ::sd::framework::FrameworkHelper;
-#define C2U(x) OUString( RTL_CONSTASCII_USTRINGPARAM(x) )
namespace sd {
@@ -97,7 +96,7 @@ sal_Int32 SlideShowRestarter::GetDisplayCount (void)
return 0;
Reference<com::sun::star::container::XIndexAccess> xIndexAccess (
- xFactory->createInstanceWithContext(C2U("com.sun.star.awt.DisplayAccess"),xContext),
+ xFactory->createInstanceWithContext("com.sun.star.awt.DisplayAccess",xContext),
UNO_QUERY);
if ( ! xIndexAccess.is())
return 0;
@@ -161,8 +160,8 @@ void SlideShowRestarter::StartPresentation (void)
if (mpSlideShow.is())
{
Sequence<css::beans::PropertyValue> aProperties (1);
- aProperties[0].Name = C2U("FirstPage");
- aProperties[0].Value <<= C2U("page") + OUString::valueOf(mnCurrentSlideNumber+1);
+ aProperties[0].Name = "FirstPage";
+ aProperties[0].Value <<= "page" + OUString::valueOf(mnCurrentSlideNumber+1);
mpSlideShow->startWithArguments(aProperties);
}
mpSelf.reset();