summaryrefslogtreecommitdiff
path: root/include/sfx2/docfilt.hxx
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2017-08-17 17:56:45 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-08-30 17:56:41 +0200
commitdce78f9caae194da13fa5399298d57701abc8744 (patch)
treeca9f7a0fea6139370c02a17262d7dfc0cba1d3f0 /include/sfx2/docfilt.hxx
parentd5189db4df292501cf18ad84e406d6401d14a5ce (diff)
gpg4libre: Add flag for filters that support GPG encryption
Change-Id: I48518f26a3ccbe430d36fb6657bdeff0943492d3 Reviewed-on: https://gerrit.libreoffice.org/41263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'include/sfx2/docfilt.hxx')
-rw-r--r--include/sfx2/docfilt.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sfx2/docfilt.hxx b/include/sfx2/docfilt.hxx
index 47454f90e742..75b889f451d3 100644
--- a/include/sfx2/docfilt.hxx
+++ b/include/sfx2/docfilt.hxx
@@ -78,6 +78,7 @@ public:
bool IsOwnFormat() const { return bool(nFormatType & SfxFilterFlags::OWN); }
/// If the filter supports digital signatures.
bool GetSupportsSigning() const { return bool(nFormatType & SfxFilterFlags::SUPPORTSSIGNING); }
+ bool GetGpgEncryption() const { return bool(nFormatType & SfxFilterFlags::GPGENCRYPTION); }
bool IsOwnTemplateFormat() const { return bool(nFormatType & SfxFilterFlags::TEMPLATEPATH); }
bool IsAlienFormat() const { return bool(nFormatType & SfxFilterFlags::ALIEN); }
bool CanImport() const { return bool(nFormatType & SfxFilterFlags::IMPORT); }