summaryrefslogtreecommitdiff
path: root/chart2/source/tools/CommonConverters.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-15 15:17:13 +0200
committerNoel Grandin <noel@peralex.com>2014-04-15 15:23:29 +0200
commit329332ba526983c1d64763f61df2940e6bcb7d8a (patch)
treecab0aa5fb7bdabeb56300b27cd7dbfa740820c46 /chart2/source/tools/CommonConverters.cxx
parentffbc86f5ac2a835d841d53938824242e0a69fdd4 (diff)
chart2: sal_Bool->bool
Change-Id: I85751b4e636596ef88ef02bc958abdc6abf98427
Diffstat (limited to 'chart2/source/tools/CommonConverters.cxx')
-rw-r--r--chart2/source/tools/CommonConverters.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/chart2/source/tools/CommonConverters.cxx b/chart2/source/tools/CommonConverters.cxx
index 5c6acb285386..d7d27eeb2090 100644
--- a/chart2/source/tools/CommonConverters.cxx
+++ b/chart2/source/tools/CommonConverters.cxx
@@ -475,26 +475,26 @@ uno::Sequence< OUString > DataSequenceToStringSequence(
return aResult;
}
-sal_Bool hasDoubleValue( const uno::Any& rAny )
+bool hasDoubleValue( const uno::Any& rAny )
{
- sal_Bool bRet = sal_False;
+ bool bRet = false;
double fValue = 0.0;
if( rAny >>= fValue )
- bRet = sal_True;
+ bRet = true;
return bRet;
}
-sal_Bool hasLongOrShortValue( const uno::Any& rAny )
+bool hasLongOrShortValue( const uno::Any& rAny )
{
- sal_Bool bRet = sal_False;
+ bool bRet = false;
sal_Int32 n32 = 0;
if( rAny >>= n32 )
- bRet = sal_True;
+ bRet = true;
else
{
sal_Int16 n16 = 0;
if( rAny >>= n16 )
- bRet = sal_True;
+ bRet = true;
}
return bRet;
}