summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-13 10:04:39 +0200
committerNoel Grandin <noel@peralex.com>2014-02-14 14:15:13 +0200
commitc6a526b20f6cf0738831ba38f93028cbc97e160f (patch)
tree81a46aecc09d74c2fc5d650c4b20e12aa422d2ec
parentb6c97e3facc4f05d59bb9bee2b9a4b2cfaa5d587 (diff)
sal_Bool->bool
Change-Id: I16310c41c7988f6b6ba5c81cc8b9685856fe1697
-rw-r--r--sc/source/filter/xml/XMLCodeNameProvider.cxx4
-rw-r--r--sc/source/filter/xml/XMLCodeNameProvider.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/xml/XMLCodeNameProvider.cxx b/sc/source/filter/xml/XMLCodeNameProvider.cxx
index 162297d43432..6f362f6a7932 100644
--- a/sc/source/filter/xml/XMLCodeNameProvider.cxx
+++ b/sc/source/filter/xml/XMLCodeNameProvider.cxx
@@ -23,7 +23,7 @@
using namespace com::sun::star;
-sal_Bool XMLCodeNameProvider::_getCodeName( const uno::Any& aAny, OUString& rCodeName )
+bool XMLCodeNameProvider::_getCodeName( const uno::Any& aAny, OUString& rCodeName )
{
uno::Sequence<beans::PropertyValue> aProps;
if( !(aAny >>= aProps) )
@@ -39,7 +39,7 @@ sal_Bool XMLCodeNameProvider::_getCodeName( const uno::Any& aAny, OUString& rCod
if( aProps[i].Value >>= sCodeName )
{
rCodeName = sCodeName;
- return sal_True;
+ return true;
}
}
}
diff --git a/sc/source/filter/xml/XMLCodeNameProvider.hxx b/sc/source/filter/xml/XMLCodeNameProvider.hxx
index ee00ab282958..01de0397f9e0 100644
--- a/sc/source/filter/xml/XMLCodeNameProvider.hxx
+++ b/sc/source/filter/xml/XMLCodeNameProvider.hxx
@@ -31,7 +31,7 @@ class XMLCodeNameProvider : public ::cppu::WeakImplHelper1< ::com::sun::star::co
OUString msDocName;
OUString msCodeNameProp;
- static sal_Bool _getCodeName( const ::com::sun::star::uno::Any& aAny,
+ static bool _getCodeName( const ::com::sun::star::uno::Any& aAny,
OUString& rCodeName );
public: