[Libreoffice-commits] core.git: xmloff/source

Stephan Bergmann sbergman at redhat.com
Mon Sep 15 05:33:13 PDT 2014


 xmloff/source/transform/DeepTContext.cxx    |    2 +-
 xmloff/source/transform/OOo2Oasis.cxx       |    4 ++--
 xmloff/source/transform/OOo2Oasis.hxx       |    4 ++--
 xmloff/source/transform/Oasis2OOo.cxx       |    4 ++--
 xmloff/source/transform/Oasis2OOo.hxx       |    4 ++--
 xmloff/source/transform/TransformerBase.hxx |    4 ++--
 6 files changed, 11 insertions(+), 11 deletions(-)

New commits:
commit 7480948d8791858e08bd3c19d6b6b3ee3508a890
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Sep 15 14:32:24 2014 +0200

    xmloff: sal_Bool -> bool
    
    Change-Id: Ic1e599568ece7e6bba354845a6cf85fa090e67bd

diff --git a/xmloff/source/transform/DeepTContext.cxx b/xmloff/source/transform/DeepTContext.cxx
index 7fb2d0f..7c48585 100644
--- a/xmloff/source/transform/DeepTContext.cxx
+++ b/xmloff/source/transform/DeepTContext.cxx
@@ -133,7 +133,7 @@ XMLTransformerContext *XMLPersElemContentTContext::CreateChildContext(
             break;
         default:
             pContext = GetTransformer().CreateUserDefinedContext(
-                            (*aIter).second, rQName, sal_True );
+                            (*aIter).second, rQName, true );
             OSL_ENSURE( pContext && pContext->IsPersistent(),
                         "unknown or not persistent action" );
             if( pContext && !pContext->IsPersistent() )
diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx
index 1568bb2..ddb55dd 100644
--- a/xmloff/source/transform/OOo2Oasis.cxx
+++ b/xmloff/source/transform/OOo2Oasis.cxx
@@ -1545,7 +1545,7 @@ void XMLTableOOoTransformerContext_Impl::EndElement()
 XMLTransformerContext *OOo2OasisTransformer::CreateUserDefinedContext(
                               const TransformerAction_Impl& rAction,
                               const OUString& rQName,
-                                 sal_Bool bPersistent   )
+                                 bool bPersistent   )
 {
     switch( rAction.m_nActionType )
     {
@@ -1775,7 +1775,7 @@ XMLTransformerActions *OOo2OasisTransformer::GetUserDefinedActions(
     return pActions;
 }
 
-OUString OOo2OasisTransformer::GetEventName( const OUString& rName, sal_Bool )
+OUString OOo2OasisTransformer::GetEventName( const OUString& rName, bool )
 {
     if( !m_pEventMap )
         m_pEventMap = XMLEventOOoTransformerContext::CreateEventMap();
diff --git a/xmloff/source/transform/OOo2Oasis.hxx b/xmloff/source/transform/OOo2Oasis.hxx
index 4936021..f2e9bc6 100644
--- a/xmloff/source/transform/OOo2Oasis.hxx
+++ b/xmloff/source/transform/OOo2Oasis.hxx
@@ -42,7 +42,7 @@ protected:
     virtual XMLTransformerContext *CreateUserDefinedContext(
                                       const TransformerAction_Impl& rAction,
                                       const OUString& rQName,
-                                         sal_Bool bPersistent=sal_False ) SAL_OVERRIDE;
+                                         bool bPersistent=false ) SAL_OVERRIDE;
 
     virtual XMLTransformerActions *GetUserDefinedActions( sal_uInt16 n ) SAL_OVERRIDE;
 
@@ -98,7 +98,7 @@ public:
         throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
 
     virtual OUString GetEventName( const OUString& rName,
-                                            sal_Bool bForm = sal_False ) SAL_OVERRIDE;
+                                            bool bForm = false ) SAL_OVERRIDE;
 };
 
 #endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_OOO2OASIS_HXX
diff --git a/xmloff/source/transform/Oasis2OOo.cxx b/xmloff/source/transform/Oasis2OOo.cxx
index e2d1696..139e3ec 100644
--- a/xmloff/source/transform/Oasis2OOo.cxx
+++ b/xmloff/source/transform/Oasis2OOo.cxx
@@ -1623,7 +1623,7 @@ void XMLTrackedChangesOASISTContext_Impl::StartElement(
 XMLTransformerContext *Oasis2OOoTransformer::CreateUserDefinedContext(
                               const TransformerAction_Impl& rAction,
                               const OUString& rQName,
-                                 sal_Bool bPersistent )
+                                 bool bPersistent )
 {
     switch( rAction.m_nActionType )
     {
@@ -1893,7 +1893,7 @@ XMLTransformerActions *Oasis2OOoTransformer::GetUserDefinedActions(
 }
 
 OUString Oasis2OOoTransformer::GetEventName( const OUString& rName,
-                                             sal_Bool bForm )
+                                             bool bForm )
 {
     if( bForm && !m_pFormEventMap )
         m_pFormEventMap =
diff --git a/xmloff/source/transform/Oasis2OOo.hxx b/xmloff/source/transform/Oasis2OOo.hxx
index db00347..4bf6e29 100644
--- a/xmloff/source/transform/Oasis2OOo.hxx
+++ b/xmloff/source/transform/Oasis2OOo.hxx
@@ -36,7 +36,7 @@ protected:
     virtual XMLTransformerContext *CreateUserDefinedContext(
                                       const TransformerAction_Impl& rAction,
                                       const OUString& rQName,
-                                         sal_Bool bPersistent=sal_False ) SAL_OVERRIDE;
+                                         bool bPersistent=false ) SAL_OVERRIDE;
 
     virtual XMLTransformerActions *GetUserDefinedActions( sal_uInt16 n ) SAL_OVERRIDE;
 
@@ -55,7 +55,7 @@ public:
     virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     virtual OUString GetEventName( const OUString& rName,
-                                             sal_Bool bForm ) SAL_OVERRIDE;
+                                             bool bForm ) SAL_OVERRIDE;
 };
 
 #endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_OASIS2OOO_HXX
diff --git a/xmloff/source/transform/TransformerBase.hxx b/xmloff/source/transform/TransformerBase.hxx
index 6efd82b..a50fb22 100644
--- a/xmloff/source/transform/TransformerBase.hxx
+++ b/xmloff/source/transform/TransformerBase.hxx
@@ -134,9 +134,9 @@ public:
     virtual XMLTransformerContext *CreateUserDefinedContext(
                                       const TransformerAction_Impl& rAction,
                                       const OUString& rQName,
-                                         sal_Bool bPersistent=sal_False ) = 0;
+                                         bool bPersistent=false ) = 0;
     virtual OUString GetEventName( const OUString& rName,
-                                             sal_Bool bForm = sal_False ) = 0;
+                                             bool bForm = false ) = 0;
 
 
     XMLMutableAttributeList *ProcessAttrList( ::com::sun::star::uno::Reference<


More information about the Libreoffice-commits mailing list