summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-23 11:08:48 +0200
committerNoel Grandin <noel@peralex.com>2014-04-23 11:11:51 +0200
commit6dda3d45c902d64323a085ea1604a993521f313d (patch)
tree9b964839510ac36762733bd99951539040f8ffc0 /sc/source/filter/oox
parente32da7783686f088fa83cdae209bcf1c81d82f1e (diff)
sc: sal_Bool->bool
Change-Id: I70aad0b38979f45a313b8ac36890fb6c64d11bb0
Diffstat (limited to 'sc/source/filter/oox')
-rw-r--r--sc/source/filter/oox/commentsbuffer.cxx2
-rw-r--r--sc/source/filter/oox/pivotcachebuffer.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/oox/commentsbuffer.cxx b/sc/source/filter/oox/commentsbuffer.cxx
index 7fe06e0cebb4..93555ad65fd3 100644
--- a/sc/source/filter/oox/commentsbuffer.cxx
+++ b/sc/source/filter/oox/commentsbuffer.cxx
@@ -153,7 +153,7 @@ void Comment::finalizeImport()
Reference< XShape > xAnnoShape( xAnnoShapeSupp->getAnnotationShape(), UNO_SET_THROW );
// convert shape formatting and visibility
- sal_Bool bVisible = sal_True;
+ bool bVisible = true;
switch( getFilterType() )
{
case FILTER_OOXML:
diff --git a/sc/source/filter/oox/pivotcachebuffer.cxx b/sc/source/filter/oox/pivotcachebuffer.cxx
index 454a1acf1299..004fe58e2964 100644
--- a/sc/source/filter/oox/pivotcachebuffer.cxx
+++ b/sc/source/filter/oox/pivotcachebuffer.cxx
@@ -285,10 +285,10 @@ OUString PivotCacheItem::getName() const
{
case XML_m: return OUString();
case XML_s: return maValue.get< OUString >();
- case XML_n: return OUString::number( maValue.get< double >() ); // !TODO
+ case XML_n: return OUString::number( maValue.get< double >() ); // !TODO
case XML_i: return OUString::number( maValue.get< sal_Int32 >() );
case XML_d: return OUString(); // !TODO
- case XML_b: return OUString::boolean( static_cast< sal_Bool >( maValue.get< bool >() ) ); // !TODO
+ case XML_b: return OUString::boolean( maValue.get< bool >() ); // !TODO
case XML_e: return OUString(); // !TODO
}
OSL_FAIL( "PivotCacheItem::getName - invalid data type" );