summaryrefslogtreecommitdiff
path: root/include/sfx2/classificationhelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-27 12:39:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-27 15:39:29 +0100
commita967c8f6847cf9cbd6e0f4b9f58f2023e1f92ae5 (patch)
treea00a7d73a3aa5d6d972c8a66e9357637edf62f9b /include/sfx2/classificationhelper.hxx
parent33bd6c3e3512bf96376534e116d6f9f60d157be9 (diff)
loplugin:passstuffbyref improved return in xmloff,sfx2
Change-Id: I7161dfca77f944027bd20614616e22d6acfa27cd Reviewed-on: https://gerrit.libreoffice.org/47081 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/classificationhelper.hxx')
-rw-r--r--include/sfx2/classificationhelper.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/classificationhelper.hxx b/include/sfx2/classificationhelper.hxx
index dada1dcafc82..2be662aa1a9c 100644
--- a/include/sfx2/classificationhelper.hxx
+++ b/include/sfx2/classificationhelper.hxx
@@ -89,9 +89,9 @@ public:
bool HasDocumentFooter();
void UpdateInfobar(SfxViewFrame& rViewFrame);
- const std::vector<OUString> GetMarkings();
- const std::vector<OUString> GetIntellectualPropertyParts();
- const std::vector<OUString> GetIntellectualPropertyPartNumbers();
+ std::vector<OUString> const & GetMarkings();
+ std::vector<OUString> const & GetIntellectualPropertyParts();
+ std::vector<OUString> const & GetIntellectualPropertyPartNumbers();
/// Does a best-effort conversion of rType to SfxClassificationPolicyType.
static SfxClassificationPolicyType stringToPolicyType(const OUString& rType);
@@ -130,7 +130,7 @@ private:
sal_Int32 m_nIPPartNumber;
sal_Int32 m_nMarkingNumber;
- OUString getPolicyKey() const
+ OUString const & getPolicyKey() const
{
return m_sPolicy;
}