compilerplugins/clang/unusedfields.writeonly.results |    2 --
 xmlsecurity/inc/certificatechooser.hxx               |    1 -
 xmlsecurity/source/dialogs/certificatechooser.cxx    |    1 -
 3 files changed, 4 deletions(-)

New commits:
commit 687ae6ca01177a04f9ea715a1f1cd70f385a0840
Author:     Moritz Duge <moritz.d...@allotropia.de>
AuthorDate: Wed May 1 17:09:13 2024 +0200
Commit:     Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>
CommitDate: Thu May 2 08:41:17 2024 +0200

    Drop unused instance variable.
    
    Change-Id: Iee32e4348526e54e0cc45a54e55eddb6479248e0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166968
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>

diff --git a/compilerplugins/clang/unusedfields.writeonly.results 
b/compilerplugins/clang/unusedfields.writeonly.results
index a2110d149d2c..268c7478b84f 100644
--- a/compilerplugins/clang/unusedfields.writeonly.results
+++ b/compilerplugins/clang/unusedfields.writeonly.results
@@ -1351,8 +1351,6 @@ xmloff/source/forms/officeforms.hxx:68
 xmloff/source/text/txtimp.cxx:104
     XMLTextImportHelper::Impl m_xFrameImpPrMap 
rtl::Reference<SvXMLImportPropertyMapper>
 xmlsecurity/inc/certificatechooser.hxx:57
-    CertificateChooser mvUserData std::vector<std::shared_ptr<UserData> >
-xmlsecurity/inc/certificateviewer.hxx:51
     CertificateViewer mxGeneralPage std::unique_ptr<CertificateViewerGeneralTP>
 xmlsecurity/inc/certificateviewer.hxx:52
     CertificateViewer mxDetailsPage std::unique_ptr<CertificateViewerDetailsTP>
diff --git a/xmlsecurity/inc/certificatechooser.hxx 
b/xmlsecurity/inc/certificatechooser.hxx
index 494ea40de1e4..33458c27cd04 100644
--- a/xmlsecurity/inc/certificatechooser.hxx
+++ b/xmlsecurity/inc/certificatechooser.hxx
@@ -51,7 +51,6 @@ class CertificateChooser final : public 
weld::GenericDialogController
 {
 private:
     std::vector< css::uno::Reference< css::xml::crypto::XXMLSecurityContext > 
> mxSecurityContexts;
-    std::vector<std::shared_ptr<CertificateChooserUserData>> mvUserData;
 
     bool                    mbInitialized;
     CertificateChooserUserAction const meAction;
diff --git a/xmlsecurity/source/dialogs/certificatechooser.cxx 
b/xmlsecurity/source/dialogs/certificatechooser.cxx
index 32e75f91f211..2bae90cd7d70 100644
--- a/xmlsecurity/source/dialogs/certificatechooser.cxx
+++ b/xmlsecurity/source/dialogs/certificatechooser.cxx
@@ -216,7 +216,6 @@ void CertificateChooser::ImplInitialize(bool mbSearch)
             userData->xCertificate = xCert;
             userData->xSecurityContext = secContext;
             userData->xSecurityEnvironment = secEnvironment;
-            mvUserData.push_back(userData);
 
             OUString sIssuer = xmlsec::GetContentPart( xCert->getIssuerName(), 
xCert->getCertificateKind());
             OUString sExpDate = utl::GetDateString(xCert->getNotValidAfter());

Reply via email to