diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-19 11:09:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-20 08:50:48 +0200 |
commit | 14d45665433eec974acd96f813f2bf314bdb3eba (patch) | |
tree | 814e8fc8448754fa32ad447095a4353ab4dfb7d1 /include/codemaker | |
parent | 8f8a1e301c7f5b9e924e192ab68b7baa23dcc47a (diff) |
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.hxx | 4 | ||||
-rw-r--r-- | include/codemaker/options.hxx | 2 |
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; } |