diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2022-06-07 21:26:04 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2022-06-07 21:26:04 -0400 |
commit | 397dfd57390de6a28d0b792d36341a840d6ea668 (patch) | |
tree | 253f5c3057a2fe78c5294577b3e6582965219ba6 | |
parent | e7f41cd257d66853318e21f781abedd4310b9354 (diff) | |
download | orcus-397dfd57390de6a28d0b792d36341a840d6ea668.tar.gz |
No 'using namespace std'
-rw-r--r-- | src/liborcus/odf_number_formatting_context.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/liborcus/odf_number_formatting_context.cpp b/src/liborcus/odf_number_formatting_context.cpp index 7c3e4665..02d48f2f 100644 --- a/src/liborcus/odf_number_formatting_context.cpp +++ b/src/liborcus/odf_number_formatting_context.cpp @@ -20,7 +20,6 @@ #include <algorithm> #include <string> -using namespace std; namespace ss = orcus::spreadsheet; namespace orcus { @@ -358,8 +357,8 @@ public: class map_attr_parser { - string m_value; - string m_sign; + std::string m_value; + std::string m_sign; bool m_has_map; public: @@ -384,8 +383,8 @@ public: } } } - string get_value() const { return m_value;} - string get_sign() const { return m_sign;} + std::string get_value() const { return m_value;} + std::string get_sign() const { return m_sign;} bool has_map() const { return m_has_map;} }; @@ -513,7 +512,7 @@ void number_formatting_context::start_element(xmlns_id_t ns, xml_token_t name, c } else { - std:: string temporary_code; + std::string temporary_code; for(size_t i = 0; i < func.get_min_int_digits(); i++) { if (i % 3 == 0 && i != 0) |