summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-05-19 17:26:57 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-05-19 17:10:53 +0000
commit16a8a52c84b8fd0c062fe8915838e2fbcd730cdf (patch)
treeb92dbd7837445838b8488d6b9704eb6fb7892fba /include
parent2d3f0f2dade850af8b7e179bcc076f1ba543bfbd (diff)
sfx2 classification toolbar: add listboxes for all policy types
Previously only a single listbox was shown, but SfxClassificationPolicyType has 3 elements. Change-Id: Id51b73467ff4e85a1cef3e1aa71f636ae7c7afb9 Reviewed-on: https://gerrit.libreoffice.org/25161 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/classificationhelper.hxx6
-rw-r--r--include/sfx2/sfx.hrc2
2 files changed, 5 insertions, 3 deletions
diff --git a/include/sfx2/classificationhelper.hxx b/include/sfx2/classificationhelper.hxx
index 6497d08323a8..cc7a66f3de33 100644
--- a/include/sfx2/classificationhelper.hxx
+++ b/include/sfx2/classificationhelper.hxx
@@ -36,9 +36,9 @@ enum class SfxClassificationCheckPasteResult
/// Specifies a policy type, to be used with SetBACName(). Getters always use IntellectualProperty for now.
enum class SfxClassificationPolicyType
{
- ExportControl,
- NationalSecurity,
- IntellectualProperty
+ ExportControl = 1,
+ NationalSecurity = 2,
+ IntellectualProperty = 3
};
/// Shared code to handle Business Authorization Identification and Labeling Scheme (BAILS) properties.
diff --git a/include/sfx2/sfx.hrc b/include/sfx2/sfx.hrc
index 9309cd338c08..0c0921d431a0 100644
--- a/include/sfx2/sfx.hrc
+++ b/include/sfx2/sfx.hrc
@@ -157,6 +157,8 @@
#define STR_TARGET_DOC_NOT_CLASSIFIED (RID_SFX_START+132)
#define STR_DOC_CLASSIFICATION_TOO_LOW (RID_SFX_START+133)
#define STR_CLASSIFIED_INTELLECTUAL_PROPERTY (RID_SFX_START+134)
+#define STR_CLASSIFIED_NATIONAL_SECURITY (RID_SFX_START+135)
+#define STR_CLASSIFIED_EXPORT_CONTROL (RID_SFX_START+136)
#define STR_ACCTITLE_PRODUCTIVITYTOOLS (RID_SFX_START+157)
#define SFX_THUMBNAIL_TEXT (RID_SFX_START+158)