From abac7828ae85ecb42e73e83141f6e6c475b66db2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 5 May 2022 11:42:23 +0200 Subject: 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 --- compilerplugins/clang/test/unoany.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'compilerplugins') diff --git a/compilerplugins/clang/test/unoany.cxx b/compilerplugins/clang/test/unoany.cxx index 15c4b3ae2436..b5d91007f80f 100644 --- a/compilerplugins/clang/test/unoany.cxx +++ b/compilerplugins/clang/test/unoany.cxx @@ -22,7 +22,6 @@ int main() css::uno::Any b; a = b; a = getAny(); - a = css::uno::makeAny(true); // expected-error {{unnecessary copy, rather use <<= operator directly with the 'makeAny' argument [loplugin:unoany]}} a = css::uno::Any(true); // expected-error {{unnecessary copy, rather use <<= operator directly with the 'Any' constructor argument [loplugin:unoany]}} } -- cgit