summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-14 11:19:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-14 11:19:19 +0200
commitb48f0eed566683b8e10e7494d5fb02f3dd42968d (patch)
tree36849af7c05343efbfb08dde25a93eee4f13e6e8 /include/svx
parentbe95afad421230784f0ea1ec2054974c4359b9fa (diff)
loplugin:passstuffbyref
Change-Id: Ia53c80a4018ea99141cf6b4cd826d78210c5b2dc
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/SvxPresetListBox.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/SvxPresetListBox.hxx b/include/svx/SvxPresetListBox.hxx
index bb4429d64074..17a9f94f6952 100644
--- a/include/svx/SvxPresetListBox.hxx
+++ b/include/svx/SvxPresetListBox.hxx
@@ -47,7 +47,7 @@ public:
virtual void Resize() override;
virtual void Command( const CommandEvent& rEvt ) override;
sal_uInt32 getColumnCount() const { return nColCount; }
- Size GetIconSize() const { return aIconSize; }
+ Size const & GetIconSize() const { return aIconSize; }
void setColumnCount( const sal_uInt32 nCount ) { nColCount = nCount; }
void setRowCount( const sal_uInt32 nRow ) { nRowCount = nRow; }