diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-02-23 12:38:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-02-23 13:33:33 +0100 |
commit | e7f82300b9a6317ecca2a338234cc27c12b5cb2b (patch) | |
tree | 9340f70931545b2d53ba474ed5e82d5a7eaa3222 /sfx2/source | |
parent | c9dda083b401516500afff024ce3f663292db341 (diff) |
loplugin:unusedfields
Change-Id: Ieb1b890040964e755de5bdf5f8576d4d3bd8a407
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111386
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/doc/docmacromode.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/source/doc/docmacromode.cxx b/sfx2/source/doc/docmacromode.cxx index c49f7cec00c6..6bc0af19f2c5 100644 --- a/sfx2/source/doc/docmacromode.cxx +++ b/sfx2/source/doc/docmacromode.cxx @@ -127,8 +127,7 @@ namespace sfx2 //= DocumentMacroMode DocumentMacroMode::DocumentMacroMode( IMacroDocumentAccess& rDocumentAccess ) - :m_xData( std::make_shared<DocumentMacroMode_Data>( rDocumentAccess ) ), - m_bNeedsContentSigned(false) + :m_xData( std::make_shared<DocumentMacroMode_Data>( rDocumentAccess ) ) { } @@ -416,8 +415,6 @@ namespace sfx2 { if (m_xData->m_rDocumentAccess.documentStorageHasMacros() || hasMacroLibrary() || m_xData->m_rDocumentAccess.macroCallsSeenWhileLoading()) { - if (m_xData->m_rDocumentAccess.macroCallsSeenWhileLoading()) - m_bNeedsContentSigned = true; bAllow = adjustMacroMode( rxInteraction, bHasValidContentSignature ); } else if ( !isMacroExecutionDisallowed() ) |