summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-09-25 16:57:23 +0200
committerMichael Stahl <mstahl@redhat.com>2012-10-04 21:29:34 +0200
commitf649c5acd4269eb6df4303127fb780d18ffe388a (patch)
treedfd934798f3127f9b4654879ea81b6c2d717e1c0 /scripting
parent9d7c5393309d6e50554a18e2e50b4b97bb26cb57 (diff)
sal_Bool->bool in scripting
Change-Id: Ibb61dc696c4341a0b58d8fd7c2fdfb4c5b991596
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/basprov/basmethnode.cxx2
-rw-r--r--scripting/source/basprov/basmethnode.hxx2
-rw-r--r--scripting/source/vbaevents/eventhelper.cxx6
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())
{