summaryrefslogtreecommitdiff
path: root/xmloff/source/style/kernihdl.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-09-16 15:06:48 +0200
committerEike Rathke <erack@redhat.com>2013-09-16 15:08:18 +0200
commit0825d0cb76a84503d77d7e635947e1f4da7e299d (patch)
treef034eb235914b6d600c07d9b9f98744515f66674 /xmloff/source/style/kernihdl.cxx
parentd6e9bb17675200e12777ed23d0c685fbd2bb4c59 (diff)
sal_Bool to bool
Change-Id: Id32780e5cb565e85f0366a91282ce085ed7d2f3c
Diffstat (limited to 'xmloff/source/style/kernihdl.cxx')
-rw-r--r--xmloff/source/style/kernihdl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/style/kernihdl.cxx b/xmloff/source/style/kernihdl.cxx
index 8f9734ec09aa..34307ae13c1c 100644
--- a/xmloff/source/style/kernihdl.cxx
+++ b/xmloff/source/style/kernihdl.cxx
@@ -37,9 +37,9 @@ XMLKerningPropHdl::~XMLKerningPropHdl()
// nothing to do
}
-sal_Bool XMLKerningPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const
+bool XMLKerningPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const
{
- sal_Bool bRet = sal_True;
+ bool bRet = true;
sal_Int32 nKerning = 0;
if( ! IsXMLToken( rStrImpValue, XML_KERNING_NORMAL ) )
@@ -52,9 +52,9 @@ sal_Bool XMLKerningPropHdl::importXML( const OUString& rStrImpValue, Any& rValue
return bRet;
}
-sal_Bool XMLKerningPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const
+bool XMLKerningPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const
{
- sal_Bool bRet = sal_False;
+ bool bRet = false;
sal_Int16 nValue = sal_Int16();
if( rValue >>= nValue )
@@ -70,7 +70,7 @@ sal_Bool XMLKerningPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue
rStrExpValue = aOut.makeStringAndClear();
- bRet = sal_True;
+ bRet = true;
}
return bRet;