diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-03-28 17:44:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-03-28 23:24:40 +0200 |
commit | 3da00be8cf0e434eae6db83c2089974c9ba86230 (patch) | |
tree | 9d3ec5b4083498d82f0b16e0bc545ae692a3cc80 /sc | |
parent | 2866b1a84e2667c9dd58955d3cd73b262ff6860b (diff) |
-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 <sbergman@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xcl97/XclExpChangeTrack.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
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 ); |