diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-05-17 15:56:05 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-05-18 07:03:14 +0000 |
commit | 11f27739ffb0f069a145e411b2ae6b6fb5e16f7a (patch) | |
tree | 8be031a02dd55ade1558fbe46efd37fd37869d61 /sc/source | |
parent | 45ec74a080e17fc1b521d009d9a5a630a6434bab (diff) |
sfx2 classification: specify policy type when setting a category
This will allow specifying multiple categories for multiple policy
types.
Separate storage and .uno: command support is still missing, though.
Change-Id: I47f6ac2e2b0ba2632b32349e4e004ffade05784a
Reviewed-on: https://gerrit.libreoffice.org/25064
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/view/formatsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index 7b4ba77fbd20..4bec4fbb58b2 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -974,7 +974,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq ) { const OUString& rName = static_cast<const SfxStringItem*>(pItem)->GetValue(); SfxClassificationHelper aHelper(pDocSh->getDocProperties()); - aHelper.SetBACName(rName); + aHelper.SetBACName(rName, SfxClassificationPolicyType::IntellectualProperty); } else SAL_WARN("sc.ui", "missing parameter for SID_CLASSIFICATION_APPLY"); |