summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-31 11:47:05 +0200
committerNoel Grandin <noel@peralex.com>2014-03-31 12:39:03 +0200
commit0f912872b661a6763dfd5789c0377ca453f7e260 (patch)
tree7a21e618293c5873ab3370ba7ffe8e0cb78fb838 /sw
parent0e8ab0fa298ad5c801aa94fb3e3fd2daa93d634c (diff)
xmloff: sal_Bool->bool
Change-Id: Id3d8f4f4ef32280a131907ffa32eb2ad5d6ea2e1
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/xml/xmlfmt.cxx4
-rw-r--r--sw/source/filter/xml/xmlfmte.cxx2
-rw-r--r--sw/source/filter/xml/xmltble.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/xml/xmlfmt.cxx b/sw/source/filter/xml/xmlfmt.cxx
index c1ff10f3fab2..c81f619c9d4e 100644
--- a/sw/source/filter/xml/xmlfmt.cxx
+++ b/sw/source/filter/xml/xmlfmt.cxx
@@ -1006,7 +1006,7 @@ void SwXMLImport::InsertStyles( sal_Bool bAuto )
if( bAuto && GetAutoStyles() )
GetAutoStyles()->CopyAutoStylesToDoc();
if( !bAuto && GetStyles() )
- GetStyles()->CopyStylesToDoc( !IsInsertMode(), sal_False );
+ GetStyles()->CopyStylesToDoc( !IsInsertMode(), false );
}
void SwXMLImport::FinishStyles()
@@ -1064,7 +1064,7 @@ bool SwXMLImport::FindAutomaticStyle(
pStyle = PTR_CAST( SwXMLItemSetStyleContext_Impl,
GetAutoStyles()->
FindStyleChildContext( nFamily, rName,
- sal_True ) );
+ true ) );
if( pStyle )
{
if( ppItemSet )
diff --git a/sw/source/filter/xml/xmlfmte.cxx b/sw/source/filter/xml/xmlfmte.cxx
index f2b9d9329ffa..d3f023785273 100644
--- a/sw/source/filter/xml/xmlfmte.cxx
+++ b/sw/source/filter/xml/xmlfmte.cxx
@@ -56,7 +56,7 @@ void SwXMLExport::ExportFmt( const SwFmt& rFmt, enum XMLTokenEnum eFamily )
return;
OSL_ENSURE( eFamily != XML_TOKEN_INVALID, "family must be specified" );
// style:name="..."
- sal_Bool bEncoded = sal_False;
+ bool bEncoded = false;
AddAttribute( XML_NAMESPACE_STYLE, XML_NAME, EncodeStyleName(
rFmt.GetName(), &bEncoded ) );
if( bEncoded )
diff --git a/sw/source/filter/xml/xmltble.cxx b/sw/source/filter/xml/xmltble.cxx
index 1ce91e992b13..049950752c7f 100644
--- a/sw/source/filter/xml/xmltble.cxx
+++ b/sw/source/filter/xml/xmltble.cxx
@@ -507,7 +507,7 @@ void SwXMLExport::ExportTableColumnStyle( const SwXMLTableColumn_Impl& rCol )
CheckAttrList();
// style:name="..."
- sal_Bool bEncoded = sal_False;
+ bool bEncoded = false;
AddAttribute( XML_NAMESPACE_STYLE, XML_NAME,
EncodeStyleName( rCol.GetStyleName(), &bEncoded ) );
if( bEncoded )