From 99a735474db0a7a422fea948e3e0dc460566e8f6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 13 Jul 2017 11:44:48 +0200 Subject: loplugin:oncevar: empty strings: svx Change-Id: I371e3b76cca006125629e7ceeed52873836c8ccc --- svx/source/dialog/imapdlg.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'svx/source/dialog/imapdlg.cxx') diff --git a/svx/source/dialog/imapdlg.cxx b/svx/source/dialog/imapdlg.cxx index e64dd30470d9..4c9325902254 100644 --- a/svx/source/dialog/imapdlg.cxx +++ b/svx/source/dialog/imapdlg.cxx @@ -588,7 +588,6 @@ void SvxIMapDlg::SetActiveTool( sal_uInt16 nId ) IMPL_LINK( SvxIMapDlg, InfoHdl, IMapWindow&, rWnd, void ) { - OUString aStr; const NotifyInfo& rInfo = rWnd.GetInfo(); if ( rInfo.bNewObj ) @@ -611,7 +610,7 @@ IMPL_LINK( SvxIMapDlg, InfoHdl, IMapWindow&, rWnd, void ) m_pTbxIMapDlg1->EnableItem( mnActiveId, false ); m_pTbxIMapDlg1->EnableItem( mnMacroId, false ); m_pTbxIMapDlg1->EnableItem( mnPropertyId, false ); - m_pStbStatus->SetItemText( 1, aStr ); + m_pStbStatus->SetItemText( 1, OUString() ); m_pFtURL->Disable(); m_pURLBox->Disable(); -- cgit