summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-13 16:41:40 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-14 12:28:46 +0100
commit7dd028c0e498ba86d96e0e99744fec6ddc21a91d (patch)
tree38fc4a741aee2272ddfcd1f411920dd8fcd25f58 /sd/source
parent2ee0500b6033e7dbfef221e28042f23da361869e (diff)
cid#1545211 COPY_INSTEAD_OF_MOVE
and cid#1545218 COPY_INSTEAD_OF_MOVE cid#1545232 COPY_INSTEAD_OF_MOVE cid#1545243 COPY_INSTEAD_OF_MOVE cid#1545246 COPY_INSTEAD_OF_MOVE cid#1545251 COPY_INSTEAD_OF_MOVE cid#1545260 COPY_INSTEAD_OF_MOVE cid#1545261 COPY_INSTEAD_OF_MOVE cid#1545276 COPY_INSTEAD_OF_MOVE cid#1545295 COPY_INSTEAD_OF_MOVE cid#1545297 COPY_INSTEAD_OF_MOVE cid#1545301 COPY_INSTEAD_OF_MOVE cid#1545302 COPY_INSTEAD_OF_MOVE Change-Id: I97ba935a4a2b8715b55ebbf6e853a66260b2eb90 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160686 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/view/drviews2.cxx20
1 files changed, 12 insertions, 8 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 90cde7c792f5..54b16db4b1e7 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -289,23 +289,27 @@ private:
const OUString& aKey = pCustomPropertyField->GetName();
if (m_aKeyCreator.isMarkingTextKey(aKey))
{
- OUString aValue = svx::classification::getProperty(m_xPropertyContainer, aKey);
- m_aResults.push_back({ svx::ClassificationType::TEXT, aValue, sBlank, sBlank });
+ m_aResults.push_back({ svx::ClassificationType::TEXT,
+ svx::classification::getProperty(m_xPropertyContainer, aKey),
+ sBlank, sBlank });
}
else if (m_aKeyCreator.isCategoryNameKey(aKey) || m_aKeyCreator.isCategoryIdentifierKey(aKey))
{
- OUString aValue = svx::classification::getProperty(m_xPropertyContainer, aKey);
- m_aResults.push_back({ svx::ClassificationType::CATEGORY, aValue, sBlank, sBlank });
+ m_aResults.push_back({ svx::ClassificationType::CATEGORY,
+ svx::classification::getProperty(m_xPropertyContainer, aKey),
+ sBlank, sBlank });
}
else if (m_aKeyCreator.isMarkingKey(aKey))
{
- OUString aValue = svx::classification::getProperty(m_xPropertyContainer, aKey);
- m_aResults.push_back({ svx::ClassificationType::MARKING, aValue, sBlank, sBlank });
+ m_aResults.push_back({ svx::ClassificationType::MARKING,
+ svx::classification::getProperty(m_xPropertyContainer, aKey),
+ sBlank, sBlank });
}
else if (m_aKeyCreator.isIntellectualPropertyPartKey(aKey))
{
- OUString aValue = svx::classification::getProperty(m_xPropertyContainer, aKey);
- m_aResults.push_back({ svx::ClassificationType::INTELLECTUAL_PROPERTY_PART, aValue, sBlank, sBlank });
+ m_aResults.push_back({ svx::ClassificationType::INTELLECTUAL_PROPERTY_PART,
+ svx::classification::getProperty(m_xPropertyContainer, aKey),
+ sBlank, sBlank });
}
}
}