summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-10-10 13:02:43 +0000
committerOliver Bolte <obo@openoffice.org>2008-10-10 13:02:43 +0000
commit48c3e6a2d615b4bb529a964688ec810fa4c3cf78 (patch)
tree4bff0dc80beeb03605eb49722f12d5d60ab17ec6 /writerperfect
parent7bad4bce519e4bfc38be75cb0de761871fd57486 (diff)
CWS-TOOLING: integrate CWS cmcfixes49
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/filter/ListStyle.cxx2
-rw-r--r--writerperfect/source/filter/ListStyle.hxx4
-rw-r--r--writerperfect/source/filter/TableStyle.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/writerperfect/source/filter/ListStyle.cxx b/writerperfect/source/filter/ListStyle.cxx
index 44e65ae61c1e..b320022caf56 100644
--- a/writerperfect/source/filter/ListStyle.cxx
+++ b/writerperfect/source/filter/ListStyle.cxx
@@ -129,7 +129,7 @@ ListStyle::~ListStyle()
}
-const bool ListStyle::isListLevelDefined(int iLevel) const
+bool ListStyle::isListLevelDefined(int iLevel) const
{
if (mppListLevels[iLevel] == NULL)
return false;
diff --git a/writerperfect/source/filter/ListStyle.hxx b/writerperfect/source/filter/ListStyle.hxx
index fdd29d6565e7..b2ebb07ef799 100644
--- a/writerperfect/source/filter/ListStyle.hxx
+++ b/writerperfect/source/filter/ListStyle.hxx
@@ -73,8 +73,8 @@ public:
virtual ~ListStyle();
virtual void updateListLevel(const int iLevel, const WPXPropertyList &xPropList) = 0;
virtual void write(DocumentHandler *pHandler) const;
- const int getListID() { return miListID; }
- const bool isListLevelDefined(int iLevel) const;
+ int getListID() const { return miListID; }
+ bool isListLevelDefined(int iLevel) const;
protected:
void setListLevel(int iLevel, ListLevelStyle *iListLevelStyle);
diff --git a/writerperfect/source/filter/TableStyle.hxx b/writerperfect/source/filter/TableStyle.hxx
index c6a0ca8455ad..a4c7116edb6d 100644
--- a/writerperfect/source/filter/TableStyle.hxx
+++ b/writerperfect/source/filter/TableStyle.hxx
@@ -66,7 +66,7 @@ public:
TableStyle(const WPXPropertyList &xPropList, const WPXPropertyListVector &columns, const char *psName);
~TableStyle();
virtual void write(DocumentHandler *pHandler) const;
- const int getNumColumns() const { return mColumns.count(); }
+ int getNumColumns() const { return mColumns.count(); }
void addTableCellStyle(TableCellStyle *pTableCellStyle) { mTableCellStyles.push_back(pTableCellStyle); }
int getNumTableCellStyles() { return mTableCellStyles.size(); }
void addTableRowStyle(TableRowStyle *pTableRowStyle) { mTableRowStyles.push_back(pTableRowStyle); }