diff options
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/basprov/basmethnode.cxx | 2 | ||||
-rw-r--r-- | scripting/source/basprov/basmethnode.hxx | 2 | ||||
-rw-r--r-- | scripting/source/vbaevents/eventhelper.cxx | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/scripting/source/basprov/basmethnode.cxx b/scripting/source/basprov/basmethnode.cxx index a1d7c5cd8fb2..d81b7133f32f 100644 --- a/scripting/source/basprov/basmethnode.cxx +++ b/scripting/source/basprov/basmethnode.cxx @@ -66,7 +66,7 @@ namespace basprov ,m_sScriptingContext( sScriptingContext ) ,m_pMethod( pMethod ) ,m_bIsAppScript( isAppScript ) - ,m_bEditable( sal_True ) + ,m_bEditable( true ) { if ( m_pMethod ) { diff --git a/scripting/source/basprov/basmethnode.hxx b/scripting/source/basprov/basmethnode.hxx index 6f9fd1dd607c..65e4d4120a1b 100644 --- a/scripting/source/basprov/basmethnode.hxx +++ b/scripting/source/basprov/basmethnode.hxx @@ -61,7 +61,7 @@ namespace basprov // properties ::rtl::OUString m_sURI; - sal_Bool m_bEditable; + bool m_bEditable; protected: // OPropertySetHelper diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx index 7249d143a8d0..ef33f8c5172f 100644 --- a/scripting/source/vbaevents/eventhelper.cxx +++ b/scripting/source/vbaevents/eventhelper.cxx @@ -631,13 +631,13 @@ private: Reference< XComponentContext > m_xContext; Reference< frame::XModel > m_xModel; - sal_Bool m_bDocClosed; + bool m_bDocClosed; SfxObjectShell* mpShell; rtl::OUString msProject; }; EventListener::EventListener( const Reference< XComponentContext >& rxContext ) : -OPropertyContainer(GetBroadcastHelper()), m_xContext( rxContext ), m_bDocClosed(sal_False), mpShell( 0 ) +OPropertyContainer(GetBroadcastHelper()), m_xContext( rxContext ), m_bDocClosed(false), mpShell( 0 ) { registerProperty( EVENTLSTNR_PROPERTY_MODEL, EVENTLSTNR_PROPERTY_ID_MODEL, beans::PropertyAttribute::TRANSIENT, &m_xModel, ::getCppuType( &m_xModel ) ); @@ -731,7 +731,7 @@ EventListener::queryClosing( const lang::EventObject& /*Source*/, ::sal_Bool /*G void SAL_CALL EventListener::notifyClosing( const lang::EventObject& /*Source*/ ) throw (uno::RuntimeException) { - m_bDocClosed = sal_True; + m_bDocClosed = true; uno::Reference< util::XCloseBroadcaster > xCloseBroadcaster( m_xModel, uno::UNO_QUERY ); if (xCloseBroadcaster.is()) { |