From 2f5868c4309d49ad495e0763b5b57d1f7f98e377 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 9 Mar 2018 13:59:52 +0200 Subject: loplugin:redundantfcast look for redundant copies in return statements Change-Id: I5f416c865dfe1c36018784246a8007452eb42008 Reviewed-on: https://gerrit.libreoffice.org/50996 Tested-by: Jenkins Reviewed-by: Noel Grandin --- framework/source/uielement/statusbaritem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/source/uielement') diff --git a/framework/source/uielement/statusbaritem.cxx b/framework/source/uielement/statusbaritem.cxx index a4b02738fe9a..959ea4fbec29 100644 --- a/framework/source/uielement/statusbaritem.cxx +++ b/framework/source/uielement/statusbaritem.cxx @@ -119,7 +119,7 @@ OUString SAL_CALL StatusbarItem::getCommand() if ( m_pStatusBar ) return m_pStatusBar->GetItemOffset( m_nId ); - return ::sal_Int32(0); + return 0; } css::awt::Rectangle SAL_CALL StatusbarItem::getItemRect() -- cgit