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(
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() )
......
......@@ -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();
......
......@@ -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
......
......@@ -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 =
......
......@@ -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
......
......@@ -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<
......
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