summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-03 16:53:45 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-03 16:53:45 +0200
commita6f5770b4aaaa6506a22eae0d641ad48f9b6d239 (patch)
treea6c682cae9034bc67f23c410dd3d0227d36d680b /shell
parent5bc343cc723f993ed112cf5c700e3f397527d671 (diff)
Revert "loplugin:unusedmethods sax,shell,stoc,basegfx"
The basegfx changes appear to break Windows builds. This reverts commit 3b32c5898ff4e744d3f18b00421b433500426d74.
Diffstat (limited to 'shell')
-rw-r--r--shell/inc/internal/i_xml_parser_event_handler.hxx7
-rw-r--r--shell/source/unix/sysshell/recently_used_file_handler.cxx7
2 files changed, 14 insertions, 0 deletions
diff --git a/shell/inc/internal/i_xml_parser_event_handler.hxx b/shell/inc/internal/i_xml_parser_event_handler.hxx
index 48dd746fbd2c..77db6321b7e7 100644
--- a/shell/inc/internal/i_xml_parser_event_handler.hxx
+++ b/shell/inc/internal/i_xml_parser_event_handler.hxx
@@ -40,6 +40,10 @@ class i_xml_parser_event_handler
public:
virtual ~i_xml_parser_event_handler() {};
+ virtual void start_document() = 0;
+
+ virtual void end_document() = 0;
+
virtual void start_element(
const string_t& raw_name,
const string_t& local_name,
@@ -55,6 +59,9 @@ public:
virtual void ignore_whitespace(
const string_t& whitespaces) = 0;
+ virtual void processing_instruction(
+ const string_t& target, const string_t& data) = 0;
+
virtual void comment(const string_t& comment) = 0;
};
diff --git a/shell/source/unix/sysshell/recently_used_file_handler.cxx b/shell/source/unix/sysshell/recently_used_file_handler.cxx
index 0beba20e52c0..e66d96d1ed51 100644
--- a/shell/source/unix/sysshell/recently_used_file_handler.cxx
+++ b/shell/source/unix/sysshell/recently_used_file_handler.cxx
@@ -266,9 +266,16 @@ namespace /* private */ {
current_element_ += character;
}
+ virtual void start_document() SAL_OVERRIDE {}
+ virtual void end_document() SAL_OVERRIDE {}
+
virtual void ignore_whitespace(const string_t& /*whitespaces*/) SAL_OVERRIDE
{}
+ virtual void processing_instruction(
+ const string_t& /*target*/, const string_t& /*data*/) SAL_OVERRIDE
+ {}
+
virtual void comment(const string_t& /*comment*/) SAL_OVERRIDE
{}
private: