diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-04-13 19:37:04 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-04-13 20:47:56 -0300 |
commit | 4326d0bd27f4ea9620d77457b6856875e59072cc (patch) | |
tree | 4d58ed5dab2d8328004e04929189eaa3844daa48 /sd/source/ui/dlg/present.cxx | |
parent | 5aa0bc7b9a830fe497c6e74b109bbb7af40141a6 (diff) |
More RTL_CONSTASCII_USTRINGPARAM removals
Diffstat (limited to 'sd/source/ui/dlg/present.cxx')
-rw-r--r-- | sd/source/ui/dlg/present.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/present.cxx b/sd/source/ui/dlg/present.cxx index b012fb4de122..b83cad717bba 100644 --- a/sd/source/ui/dlg/present.cxx +++ b/sd/source/ui/dlg/present.cxx @@ -185,7 +185,7 @@ void SdStartPresentationDlg::InitMonitorSettings() try { Reference< XMultiServiceFactory > xFactory( ::comphelper::getProcessServiceFactory(), UNO_QUERY_THROW ); - Reference< XIndexAccess > xMultiMon( xFactory->createInstance(OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.DisplayAccess" ) ) ), UNO_QUERY_THROW ); + Reference< XIndexAccess > xMultiMon( xFactory->createInstance("com.sun.star.awt.DisplayAccess" ), UNO_QUERY_THROW ); maGrpMonitor.Show( true ); maFtMonitor.Show( true ); maLBMonitor.Show( true ); @@ -204,9 +204,9 @@ void SdStartPresentationDlg::InitMonitorSettings() Reference< XPropertySet > xMonProps( xMultiMon, UNO_QUERY ); if( xMonProps.is() ) try { - const OUString sPropName1( RTL_CONSTASCII_USTRINGPARAM( "IsUnifiedDisplay" ) ); + const OUString sPropName1( "IsUnifiedDisplay" ); xMonProps->getPropertyValue( sPropName1 ) >>= bUnifiedDisplay; - const OUString sPropName2( RTL_CONSTASCII_USTRINGPARAM( "DefaultDisplay" ) ); + const OUString sPropName2( "DefaultDisplay" ); xMonProps->getPropertyValue( sPropName2 ) >>= nPrimaryIndex; } catch( Exception& ) |