diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-05-17 15:56:05 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-08 10:02:35 +0200 |
commit | dabe8376f8c11026b66d140e15e0f4a097428f2d (patch) | |
tree | 65d60b7fea2cb84a6266056b47f87b99b9085351 /sw | |
parent | 3d56c3b6224c85062b27e9c3f92d2fe10440da7a (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>
(cherry picked from commit 11f27739ffb0f069a145e411b2ae6b6fb5e16f7a)
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/edit/edfcol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx index 2712c8ab6969..78d96d4d3bf0 100644 --- a/sw/source/core/edit/edfcol.cxx +++ b/sw/source/core/edit/edfcol.cxx @@ -182,7 +182,7 @@ void SwEditShell::SetClassification(const OUString& rName) bool bHadWatermark = !aHelper.GetDocumentWatermark().isEmpty(); // This updates the infobar as well. - aHelper.SetBACName(rName); + aHelper.SetBACName(rName, SfxClassificationPolicyType::IntellectualProperty); bool bHeaderIsNeeded = aHelper.HasDocumentHeader(); bool bFooterIsNeeded = aHelper.HasDocumentFooter(); |