diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-01-14 10:31:40 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-15 00:36:41 +0000 |
commit | ca93d98343a03026c7568abc2ddda838f10fcbde (patch) | |
tree | 14ff4373b6921261e1d70f35cc286cf24c68039d /sd/source/ui/dlg/present.cxx | |
parent | e9202ffeccdf6f669184f3f869d2e5b121bea9f3 (diff) |
vcl: rename ambiguous IsMultiDisplay to IsUnifiedDisplay, and simplify
Diffstat (limited to 'sd/source/ui/dlg/present.cxx')
-rw-r--r-- | sd/source/ui/dlg/present.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/present.cxx b/sd/source/ui/dlg/present.cxx index e4cb16769442..5e7032651c43 100644 --- a/sd/source/ui/dlg/present.cxx +++ b/sd/source/ui/dlg/present.cxx @@ -199,13 +199,13 @@ void SdStartPresentationDlg::InitMonitorSettings() } else { - sal_Bool bMultiscreen = false; + sal_Bool bUnifiedDisplay = false; sal_Int32 nPrimaryIndex = 0; Reference< XPropertySet > xMonProps( xMultiMon, UNO_QUERY ); if( xMonProps.is() ) try { - const OUString sPropName1( RTL_CONSTASCII_USTRINGPARAM( "MultiDisplay" ) ); - xMonProps->getPropertyValue( sPropName1 ) >>= bMultiscreen; + const OUString sPropName1( RTL_CONSTASCII_USTRINGPARAM( "IsUnifiedDisplay" ) ); + xMonProps->getPropertyValue( sPropName1 ) >>= bUnifiedDisplay; const OUString sPropName2( RTL_CONSTASCII_USTRINGPARAM( "DefaultDisplay" ) ); xMonProps->getPropertyValue( sPropName2 ) >>= nPrimaryIndex; } @@ -222,7 +222,7 @@ void SdStartPresentationDlg::InitMonitorSettings() maLBMonitor.InsertEntry( aName ); } - if( !bMultiscreen ) + if( bUnifiedDisplay ) maLBMonitor.InsertEntry( msAllMonitors ); sal_Int32 nSelected = ( ( const SfxInt32Item& ) rOutAttrs.Get( ATTR_PRESENT_DISPLAY ) ).GetValue(); |