Kaydet (Commit) 7480948d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

xmloff: sal_Bool -> bool

Change-Id: Ic1e599568ece7e6bba354845a6cf85fa090e67bd
üst 5e9e36f2
...@@ -133,7 +133,7 @@ XMLTransformerContext *XMLPersElemContentTContext::CreateChildContext( ...@@ -133,7 +133,7 @@ XMLTransformerContext *XMLPersElemContentTContext::CreateChildContext(
break; break;
default: default:
pContext = GetTransformer().CreateUserDefinedContext( pContext = GetTransformer().CreateUserDefinedContext(
(*aIter).second, rQName, sal_True ); (*aIter).second, rQName, true );
OSL_ENSURE( pContext && pContext->IsPersistent(), OSL_ENSURE( pContext && pContext->IsPersistent(),
"unknown or not persistent action" ); "unknown or not persistent action" );
if( pContext && !pContext->IsPersistent() ) if( pContext && !pContext->IsPersistent() )
......
...@@ -1545,7 +1545,7 @@ void XMLTableOOoTransformerContext_Impl::EndElement() ...@@ -1545,7 +1545,7 @@ void XMLTableOOoTransformerContext_Impl::EndElement()
XMLTransformerContext *OOo2OasisTransformer::CreateUserDefinedContext( XMLTransformerContext *OOo2OasisTransformer::CreateUserDefinedContext(
const TransformerAction_Impl& rAction, const TransformerAction_Impl& rAction,
const OUString& rQName, const OUString& rQName,
sal_Bool bPersistent ) bool bPersistent )
{ {
switch( rAction.m_nActionType ) switch( rAction.m_nActionType )
{ {
...@@ -1775,7 +1775,7 @@ XMLTransformerActions *OOo2OasisTransformer::GetUserDefinedActions( ...@@ -1775,7 +1775,7 @@ XMLTransformerActions *OOo2OasisTransformer::GetUserDefinedActions(
return pActions; return pActions;
} }
OUString OOo2OasisTransformer::GetEventName( const OUString& rName, sal_Bool ) OUString OOo2OasisTransformer::GetEventName( const OUString& rName, bool )
{ {
if( !m_pEventMap ) if( !m_pEventMap )
m_pEventMap = XMLEventOOoTransformerContext::CreateEventMap(); m_pEventMap = XMLEventOOoTransformerContext::CreateEventMap();
......
...@@ -42,7 +42,7 @@ protected: ...@@ -42,7 +42,7 @@ protected:
virtual XMLTransformerContext *CreateUserDefinedContext( virtual XMLTransformerContext *CreateUserDefinedContext(
const TransformerAction_Impl& rAction, const TransformerAction_Impl& rAction,
const OUString& rQName, const OUString& rQName,
sal_Bool bPersistent=sal_False ) SAL_OVERRIDE; bool bPersistent=false ) SAL_OVERRIDE;
virtual XMLTransformerActions *GetUserDefinedActions( sal_uInt16 n ) SAL_OVERRIDE; virtual XMLTransformerActions *GetUserDefinedActions( sal_uInt16 n ) SAL_OVERRIDE;
...@@ -98,7 +98,7 @@ public: ...@@ -98,7 +98,7 @@ public:
throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual OUString GetEventName( const OUString& rName, 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 #endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_OOO2OASIS_HXX
......
...@@ -1623,7 +1623,7 @@ void XMLTrackedChangesOASISTContext_Impl::StartElement( ...@@ -1623,7 +1623,7 @@ void XMLTrackedChangesOASISTContext_Impl::StartElement(
XMLTransformerContext *Oasis2OOoTransformer::CreateUserDefinedContext( XMLTransformerContext *Oasis2OOoTransformer::CreateUserDefinedContext(
const TransformerAction_Impl& rAction, const TransformerAction_Impl& rAction,
const OUString& rQName, const OUString& rQName,
sal_Bool bPersistent ) bool bPersistent )
{ {
switch( rAction.m_nActionType ) switch( rAction.m_nActionType )
{ {
...@@ -1893,7 +1893,7 @@ XMLTransformerActions *Oasis2OOoTransformer::GetUserDefinedActions( ...@@ -1893,7 +1893,7 @@ XMLTransformerActions *Oasis2OOoTransformer::GetUserDefinedActions(
} }
OUString Oasis2OOoTransformer::GetEventName( const OUString& rName, OUString Oasis2OOoTransformer::GetEventName( const OUString& rName,
sal_Bool bForm ) bool bForm )
{ {
if( bForm && !m_pFormEventMap ) if( bForm && !m_pFormEventMap )
m_pFormEventMap = m_pFormEventMap =
......
...@@ -36,7 +36,7 @@ protected: ...@@ -36,7 +36,7 @@ protected:
virtual XMLTransformerContext *CreateUserDefinedContext( virtual XMLTransformerContext *CreateUserDefinedContext(
const TransformerAction_Impl& rAction, const TransformerAction_Impl& rAction,
const OUString& rQName, const OUString& rQName,
sal_Bool bPersistent=sal_False ) SAL_OVERRIDE; bool bPersistent=false ) SAL_OVERRIDE;
virtual XMLTransformerActions *GetUserDefinedActions( sal_uInt16 n ) SAL_OVERRIDE; virtual XMLTransformerActions *GetUserDefinedActions( sal_uInt16 n ) SAL_OVERRIDE;
...@@ -55,7 +55,7 @@ public: ...@@ -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 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, virtual OUString GetEventName( const OUString& rName,
sal_Bool bForm ) SAL_OVERRIDE; bool bForm ) SAL_OVERRIDE;
}; };
#endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_OASIS2OOO_HXX #endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_OASIS2OOO_HXX
......
...@@ -134,9 +134,9 @@ public: ...@@ -134,9 +134,9 @@ public:
virtual XMLTransformerContext *CreateUserDefinedContext( virtual XMLTransformerContext *CreateUserDefinedContext(
const TransformerAction_Impl& rAction, const TransformerAction_Impl& rAction,
const OUString& rQName, const OUString& rQName,
sal_Bool bPersistent=sal_False ) = 0; bool bPersistent=false ) = 0;
virtual OUString GetEventName( const OUString& rName, virtual OUString GetEventName( const OUString& rName,
sal_Bool bForm = sal_False ) = 0; bool bForm = false ) = 0;
XMLMutableAttributeList *ProcessAttrList( ::com::sun::star::uno::Reference< XMLMutableAttributeList *ProcessAttrList( ::com::sun::star::uno::Reference<
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment