summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-01 13:48:55 +0200
committerNoel Grandin <noel@peralex.com>2014-04-03 09:17:50 +0200
commit22472e093dc107d01b6d8db1187bfc6bb2c9e80c (patch)
tree5fad352621f15541fc7458c5bc350ac1603f5203 /include/oox
parent8ee4af289f079c1314cdc4f3c370f04f4275f902 (diff)
oox: sal_Bool->bool
Change-Id: I2ad60bd64cabb29a9e909f31e7d5bd92989120f7
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/drawingml/table/tablecell.hxx18
-rw-r--r--include/oox/drawingml/table/tableproperties.hxx34
-rw-r--r--include/oox/drawingml/table/tablestylepart.hxx8
-rw-r--r--include/oox/drawingml/textparagraphproperties.hxx2
4 files changed, 31 insertions, 31 deletions
diff --git a/include/oox/drawingml/table/tablecell.hxx b/include/oox/drawingml/table/tablecell.hxx
index 373070bb14a4..c484ed20ba02 100644
--- a/include/oox/drawingml/table/tablecell.hxx
+++ b/include/oox/drawingml/table/tablecell.hxx
@@ -52,10 +52,10 @@ public:
void setRowSpan( sal_Int32 nRowSpan ){ mnRowSpan = nRowSpan; };
sal_Int32 getGridSpan() const { return mnGridSpan; };
void setGridSpan( sal_Int32 nGridSpan ){ mnGridSpan = nGridSpan; };
- sal_Bool gethMerge() const { return mbhMerge; };
- void sethMerge( sal_Bool bhMerge ){ mbhMerge = bhMerge; };
- sal_Bool getvMerge() const { return mbvMerge; };
- void setvMerge( sal_Bool bvMerge ){ mbvMerge = bvMerge; };
+ bool gethMerge() const { return mbhMerge; };
+ void sethMerge( bool bhMerge ){ mbhMerge = bhMerge; };
+ bool getvMerge() const { return mbvMerge; };
+ void setvMerge( bool bvMerge ){ mbvMerge = bvMerge; };
sal_Int32 getLeftMargin() const { return mnMarL; };
void setLeftMargin( sal_Int32 nMargin ){ mnMarL = nMargin; };
sal_Int32 getRightMargin() const { return mnMarR; };
@@ -68,8 +68,8 @@ public:
void setVertToken( sal_Int32 nToken ){ mnVertToken = nToken; };
sal_Int32 getAnchorToken() const { return mnAnchorToken; };
void setAnchorToken( sal_Int32 nToken ){ mnAnchorToken = nToken; };
- sal_Bool getAnchorCtr() const { return mbAnchorCtr; };
- void setAnchorCtr( sal_Bool bAnchorCtr ){ mbAnchorCtr = bAnchorCtr; };
+ bool getAnchorCtr() const { return mbAnchorCtr; };
+ void setAnchorCtr( bool bAnchorCtr ){ mbAnchorCtr = bAnchorCtr; };
sal_Int32 getHorzOverflowToken() const { return mnHorzOverflowToken; };
void setHorzOverflowToken( sal_Int32 nToken ){ mnHorzOverflowToken = nToken; };
@@ -95,8 +95,8 @@ private:
sal_Int32 mnRowSpan;
sal_Int32 mnGridSpan;
- sal_Bool mbhMerge;
- sal_Bool mbvMerge;
+ bool mbhMerge;
+ bool mbvMerge;
sal_Int32 mnMarL;
sal_Int32 mnMarR;
@@ -104,7 +104,7 @@ private:
sal_Int32 mnMarB;
sal_Int32 mnVertToken;
sal_Int32 mnAnchorToken;
- sal_Bool mbAnchorCtr;
+ bool mbAnchorCtr;
sal_Int32 mnHorzOverflowToken;
};
diff --git a/include/oox/drawingml/table/tableproperties.hxx b/include/oox/drawingml/table/tableproperties.hxx
index 59c975a588b3..98bb1a14cc26 100644
--- a/include/oox/drawingml/table/tableproperties.hxx
+++ b/include/oox/drawingml/table/tableproperties.hxx
@@ -42,35 +42,35 @@ public:
std::vector< sal_Int32 >& getTableGrid() { return mvTableGrid; };
std::vector< TableRow >& getTableRows() { return mvTableRows; };
- OUString& getStyleId(){ return maStyleId; };
+ OUString& getStyleId(){ return maStyleId; };
boost::shared_ptr< TableStyle >& getTableStyle(){ return mpTableStyle; };
- sal_Bool& isRtl(){ return mbRtl; };
- sal_Bool& isFirstRow(){ return mbFirstRow; };
- sal_Bool& isFirstCol(){ return mbFirstCol; };
- sal_Bool& isLastRow(){ return mbLastRow; };
- sal_Bool& isLastCol(){ return mbLastCol; };
- sal_Bool& isBandRow(){ return mbBandRow; };
- sal_Bool& isBandCol(){ return mbBandCol; };
+ bool& isRtl(){ return mbRtl; };
+ bool& isFirstRow(){ return mbFirstRow; };
+ bool& isFirstCol(){ return mbFirstCol; };
+ bool& isLastRow(){ return mbLastRow; };
+ bool& isLastCol(){ return mbLastCol; };
+ bool& isBandRow(){ return mbBandRow; };
+ bool& isBandCol(){ return mbBandCol; };
void pushToPropSet( const ::oox::core::XmlFilterBase& rFilterBase,
const ::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySet > & xPropSet, ::oox::drawingml::TextListStylePtr pMasterTextListStyle );
private:
- const TableStyle& getUsedTableStyle( const ::oox::core::XmlFilterBase& rFilterBase, sal_Bool &isCreateTabStyle);
+ const TableStyle& getUsedTableStyle( const ::oox::core::XmlFilterBase& rFilterBase, bool &isCreateTabStyle);
- OUString maStyleId; // either StyleId is available
+ OUString maStyleId; // either StyleId is available
boost::shared_ptr< TableStyle > mpTableStyle; // or the complete TableStyle
std::vector< sal_Int32 > mvTableGrid;
std::vector< TableRow > mvTableRows;
- sal_Bool mbRtl;
- sal_Bool mbFirstRow;
- sal_Bool mbFirstCol;
- sal_Bool mbLastRow;
- sal_Bool mbLastCol;
- sal_Bool mbBandRow;
- sal_Bool mbBandCol;
+ bool mbRtl;
+ bool mbFirstRow;
+ bool mbFirstCol;
+ bool mbLastRow;
+ bool mbLastCol;
+ bool mbBandRow;
+ bool mbBandCol;
};
} } }
diff --git a/include/oox/drawingml/table/tablestylepart.hxx b/include/oox/drawingml/table/tablestylepart.hxx
index 4b56d4edee1a..7177deb5b982 100644
--- a/include/oox/drawingml/table/tablestylepart.hxx
+++ b/include/oox/drawingml/table/tablestylepart.hxx
@@ -39,8 +39,8 @@ public:
~TableStylePart();
::oox::drawingml::Color& getTextColor(){ return maTextColor; }
- ::boost::optional< sal_Bool >& getTextBoldStyle(){ return maTextBoldStyle; }
- ::boost::optional< sal_Bool >& getTextItalicStyle(){ return maTextItalicStyle; }
+ ::boost::optional< bool >& getTextBoldStyle(){ return maTextBoldStyle; }
+ ::boost::optional< bool >& getTextItalicStyle(){ return maTextItalicStyle; }
::oox::drawingml::TextFont& getAsianFont(){ return maAsianFont; }
::oox::drawingml::TextFont& getComplexFont(){ return maComplexFont; }
::oox::drawingml::TextFont& getSymbolFont(){ return maSymbolFont; }
@@ -54,8 +54,8 @@ public:
private:
::oox::drawingml::Color maTextColor;
- ::boost::optional< sal_Bool > maTextBoldStyle;
- ::boost::optional< sal_Bool > maTextItalicStyle;
+ ::boost::optional< bool > maTextBoldStyle;
+ ::boost::optional< bool > maTextItalicStyle;
::oox::drawingml::TextFont maAsianFont;
::oox::drawingml::TextFont maComplexFont;
::oox::drawingml::TextFont maSymbolFont;
diff --git a/include/oox/drawingml/textparagraphproperties.hxx b/include/oox/drawingml/textparagraphproperties.hxx
index 2ed69f95c014..14f56268a0d5 100644
--- a/include/oox/drawingml/textparagraphproperties.hxx
+++ b/include/oox/drawingml/textparagraphproperties.hxx
@@ -100,7 +100,7 @@ public:
void apply( const TextParagraphProperties& rSourceProps );
void pushToPropSet( const ::oox::core::XmlFilterBase* pFilterBase,
const ::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySet > & xPropSet,
- PropertyMap& rioBulletList, const BulletList* pMasterBuList, sal_Bool bApplyBulletList, float fFontSize, bool bPushDefaultValues = false ) const;
+ PropertyMap& rioBulletList, const BulletList* pMasterBuList, bool bApplyBulletList, float fFontSize, bool bPushDefaultValues = false ) const;
void pushToPropSet( const ::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySet > & xPropSet) const;
/** Returns the largest character size of this paragraph. If possible the