summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviews2.cxx')
-rw-r--r--sd/source/ui/view/drviews2.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 3b7f2346e219..436153a1ca94 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -322,6 +322,7 @@ public:
{
bFound = true;
m_pRectObject = pRectObject;
+ const OUString sBlank("");
for (editeng::Section const & rSection : aSections)
{
const SvxFieldItem* pFieldItem = findField(rSection);
@@ -332,22 +333,22 @@ public:
if (aKey.startsWith(sPolicy + "Marking:Text:"))
{
OUString aValue = lcl_getProperty(xPropertyContainer, aKey);
- m_aResults.push_back({ svx::ClassificationType::TEXT, aValue, nParagraph });
+ m_aResults.push_back({ svx::ClassificationType::TEXT, aValue, sBlank, nParagraph });
}
else if (aKey.startsWith(sPolicy + "BusinessAuthorizationCategory:Name"))
{
OUString aValue = lcl_getProperty(xPropertyContainer, aKey);
- m_aResults.push_back({ svx::ClassificationType::CATEGORY, aValue, nParagraph });
+ m_aResults.push_back({ svx::ClassificationType::CATEGORY, aValue, sBlank, nParagraph });
}
else if (aKey.startsWith(sPolicy + "Extension:Marking"))
{
OUString aValue = lcl_getProperty(xPropertyContainer, aKey);
- m_aResults.push_back({ svx::ClassificationType::MARKING, aValue, nParagraph });
+ m_aResults.push_back({ svx::ClassificationType::MARKING, aValue, sBlank, nParagraph });
}
else if (aKey.startsWith(sPolicy + "Extension:IntellectualPropertyPart"))
{
OUString aValue = lcl_getProperty(xPropertyContainer, aKey);
- m_aResults.push_back({ svx::ClassificationType::INTELLECTUAL_PROPERTY_PART, aValue, nParagraph });
+ m_aResults.push_back({ svx::ClassificationType::INTELLECTUAL_PROPERTY_PART, aValue, sBlank, nParagraph });
}
}
}