diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx index 2794d9e7028e..180c06129c36 100644 --- a/sc/source/ui/unoobj/dapiuno.cxx +++ b/sc/source/ui/unoobj/dapiuno.cxx @@ -1232,7 +1232,6 @@ void SAL_CALL ScDataPilotTableObj::setTag( const OUString& aNewTag ) ScDPObject* pDPObj = lcl_GetDPObject(GetDocShell(), nTab, aName); if (pDPObj) { - OUString aString(aNewTag); pDPObj->SetTag( aNewTag ); //! Undo - DBDocFunc ??? // DataPilotUpdate would do too much (output table is not changed)