From 3f60a32aa2413ca67eb243a3ba91abd3327a07b3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 27 Mar 2014 16:42:51 +0200 Subject: xmloff: sal_Bool->bool Change-Id: If694d16088ae0dcdc8b99797eed575c90d646fe5 --- include/xmloff/ProgressBarHelper.hxx | 12 ++++++------ include/xmloff/SettingsExportHelper.hxx | 4 ++-- include/xmloff/SinglePropertySetInfoCache.hxx | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'include/xmloff') diff --git a/include/xmloff/ProgressBarHelper.hxx b/include/xmloff/ProgressBarHelper.hxx index 08a663dde267..827e35f6f913 100644 --- a/include/xmloff/ProgressBarHelper.hxx +++ b/include/xmloff/ProgressBarHelper.hxx @@ -36,23 +36,23 @@ class XMLOFF_DLLPUBLIC ProgressBarHelper sal_Int32 nRange; sal_Int32 nReference; sal_Int32 nValue; - sal_Bool bStrict; + bool bStrict; // #96469#; if the value goes over the Range the progressbar starts again - sal_Bool bRepeat; + bool bRepeat; #ifdef DBG_UTIL - sal_Bool bFailure; + bool bFailure; #endif public: ProgressBarHelper(const ::com::sun::star::uno::Reference < ::com::sun::star::task::XStatusIndicator>& xStatusIndicator, - const sal_Bool bStrict); + const bool bStrict); ~ProgressBarHelper(); void SetText(OUString& rText) { if (xStatusIndicator.is()) xStatusIndicator->setText(rText); } void SetRange(sal_Int32 nVal) { nRange = nVal; } void SetReference(sal_Int32 nVal) { nReference = nVal; } void SetValue(sal_Int32 nValue); - void SetRepeat(sal_Bool bValue) { bRepeat = bValue; } + void SetRepeat(bool bValue) { bRepeat = bValue; } inline void Increment(sal_Int32 nInc = 1) { SetValue( nValue+nInc ); } void End() { if (xStatusIndicator.is()) xStatusIndicator->end(); } @@ -62,7 +62,7 @@ public: sal_Int32 GetReference() { return nReference; } sal_Int32 GetValue() { return nValue; } - sal_Bool GetRepeat() { return bRepeat; } + bool GetRepeat() { return bRepeat; } }; #endif diff --git a/include/xmloff/SettingsExportHelper.hxx b/include/xmloff/SettingsExportHelper.hxx index 67351e8e6bc1..346a20c8c560 100644 --- a/include/xmloff/SettingsExportHelper.hxx +++ b/include/xmloff/SettingsExportHelper.hxx @@ -59,7 +59,7 @@ class XMLOFF_DLLPUBLIC XMLSettingsExportHelper void CallTypeFunction(const com::sun::star::uno::Any& rAny, const OUString& rName) const; - void exportBool(const sal_Bool bValue, const OUString& rName) const; + void exportBool(const bool bValue, const OUString& rName) const; void exportByte(const sal_Int8 nValue, const OUString& rName) const; void exportShort(const sal_Int16 nValue, const OUString& rName) const; void exportInt(const sal_Int32 nValue, const OUString& rName) const; @@ -75,7 +75,7 @@ class XMLOFF_DLLPUBLIC XMLSettingsExportHelper const OUString& rName) const; void exportMapEntry(const com::sun::star::uno::Any& rAny, const OUString& rName, - const sal_Bool bNameAccess) const; + const bool bNameAccess) const; void exportNameAccess( const com::sun::star::uno::Reference& aNamed, const OUString& rName) const; diff --git a/include/xmloff/SinglePropertySetInfoCache.hxx b/include/xmloff/SinglePropertySetInfoCache.hxx index 85ff232be964..28ed54698556 100644 --- a/include/xmloff/SinglePropertySetInfoCache.hxx +++ b/include/xmloff/SinglePropertySetInfoCache.hxx @@ -39,13 +39,13 @@ public: inline SinglePropertySetInfoCache( const OUString& rName ); ~SinglePropertySetInfoCache() {}; - sal_Bool hasProperty( + bool hasProperty( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& rPropSet, ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >& rPropSetInfo ); - inline sal_Bool hasProperty( + inline bool hasProperty( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& rPropSet ); }; @@ -56,7 +56,7 @@ inline SinglePropertySetInfoCache::SinglePropertySetInfoCache( { } -inline sal_Bool SinglePropertySetInfoCache::hasProperty( +inline bool SinglePropertySetInfoCache::hasProperty( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& rPropSet ) { -- cgit