summaryrefslogtreecommitdiff
path: root/sw/inc/editsh.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-05-18 09:16:30 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-05-18 08:52:27 +0000
commitff42ad90bae398285eb630c34be230a4f0619d68 (patch)
tree0fe566cc0e1234a554c0678b38a224b1ca60a357 /sw/inc/editsh.hxx
parent433cb02f88c75428fe5a34ca090fd43ae1cc855d (diff)
sfx2 classification: add Type parameter to the UNO command
So that sc/sd/sw doesn't have to hardcode SfxClassificationPolicyType::IntellectualProperty. Change-Id: Ib7c2376622ecaa8c7fc8401cec2ba16d12b8b8d2 Reviewed-on: https://gerrit.libreoffice.org/25078 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r--sw/inc/editsh.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index ccc323105681..47d472b8c942 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -99,6 +99,7 @@ class SwAuthEntry;
class SwRewriter;
struct SwConversionArgs;
enum class SvtScriptType;
+enum class SfxClassificationPolicyType;
namespace com { namespace sun { namespace star { namespace uno {
template < class > class Sequence;
}}}}
@@ -359,7 +360,7 @@ public:
SwCharFormat* GetCharFormatFromPool( sal_uInt16 nId )
{ return static_cast<SwCharFormat*>(SwEditShell::GetFormatFromPool( nId )); }
- void SetClassification(const OUString& rName);
+ void SetClassification(const OUString& rName, SfxClassificationPolicyType eType);
void Insert2(SwField&, const bool bForceExpandHints = false);