[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann
sbergman at redhat.com
Thu Aug 31 09:04:44 UTC 2017
connectivity/source/drivers/macab/macaborder.cxx | 2 +-
connectivity/source/drivers/macab/macaborder.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f734304a7fc27e26468616b8e50d378f6ff39749
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Aug 31 11:00:30 2017 +0200
loplugin:constparams: connectivity (macOS)
Change-Id: I2d14eeea20d2622e06c7c34a1fa7e84439b3d224
diff --git a/connectivity/source/drivers/macab/macaborder.cxx b/connectivity/source/drivers/macab/macaborder.cxx
index 1a5a8f14d552..b52ce14c1092 100644
--- a/connectivity/source/drivers/macab/macaborder.cxx
+++ b/connectivity/source/drivers/macab/macaborder.cxx
@@ -28,7 +28,7 @@ MacabOrder::~MacabOrder()
{
}
-MacabSimpleOrder::MacabSimpleOrder(MacabHeader *header, OUString &sColumnName, bool bAscending)
+MacabSimpleOrder::MacabSimpleOrder(MacabHeader const *header, OUString const &sColumnName, bool bAscending)
: MacabOrder(),
m_nFieldNumber(header->getColumnNumber(sColumnName)),
m_bAscending(bAscending)
diff --git a/connectivity/source/drivers/macab/macaborder.hxx b/connectivity/source/drivers/macab/macaborder.hxx
index 8312091dbfbc..20a853e9b1f0 100644
--- a/connectivity/source/drivers/macab/macaborder.hxx
+++ b/connectivity/source/drivers/macab/macaborder.hxx
@@ -44,7 +44,7 @@ namespace connectivity
bool m_bAscending;
public:
- MacabSimpleOrder(MacabHeader *header, OUString &sColumnName, bool bAscending);
+ MacabSimpleOrder(MacabHeader const *header, OUString const &sColumnName, bool bAscending);
virtual sal_Int32 compare(const MacabRecord *record1, const MacabRecord *record2) const override;
};
More information about the Libreoffice-commits
mailing list