summaryrefslogtreecommitdiffstats
path: root/include/codemaker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-19 11:09:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-20 08:50:48 +0200
commit14d45665433eec974acd96f813f2bf314bdb3eba (patch)
tree814e8fc8448754fa32ad447095a4353ab4dfb7d1 /include/codemaker
parentuse std::unique_ptr in EscherSolverContainer (diff)
downloadcore-14d45665433eec974acd96f813f2bf314bdb3eba.tar.gz
core-14d45665433eec974acd96f813f2bf314bdb3eba.zip
loplugin:constmethod in codemaker,registry,store
Change-Id: Ie75875974f054ff79bd64b1c261e79e2b78eb7fc Reviewed-on: https://gerrit.libreoffice.org/43540 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/codemaker')
-rw-r--r--include/codemaker/global.hxx4
-rw-r--r--include/codemaker/options.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/codemaker/global.hxx b/include/codemaker/global.hxx
index 02c9fed777e3..e26fba3d97d4 100644
--- a/include/codemaker/global.hxx
+++ b/include/codemaker/global.hxx
@@ -43,12 +43,12 @@ public:
FileStream();
~FileStream();
- bool isValid();
+ bool isValid() const;
void createTempFile(const ::rtl::OString& sPath);
void close();
- const ::rtl::OString& getName() { return m_name; }
+ const ::rtl::OString& getName() const { return m_name; }
bool write(void const * buffer, sal_uInt64 size);
diff --git a/include/codemaker/options.hxx b/include/codemaker/options.hxx
index 8d9b6084ec26..ca86fa1b3995 100644
--- a/include/codemaker/options.hxx
+++ b/include/codemaker/options.hxx
@@ -55,7 +55,7 @@ public:
/// @throws IllegalArgument
const OString& getOption(const ::rtl::OString& option) const;
- const StringVector& getInputFiles() { return m_inputFiles;}
+ const StringVector& getInputFiles() const { return m_inputFiles;}
const StringVector& getExtraInputFiles() const
{ return m_extra_input_files; }