From 992a33313046f4a4d322db9464c474e7429a019a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 6 Apr 2017 10:47:24 +0200 Subject: clang-tidy: readability-else-after-return run it against sal,cppu,cppuhelper I had to run this multiple times to catch all the cases in each module, and it requires some hand-tweaking of the resulting output - clang-tidy is not very good about cleaning up trailing spaces, and aligning things nicely. Change-Id: I00336345f5f036e12422b98d66526509380c497a Reviewed-on: https://gerrit.libreoffice.org/36194 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- cppu/qa/test_reference.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cppu/qa/test_reference.cxx') diff --git a/cppu/qa/test_reference.cxx b/cppu/qa/test_reference.cxx index 15a926f50a9a..3c6b7af1eb9e 100644 --- a/cppu/qa/test_reference.cxx +++ b/cppu/qa/test_reference.cxx @@ -56,7 +56,7 @@ public: return css::uno::makeAny>( this); } - else if (_type == cppu::UnoType::get()) + if (_type == cppu::UnoType::get()) { return css::uno::makeAny>(this); } -- cgit