diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2022-11-29 20:23:13 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-11-30 06:52:09 +0100 |
commit | dda4867a0b5a2d29d8a01a3656e0c8dac7626d2f (patch) | |
tree | 0f0b2b2a41b7e7be7413407f37709cecb8a78e84 /include/com | |
parent | 98d8adc5b377039d5dee0d5046ece721010a960c (diff) |
tdf#152289: implement external glossary relations roundtrip
Change-Id: I20f4439abfbf73485734fd8373fffb2916d390f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143470
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/com')
-rw-r--r-- | include/com/sun/star/uno/Any.h | 1 | ||||
-rw-r--r-- | include/com/sun/star/uno/Any.hxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/com/sun/star/uno/Any.h b/include/com/sun/star/uno/Any.h index 123952142517..f232ccd90fe9 100644 --- a/include/com/sun/star/uno/Any.h +++ b/include/com/sun/star/uno/Any.h @@ -88,6 +88,7 @@ public: explicit Any(rtl::OUStringConcat<T1, T2> const &) = delete; template<typename T> explicit inline Any(rtl::OUStringNumber<T> && value); template<typename T> explicit Any(rtl::OUStringNumber<T> const &) = delete; + template <std::size_t N> explicit inline Any(const rtl::OUStringLiteral<N>& value); #endif /** Copy constructor: Sets value of the given any. diff --git a/include/com/sun/star/uno/Any.hxx b/include/com/sun/star/uno/Any.hxx index fbceffa5e241..d73b2a586d61 100644 --- a/include/com/sun/star/uno/Any.hxx +++ b/include/com/sun/star/uno/Any.hxx @@ -86,6 +86,8 @@ Any::Any(rtl::OUStringConcat<T1, T2> && value): {} template<typename T> Any::Any(rtl::OUStringNumber<T> && value): Any(rtl::OUString(std::move(value))) {} +template <std::size_t N> +Any::Any(const rtl::OUStringLiteral<N>& value): Any(rtl::OUString(value)) {} #endif inline Any::Any( const Any & rAny ) |