summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2017-11-06 16:55:15 +0900
committerTomaž Vajngerl <quikee@gmail.com>2017-11-06 11:46:55 +0100
commitfe2e279c0817827ba61c37735dfd098bfe3337fe (patch)
tree0664303c2cab146ce3b96f33cd268e115fc5851b /sd
parenta2577767623e4250cc72701ff4075d27aaf4291f (diff)
TSCP: need to enumerate the marker and IPPart properties too
Change-Id: Ibc8643667c3ae352107a93dcce2be02b1a9af06f Reviewed-on: https://gerrit.libreoffice.org/44344 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drviews2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 02677ab4846d..6e327c690ae1 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -405,7 +405,7 @@ private:
{
case svx::ClassificationType::TEXT:
{
- OUString sKey = m_aKeyCreator.makeNumberedMarkingTextKey();
+ OUString sKey = m_aKeyCreator.makeNumberedTextKey();
svx::classification::addOrInsertDocumentProperty(m_xPropertyContainer, sKey, rResult.msName);
pOutliner->QuickInsertField(SvxFieldItem(editeng::CustomPropertyField(sKey, rResult.msName), EE_FEATURE_FIELD), aPosition);
}
@@ -420,7 +420,7 @@ private:
case svx::ClassificationType::MARKING:
{
- OUString sKey = m_aKeyCreator.makeMarkingKey();
+ OUString sKey = m_aKeyCreator.makeNumberedMarkingKey();
svx::classification::addOrInsertDocumentProperty(m_xPropertyContainer, sKey, rResult.msName);
pOutliner->QuickInsertField(SvxFieldItem(editeng::CustomPropertyField(sKey, rResult.msName), EE_FEATURE_FIELD), aPosition);
}
@@ -428,7 +428,7 @@ private:
case svx::ClassificationType::INTELLECTUAL_PROPERTY_PART:
{
- OUString sKey = m_aKeyCreator.makeIntellectualPropertyPartKey();
+ OUString sKey = m_aKeyCreator.makeNumberedIntellectualPropertyPartKey();
svx::classification::addOrInsertDocumentProperty(m_xPropertyContainer, sKey, rResult.msName);
pOutliner->QuickInsertField(SvxFieldItem(editeng::CustomPropertyField(sKey, rResult.msName), EE_FEATURE_FIELD), aPosition);
}