-Werror,-Wunused-variable

Change-Id: I50b99a129f6a102be7120da318533cbbdd0af105
This commit is contained in:
Stephan Bergmann
2013-10-08 11:04:08 +02:00
parent 849c890ebc
commit 829752d315

View File

@@ -1232,7 +1232,6 @@ void SAL_CALL ScDataPilotTableObj::setTag( const OUString& aNewTag )
ScDPObject* pDPObj = lcl_GetDPObject(GetDocShell(), nTab, aName); ScDPObject* pDPObj = lcl_GetDPObject(GetDocShell(), nTab, aName);
if (pDPObj) if (pDPObj)
{ {
OUString aString(aNewTag);
pDPObj->SetTag( aNewTag ); //! Undo - DBDocFunc ??? pDPObj->SetTag( aNewTag ); //! Undo - DBDocFunc ???
// DataPilotUpdate would do too much (output table is not changed) // DataPilotUpdate would do too much (output table is not changed)