summaryrefslogtreecommitdiff
path: root/shell/inc/xml_parser.hxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:16:05 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-19 10:44:14 +0100
commit7c9a2c4b97c145a358084bed4b875396d3dc3e5c (patch)
tree28875b0ca8e1137ac1efae3851d299ddf5a68e08 /shell/inc/xml_parser.hxx
parent02d65d7a19981d342d9ef3996b296b4efda905a4 (diff)
tdf#123936 Formatting files in module shell with clang-format
Change-Id: Iba0c34cff0e04b18a3b4c5b7bb2aa42e14aedb81 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105707 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'shell/inc/xml_parser.hxx')
-rw-r--r--shell/inc/xml_parser.hxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/shell/inc/xml_parser.hxx b/shell/inc/xml_parser.hxx
index 37c44781cc5a..e07c860dd699 100644
--- a/shell/inc/xml_parser.hxx
+++ b/shell/inc/xml_parser.hxx
@@ -26,15 +26,12 @@
class xml_parser_exception final : public std::runtime_error
{
public:
-
- xml_parser_exception(
- const std::string& error_msg) :
- std::runtime_error(error_msg)
- {}
-
+ xml_parser_exception(const std::string& error_msg)
+ : std::runtime_error(error_msg)
+ {
+ }
};
-
// Simple wrapper around expat, the xml parser library
// created by James Clark
@@ -88,9 +85,9 @@ public:
/** Returns the currently used document handler or null if
no document handler was set before. */
- i_xml_parser_event_handler* get_document_handler() const { return document_handler_;}
-private:
+ i_xml_parser_event_handler* get_document_handler() const { return document_handler_; }
+private:
void init();
private: