summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-01-14 10:31:40 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-01-16 15:34:45 +0000
commit64213b196a8c1817374934b10bf7b96adb5005d5 (patch)
tree4359b6933f947196e0d281e6ec7c19e1372790d0 /sd
parent480d2d6d140f54dbfdff674aad9cdc90ded7c846 (diff)
vcl: rename ambiguous IsMultiDisplay to IsUnifiedDisplay, and simplify
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/present.cxx8
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();