sc/source/filter/xcl97/XclExpChangeTrack.cxx | 2 -- 1 file changed, 2 deletions(-)
New commits: commit 3da00be8cf0e434eae6db83c2089974c9ba86230 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Mar 28 17:44:31 2022 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Mar 28 23:24:40 2022 +0200 -Werror,-Wunused-but-set-variable ...since fa44673e154ed4fb0b518b8850e2f6e4b9069531 "bnc#885548: Adjust xlsx export of revisions to get it to work in Excel." Change-Id: I4e9c8d176cc5bd3ff1f374fcbcf16c738ebf2388 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132240 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sc/source/filter/xcl97/XclExpChangeTrack.cxx b/sc/source/filter/xcl97/XclExpChangeTrack.cxx index a267dcd9168c..5ebe27d36103 100644 --- a/sc/source/filter/xcl97/XclExpChangeTrack.cxx +++ b/sc/source/filter/xcl97/XclExpChangeTrack.cxx @@ -1430,7 +1430,6 @@ XclExpChangeTrack::XclExpChangeTrack( const XclExpRoot& rRoot ) : OUString sLastUsername; DateTime aLastDateTime( DateTime::EMPTY ); sal_uInt32 nIndex = 1; - sal_Int32 nLogNumber = 1; sal_uInt8 aGUID[ 16 ]; // GUID for action info records bool bValidGUID = false; while( !aActionStack.empty() ) @@ -1446,7 +1445,6 @@ XclExpChangeTrack::XclExpChangeTrack( const XclExpRoot& rRoot ) : sLastUsername = pAction->GetUsername(); aLastDateTime = pAction->GetDateTime(); - nLogNumber++; maRecList.push_back( std::unique_ptr<ExcRecord>(new XclExpChTrInfo(sLastUsername, aLastDateTime, aGUID)) ); maRecList.push_back( std::unique_ptr<ExcRecord>(new XclExpChTrTabId(pAction->GetTabIdBuffer())) ); pHeader->SetGUID( aGUID );