Kaydet (Commit) 96f9300a authored tarafından Olivier Hallot's avatar Olivier Hallot

More RTL_CONSTASCII_USTRINGPARAM removals

üst 120786ae
......@@ -820,7 +820,7 @@ void SAL_CALL SlideShow::end() throw(RuntimeException)
if( xProvider.is() )
{
util::URL aURL;
aURL.Complete = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".uno:CloseFrame"));
aURL.Complete = ".uno:CloseFrame";
uno::Reference< frame::XDispatch > xDispatch(
xProvider->queryDispatch(
......@@ -1296,11 +1296,9 @@ sal_Int32 SlideShow::GetDisplay()
Reference<XMultiServiceFactory > xFactory(
::comphelper::getProcessServiceFactory(), UNO_QUERY_THROW);
Reference<XPropertySet> xMonitorProperties(
xFactory->createInstance(
OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.DisplayAccess"))),
xFactory->createInstance( "com.sun.star.awt.DisplayAccess" ),
UNO_QUERY_THROW);
const OUString sPropertyName (RTL_CONSTASCII_USTRINGPARAM("DefaultDisplay"));
xMonitorProperties->getPropertyValue(sPropertyName) >>= nDisplay;
xMonitorProperties->getPropertyValue("DefaultDisplay") >>= nDisplay;
}
catch( Exception& )
{
......
......@@ -669,7 +669,7 @@ void SlideShowView::init()
uno::UNO_QUERY_THROW );
if( xFactory.is() )
mxPointer.set( xFactory->createInstance( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.awt.Pointer")) ),
mxPointer.set( xFactory->createInstance( "com.sun.star.awt.Pointer" ),
uno::UNO_QUERY );
getTransformation();
......@@ -683,8 +683,7 @@ void SlideShowView::init()
{
Reference< beans::XPropertySet > xCanvasProps( getCanvas(),
uno::UNO_QUERY_THROW );
xCanvasProps->setPropertyValue(
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("UnsafeScrolling")),
xCanvasProps->setPropertyValue("UnsafeScrolling",
uno::makeAny( true ) );
}
catch( uno::Exception& )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment