diff options
Diffstat (limited to 'sd/source/ui/dlg/present.cxx')
-rw-r--r-- | sd/source/ui/dlg/present.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sd/source/ui/dlg/present.cxx b/sd/source/ui/dlg/present.cxx index ee842e2326c6..fa89478b6f74 100644 --- a/sd/source/ui/dlg/present.cxx +++ b/sd/source/ui/dlg/present.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -64,12 +64,12 @@ SdStartPresentationDlg::SdStartPresentationDlg( Window* pWindow, aLbDias ( this, SdResId( LB_DIAS ) ), aLbCustomshow ( this, SdResId( LB_CUSTOMSHOW ) ), - aGrpKind ( this, SdResId( GRP_KIND ) ), - aRbtStandard ( this, SdResId( RBT_STANDARD ) ), - aRbtWindow ( this, SdResId( RBT_WINDOW ) ), - aRbtAuto ( this, SdResId( RBT_AUTO ) ), - aTmfPause ( this, SdResId( TMF_PAUSE ) ), - aCbxAutoLogo ( this, SdResId( CBX_AUTOLOGO ) ), + aGrpKind ( this, SdResId( GRP_KIND ) ), + aRbtStandard ( this, SdResId( RBT_STANDARD ) ), + aRbtWindow ( this, SdResId( RBT_WINDOW ) ), + aRbtAuto ( this, SdResId( RBT_AUTO ) ), + aTmfPause ( this, SdResId( TMF_PAUSE ) ), + aCbxAutoLogo ( this, SdResId( CBX_AUTOLOGO ) ), aGrpOptions ( this, SdResId( GRP_OPTIONS ) ), aCbxManuel ( this, SdResId( CBX_MANUEL ) ), @@ -80,17 +80,17 @@ SdStartPresentationDlg::SdStartPresentationDlg( Window* pWindow, aCbxChangePage ( this, SdResId( CBX_CHANGE_PAGE ) ), aCbxAlwaysOnTop ( this, SdResId( CBX_ALWAYS_ON_TOP ) ), - maGrpMonitor ( this, SdResId( GRP_MONITOR ) ), - maFtMonitor ( this, SdResId( FT_MONITOR ) ), - maLBMonitor ( this, SdResId( LB_MONITOR ) ), + maGrpMonitor ( this, SdResId( GRP_MONITOR ) ), + maFtMonitor ( this, SdResId( FT_MONITOR ) ), + maLBMonitor ( this, SdResId( LB_MONITOR ) ), aBtnOK ( this, SdResId( BTN_OK ) ), aBtnCancel ( this, SdResId( BTN_CANCEL ) ), aBtnHelp ( this, SdResId( BTN_HELP ) ), - pCustomShowList ( pCSList ), + pCustomShowList ( pCSList ), rOutAttrs ( rInAttrs ), - mnMonitors ( 0 ), + mnMonitors ( 0 ), msPrimaryMonitor( SdResId(STR_PRIMARY_MONITOR ) ), msMonitor( SdResId( STR_MONITOR ) ), @@ -155,9 +155,9 @@ SdStartPresentationDlg::SdStartPresentationDlg( Window* pWindow, aCbxChangePage.Check( ( ( const SfxBoolItem& ) rOutAttrs.Get( ATTR_PRESENT_CHANGE_PAGE ) ).GetValue() ); aCbxAlwaysOnTop.Check( ( ( const SfxBoolItem& ) rOutAttrs.Get( ATTR_PRESENT_ALWAYS_ON_TOP ) ).GetValue() ); - const BOOL bEndless = ( ( const SfxBoolItem& ) rOutAttrs.Get( ATTR_PRESENT_ENDLESS ) ).GetValue(); - const BOOL bWindow = !( ( const SfxBoolItem& ) rOutAttrs.Get( ATTR_PRESENT_FULLSCREEN ) ).GetValue(); - const long nPause = ( ( const SfxUInt32Item& ) rOutAttrs.Get( ATTR_PRESENT_PAUSE_TIMEOUT ) ).GetValue(); + const BOOL bEndless = ( ( const SfxBoolItem& ) rOutAttrs.Get( ATTR_PRESENT_ENDLESS ) ).GetValue(); + const BOOL bWindow = !( ( const SfxBoolItem& ) rOutAttrs.Get( ATTR_PRESENT_FULLSCREEN ) ).GetValue(); + const long nPause = ( ( const SfxUInt32Item& ) rOutAttrs.Get( ATTR_PRESENT_PAUSE_TIMEOUT ) ).GetValue(); aTmfPause.SetTime( Time( 0, 0, nPause ) ); // set cursor in timefield @@ -224,7 +224,7 @@ void SdStartPresentationDlg::InitMonitorSettings() maLBMonitor.InsertEntry( aName ); } - if( !bMultiscreen ) + if( !bMultiscreen ) maLBMonitor.InsertEntry( msAllMonitors ); sal_Int32 nSelected = ( ( const SfxInt32Item& ) rOutAttrs.Get( ATTR_PRESENT_DISPLAY ) ).GetValue(); |