summaryrefslogtreecommitdiff
path: root/cui/source/options/optgenrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/optgenrl.cxx')
-rw-r--r--cui/source/options/optgenrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx
index c956a9eb1ed8..a9242cc40500 100644
--- a/cui/source/options/optgenrl.cxx
+++ b/cui/source/options/optgenrl.cxx
@@ -334,7 +334,7 @@ IMPL_LINK(SvxGeneralTabPage, ChooseKeyButtonHdl, weld::Button&, rButton, void)
}
else if (m_xEncryptionKeyButton.get() == &rButton)
{
- auto xCerts = xD->chooseEncryptionCertificate();
+ auto xCerts = xD->chooseEncryptionCertificate(css::security::CertificateKind_OPENPGP);
if(xCerts.hasElements())
xCertificate = xCerts[0];
}