summaryrefslogtreecommitdiff
path: root/svx/source/xoutdev/xtabdash.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-18 09:22:27 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-27 06:48:25 +0000
commit508c95f1b655d9cfa6be37a5a9de9aff6fd383bf (patch)
treed1c8626818cbf26a699875ae2d82f751a1657e92 /svx/source/xoutdev/xtabdash.cxx
parent9f4af777a832d8a0b9a21d793d421fa6228131e0 (diff)
improve passstuffbyref return analysis
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/xoutdev/xtabdash.cxx')
-rw-r--r--svx/source/xoutdev/xtabdash.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/xoutdev/xtabdash.cxx b/svx/source/xoutdev/xtabdash.cxx
index 52c2209f0a3c..40021aef04d4 100644
--- a/svx/source/xoutdev/xtabdash.cxx
+++ b/svx/source/xoutdev/xtabdash.cxx
@@ -189,7 +189,7 @@ Bitmap XDashList::CreateBitmapForUI( long nIndex )
return ImpCreateBitmapForXDash(&rDash);
}
-Bitmap XDashList::GetBitmapForUISolidLine() const
+Bitmap const & XDashList::GetBitmapForUISolidLine() const
{
if(maBitmapSolidLine.IsEmpty())
{
@@ -199,7 +199,7 @@ Bitmap XDashList::GetBitmapForUISolidLine() const
return maBitmapSolidLine;
}
-OUString XDashList::GetStringForUiSolidLine() const
+OUString const & XDashList::GetStringForUiSolidLine() const
{
if(maStringSolidLine.isEmpty())
{
@@ -209,7 +209,7 @@ OUString XDashList::GetStringForUiSolidLine() const
return maStringSolidLine;
}
-OUString XDashList::GetStringForUiNoLine() const
+OUString const & XDashList::GetStringForUiNoLine() const
{
if(maStringNoLine.isEmpty())
{