diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-11-23 10:44:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-11-23 14:39:44 +0100 |
commit | d20d4420870b586a3e8233ab1d8640d39eb714aa (patch) | |
tree | 4b2fcae8de92c1ef397ee2a31fd0d756d875d5c8 /compilerplugins/clang/test/unoany.cxx | |
parent | ea297ab09792fbab6daea2f383be2fbda4e046ab (diff) |
Improve wording of loplugin:unoany warnings
...which apparently caused confusion occasionally, cf.
<https://gerrit.libreoffice.org/#/c/58687/5> "Unit test for
0853b05b1fabb231a7d57d811c5a06ee542d3295".
Change-Id: I32f1137bcbb86ffa04bc1a6a58fc93ef69cb3022
Reviewed-on: https://gerrit.libreoffice.org/63874
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins/clang/test/unoany.cxx')
-rw-r--r-- | compilerplugins/clang/test/unoany.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/test/unoany.cxx b/compilerplugins/clang/test/unoany.cxx index 8c7ba7e90179..1b4bfaa2beec 100644 --- a/compilerplugins/clang/test/unoany.cxx +++ b/compilerplugins/clang/test/unoany.cxx @@ -19,8 +19,8 @@ int main() css::uno::Any b; a = b; a = getAny(); - a = css::uno::makeAny(true); // expected-error {{unnecessary copy, rather use <<= operator [loplugin:unoany]}} - a = css::uno::Any(true); // expected-error {{unnecessary copy, rather use <<= operator [loplugin:unoany]}} + 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]}} } |