summaryrefslogtreecommitdiff
path: root/sc/source/core/data/pivot2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/pivot2.cxx')
-rw-r--r--sc/source/core/data/pivot2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/pivot2.cxx b/sc/source/core/data/pivot2.cxx
index 62a2f3b508f0..cbb6f838b1ec 100644
--- a/sc/source/core/data/pivot2.cxx
+++ b/sc/source/core/data/pivot2.cxx
@@ -62,7 +62,7 @@ ScDPLabelData::Member::Member() :
mbShowDetails(true)
{}
-OUString ScDPLabelData::Member::getDisplayName() const
+OUString const & ScDPLabelData::Member::getDisplayName() const
{
if (!maLayoutName.isEmpty())
return maLayoutName;
@@ -83,7 +83,7 @@ ScDPLabelData::ScDPLabelData() :
mbRepeatItemLabels(false)
{}
-OUString ScDPLabelData::getDisplayName() const
+OUString const & ScDPLabelData::getDisplayName() const
{
if (!maLayoutName.isEmpty())
return maLayoutName;