diff options
author | Noel <noel.grandin@collabora.co.uk> | 2020-12-21 12:34:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-22 08:20:54 +0100 |
commit | db866805f3eee3a15bc96ffb5ba16aa77a02ddbd (patch) | |
tree | 48f8fe6da8cba68b0f4e262de519a42b355934bb /include/xmloff/xmluconv.hxx | |
parent | db9f13986fc7ef3d4b44d71459c58e9ea0ae8bcb (diff) |
use string_view in ProcessAttribute
Change-Id: I81feb01bf6823d1d8fb5a7da08490959484ef533
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108095
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/xmloff/xmluconv.hxx')
-rw-r--r-- | include/xmloff/xmluconv.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/xmloff/xmluconv.hxx b/include/xmloff/xmluconv.hxx index 87d2e883be36..a501221c16bb 100644 --- a/include/xmloff/xmluconv.hxx +++ b/include/xmloff/xmluconv.hxx @@ -228,6 +228,10 @@ public: bool convertDateTime(double& fDateTime, std::u16string_view rString); + /** convert ISO Date Time String to double */ + bool convertDateTime(double& fDateTime, + std::string_view rString); + /// these 2 functions use tools Date, so they're not yet moved to sax /** convert double to ISO Date Time String */ @@ -239,6 +243,10 @@ public: static bool convertDateTime( double& fDateTime, std::u16string_view rString, const css::util::Date& aNullDate); + /** convert ISO Date Time String to double */ + static bool convertDateTime( double& fDateTime, + std::string_view rString, + const css::util::Date& aNullDate); /** convert string to ::basegfx::B3DVector */ |