summaryrefslogtreecommitdiff
path: root/xmloff/source/style/styleexp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-28 11:15:14 +0200
committerNoel Grandin <noel@peralex.com>2014-03-31 12:37:25 +0200
commitba6cfaaa6b5012875bc68d24519f4e658f7fe0e0 (patch)
tree83fc5d6880af1e62f87f48a7822bec73c945fd74 /xmloff/source/style/styleexp.cxx
parentc98a7eec7f24db4e3e7741a52463fca10156ecaf (diff)
xmloff: sal_Bool->bool
Change-Id: Idc7b0ef2591e65e82903d55af68434acbeca0e55
Diffstat (limited to 'xmloff/source/style/styleexp.cxx')
-rw-r--r--xmloff/source/style/styleexp.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx
index 25211b5ebe61..5af7c127907c 100644
--- a/xmloff/source/style/styleexp.cxx
+++ b/xmloff/source/style/styleexp.cxx
@@ -78,7 +78,7 @@ void XMLStyleExport::exportStyleContent( const Reference< XStyle >& )
{
}
-sal_Bool XMLStyleExport::exportStyle(
+bool XMLStyleExport::exportStyle(
const Reference< XStyle >& rStyle,
const OUString& rXMLFamily,
const UniReference < SvXMLExportPropertyMapper >& rPropMapper,
@@ -96,7 +96,7 @@ sal_Bool XMLStyleExport::exportStyle(
{
aAny = xPropSet->getPropertyValue( sIsPhysical );
if( !*(sal_Bool *)aAny.getValue() )
- return sal_False;
+ return false;
}
// <style:style ...>
@@ -330,10 +330,10 @@ sal_Bool XMLStyleExport::exportStyle(
Reference<XEventsSupplier> xEventsSupp(rStyle, UNO_QUERY);
GetExport().GetEventExport().Export(xEventsSupp);
}
- return sal_True;
+ return true;
}
-sal_Bool XMLStyleExport::exportDefaultStyle(
+bool XMLStyleExport::exportDefaultStyle(
const Reference< XPropertySet >& xPropSet,
const OUString& rXMLFamily,
const UniReference < SvXMLExportPropertyMapper >& rPropMapper )
@@ -359,14 +359,14 @@ sal_Bool XMLStyleExport::exportDefaultStyle(
rPropMapper->exportXML( GetExport(), xPropStates,
XML_EXPORT_FLAG_IGN_WS );
}
- return sal_True;
+ return true;
}
void XMLStyleExport::exportStyleFamily(
const sal_Char *pFamily,
const OUString& rXMLFamily,
const UniReference < SvXMLExportPropertyMapper >& rPropMapper,
- sal_Bool bUsed, sal_uInt16 nFamily, const OUString* pPrefix)
+ bool bUsed, sal_uInt16 nFamily, const OUString* pPrefix)
{
const OUString sFamily(OUString::createFromAscii(pFamily ));
exportStyleFamily( sFamily, rXMLFamily, rPropMapper, bUsed, nFamily,
@@ -376,7 +376,7 @@ void XMLStyleExport::exportStyleFamily(
void XMLStyleExport::exportStyleFamily(
const OUString& rFamily, const OUString& rXMLFamily,
const UniReference < SvXMLExportPropertyMapper >& rPropMapper,
- sal_Bool bUsed, sal_uInt16 nFamily, const OUString* pPrefix)
+ bool bUsed, sal_uInt16 nFamily, const OUString* pPrefix)
{
DBG_ASSERT( GetExport().GetModel().is(), "There is the model?" );
Reference< XStyleFamiliesSupplier > xFamiliesSupp( GetExport().GetModel(), UNO_QUERY );