From dda4867a0b5a2d29d8a01a3656e0c8dac7626d2f Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Tue, 29 Nov 2022 20:23:13 +0300 Subject: 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 --- include/com/sun/star/uno/Any.h | 1 + include/com/sun/star/uno/Any.hxx | 2 ++ 2 files changed, 3 insertions(+) (limited to 'include/com') 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 const &) = delete; template explicit inline Any(rtl::OUStringNumber && value); template explicit Any(rtl::OUStringNumber const &) = delete; + template explicit inline Any(const rtl::OUStringLiteral& 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 && value): {} template Any::Any(rtl::OUStringNumber && value): Any(rtl::OUString(std::move(value))) {} +template +Any::Any(const rtl::OUStringLiteral& value): Any(rtl::OUString(value)) {} #endif inline Any::Any( const Any & rAny ) -- cgit