[Libreoffice-commits] .: sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Nov 25 02:23:52 PST 2010
sc/source/filter/xml/XMLExportDDELinks.cxx | 2 +-
sc/source/filter/xml/XMLExportDDELinks.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 3532aa15e4aed5bff8c8ea343343058d93c5c1dc
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Nov 25 10:23:47 2010 +0000
cppcheck: methods can be const
diff --git a/sc/source/filter/xml/XMLExportDDELinks.cxx b/sc/source/filter/xml/XMLExportDDELinks.cxx
index 11796ba..e2a85ab 100644
--- a/sc/source/filter/xml/XMLExportDDELinks.cxx
+++ b/sc/source/filter/xml/XMLExportDDELinks.cxx
@@ -58,7 +58,7 @@ ScXMLExportDDELinks::~ScXMLExportDDELinks()
}
sal_Bool ScXMLExportDDELinks::CellsEqual(const sal_Bool bPrevEmpty, const sal_Bool bPrevString, const String& sPrevValue, const double& fPrevValue,
- const sal_Bool bEmpty, const sal_Bool bString, const String& sValue, const double& fValue)
+ const sal_Bool bEmpty, const sal_Bool bString, const String& sValue, const double& fValue) const
{
if (bEmpty == bPrevEmpty)
if (bEmpty)
diff --git a/sc/source/filter/xml/XMLExportDDELinks.hxx b/sc/source/filter/xml/XMLExportDDELinks.hxx
index 9f09d62..25845f5 100644
--- a/sc/source/filter/xml/XMLExportDDELinks.hxx
+++ b/sc/source/filter/xml/XMLExportDDELinks.hxx
@@ -39,7 +39,7 @@ class ScXMLExportDDELinks
ScXMLExport& rExport;
sal_Bool CellsEqual(const sal_Bool bPrevEmpty, const sal_Bool bPrevString, const String& sPrevValue, const double& fPrevValue,
- const sal_Bool bEmpty, const sal_Bool bString, const String& sValue, const double& fValue);
+ const sal_Bool bEmpty, const sal_Bool bString, const String& sValue, const double& fValue) const;
void WriteCell(const sal_Bool bEmpty, const sal_Bool bString, const String& sValue, const double& fValue, const sal_Int32 nRepeat);
void WriteTable(const sal_Int32 nPos);
public:
More information about the Libreoffice-commits
mailing list