summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/table
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-22 14:25:43 +0200
committerNoel Grandin <noel@peralex.com>2014-04-23 11:11:51 +0200
commite32da7783686f088fa83cdae209bcf1c81d82f1e (patch)
treee1ee63bcb91bcbce5bcfa27c9244407377a57f11 /oox/source/drawingml/table
parent2692047aacef7b4288f995ce6ff2db5e16b71014 (diff)
oox: sal_Bool->bool
Change-Id: Icddec34e91305cfc3f9d852472bb86eab4d8cb26
Diffstat (limited to 'oox/source/drawingml/table')
-rw-r--r--oox/source/drawingml/table/tableproperties.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/oox/source/drawingml/table/tableproperties.cxx b/oox/source/drawingml/table/tableproperties.cxx
index 994fe3a70689..e7f5799a248a 100644
--- a/oox/source/drawingml/table/tableproperties.cxx
+++ b/oox/source/drawingml/table/tableproperties.cxx
@@ -143,12 +143,12 @@ static void SetTableStyleProperties(TableStyle* &pTableStyle , const sal_Int32&
pTableStyle->getLastCol().getTextBoldStyle() = textBoldStyle;
}
- sal_Bool CreateTableStyle(TableStyle* &pTableStyle , const OUString& styleId)
+ bool CreateTableStyle(TableStyle* &pTableStyle , const OUString& styleId)
{
- sal_Bool createdTblStyle = sal_False;
+ bool createdTblStyle = false;
if(styleId.equalsAscii("{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}")){ //Medium Style 2 Accenat 1
pTableStyle = new TableStyle();
- createdTblStyle = sal_True;
+ createdTblStyle = true;
//first row style
//fill color and type
oox::drawingml::FillPropertiesPtr pFstRowFillProperties( new oox::drawingml::FillProperties );
@@ -185,7 +185,7 @@ static void SetTableStyleProperties(TableStyle* &pTableStyle , const sal_Int32&
else if (styleId.equalsAscii("{21E4AEA4-8DFA-4A89-87EB-49C32662AFE0}")) //Medium Style 2 Accent 2
{
pTableStyle = new TableStyle();
- createdTblStyle = sal_True;
+ createdTblStyle = true;
oox::drawingml::FillPropertiesPtr pFstRowFillProperties( new oox::drawingml::FillProperties );
pFstRowFillProperties->moFillType.set(XML_solidFill);
pFstRowFillProperties->maFillColor.setSchemeClr(XML_accent2);
@@ -217,7 +217,7 @@ static void SetTableStyleProperties(TableStyle* &pTableStyle , const sal_Int32&
else if (styleId.equalsAscii("{C4B1156A-380E-4F78-BDF5-A606A8083BF9}")) //Medium Style 4 Accent 4
{
pTableStyle = new TableStyle();
- createdTblStyle = sal_True;
+ createdTblStyle = true;
SetTableStyleProperties(pTableStyle, XML_accent4, XML_dk1, XML_accent4);
}