diff options
-rw-r--r-- | shell/inc/xml_parser.hxx | 2 | ||||
-rw-r--r-- | shell/source/tools/lngconvex/cmdline.hxx | 4 | ||||
-rw-r--r-- | shell/source/tools/lngconvex/lngconvex.cxx | 2 | ||||
-rw-r--r-- | shell/source/unix/sysshell/recently_used_file_handler.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/shell/inc/xml_parser.hxx b/shell/inc/xml_parser.hxx index 3ef5ada394ac..859d07fd050e 100644 --- a/shell/inc/xml_parser.hxx +++ b/shell/inc/xml_parser.hxx @@ -97,7 +97,7 @@ private: private: i_xml_parser_event_handler* document_handler_; - XML_Parser xml_parser_; + XML_Parser const xml_parser_; private: xml_parser(const xml_parser&) = delete; diff --git a/shell/source/tools/lngconvex/cmdline.hxx b/shell/source/tools/lngconvex/cmdline.hxx index 04cb7101aee0..166766ac3e3f 100644 --- a/shell/source/tools/lngconvex/cmdline.hxx +++ b/shell/source/tools/lngconvex/cmdline.hxx @@ -69,8 +69,8 @@ private: static bool is_arg_name(const std::string& Argument); private: - size_t m_argc; - char** m_argv; + size_t const m_argc; + char** const m_argv; // prevent copy and assignment private: diff --git a/shell/source/tools/lngconvex/lngconvex.cxx b/shell/source/tools/lngconvex/lngconvex.cxx index 67068980834e..d8a1d8837d96 100644 --- a/shell/source/tools/lngconvex/lngconvex.cxx +++ b/shell/source/tools/lngconvex/lngconvex.cxx @@ -143,7 +143,7 @@ public: } private: std::ios& m_IoStrm; - std::ios::iostate m_OldIos; + std::ios::iostate const m_OldIos; }; class iso_lang_identifier diff --git a/shell/source/unix/sysshell/recently_used_file_handler.cxx b/shell/source/unix/sysshell/recently_used_file_handler.cxx index 067c968f4814..d85861346f21 100644 --- a/shell/source/unix/sysshell/recently_used_file_handler.cxx +++ b/shell/source/unix/sysshell/recently_used_file_handler.cxx @@ -340,7 +340,7 @@ namespace /* private */ { bool operator() (const std::unique_ptr<recently_used_item> & item) const { return (item->uri_ == uri_); } private: - string_t uri_; + string_t const uri_; }; |