summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-05 11:42:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-05 14:26:32 +0200
commitabac7828ae85ecb42e73e83141f6e6c475b66db2 (patch)
tree6193de3f3ed7fa8cc385207d7dfcb11d984b1a23 /include/tools
parent6e2e8b1fe932fef6cf4d5bf7ccda604dfc2f70ad (diff)
Deprecate css::uno::makeAny; completely disable it for LIBO_INTERNAL_ONLY
There is just no good reason not to use a css::uno::Any constructor instead, so simplify the code base. For URE backwards compatibility, keep it around as deprecated for !LIBO_INTERNAL_ONLY. Change-Id: I9409d8853cac270d47377a31ba35a1fc23fa9800 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133879 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/color.hxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/tools/color.hxx b/include/tools/color.hxx
index e2b1783f5e5d..0d4990b63eab 100644
--- a/include/tools/color.hxx
+++ b/include/tools/color.hxx
@@ -438,12 +438,6 @@ inline void operator <<=( css::uno::Any & rAny, Color value )
namespace com::sun::star::uno {
template<> inline Any::Any(Color const & value): Any(sal_Int32(value)) {}
-
- template<>
- inline Any makeAny( Color const & value )
- {
- return Any(sal_Int32(value));
- }
}
// Test compile time conversion of Color to sal_uInt32