diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-08 11:42:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-08 11:48:13 +0200 |
commit | b7d30cb50ede0752f1ee194655f925c77e06879a (patch) | |
tree | e9f1369976e5130ee20704344371060b0637a29a /svtools/source/misc/embedhlp.cxx | |
parent | 2d54aa1d22f404a1a36aaa97d3e3bf5024e89aed (diff) |
svtools: sal_Bool->bool
Change-Id: Idd9a3ccf0eb6d14cec158daa17a6b2da625f7ffa
Diffstat (limited to 'svtools/source/misc/embedhlp.cxx')
-rw-r--r-- | svtools/source/misc/embedhlp.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx index d4fe3e1edcd1..a6715e3b5bf1 100644 --- a/svtools/source/misc/embedhlp.cxx +++ b/svtools/source/misc/embedhlp.cxx @@ -839,7 +839,7 @@ OUString EmbeddedObjectRef::GetChartType() uno::Reference< chart2::XCoordinateSystemContainer > xCooSysCnt( xDiagram, uno::UNO_QUERY_THROW ); uno::Sequence< uno::Reference< chart2::XCoordinateSystem > > aCooSysSeq( xCooSysCnt->getCoordinateSystems()); // IA2 CWS. Unused: int nCoordinateCount = aCooSysSeq.getLength(); - sal_Bool bGetChartType = sal_False; + bool bGetChartType = false; for( sal_Int32 nCooSysIdx=0; nCooSysIdx<aCooSysSeq.getLength(); ++nCooSysIdx ) { uno::Reference< chart2::XChartTypeContainer > xCTCnt( aCooSysSeq[nCooSysIdx], uno::UNO_QUERY_THROW ); @@ -855,12 +855,12 @@ OUString EmbeddedObjectRef::GetChartType() if (strChartType == "com.sun.star.chart2.AreaChartType") { Style += "Areas"; - bGetChartType = sal_True; + bGetChartType = true; } else if (strChartType == "com.sun.star.chart2.BarChartType") { Style += "Bars"; - bGetChartType = sal_True; + bGetChartType = true; } else if (strChartType == "com.sun.star.chart2.ColumnChartType") { @@ -874,34 +874,34 @@ OUString EmbeddedObjectRef::GetChartType() Style += "Bars"; else Style += "Columns"; - bGetChartType = sal_True; + bGetChartType = true; } } } else if (strChartType == "com.sun.star.chart2.LineChartType") { Style += "Lines"; - bGetChartType = sal_True; + bGetChartType = true; } else if (strChartType == "com.sun.star.chart2.ScatterChartType") { Style += "XY Chart"; - bGetChartType = sal_True; + bGetChartType = true; } else if (strChartType == "com.sun.star.chart2.PieChartType") { Style += "Pies"; - bGetChartType = sal_True; + bGetChartType = true; } else if (strChartType == "com.sun.star.chart2.NetChartType") { Style += "Radar"; - bGetChartType = sal_True; + bGetChartType = true; } else if (strChartType == "com.sun.star.chart2.CandleStickChartType") { Style += "Candle Stick Chart"; - bGetChartType = sal_True; + bGetChartType = true; } if (bGetChartType) return Style; |