[Libreoffice-commits] core.git: include/svx

Stephan Bergmann sbergman at redhat.com
Thu Jul 14 09:19:52 UTC 2016


 include/svx/SvxPresetListBox.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b48f0eed566683b8e10e7494d5fb02f3dd42968d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jul 14 11:19:19 2016 +0200

    loplugin:passstuffbyref
    
    Change-Id: Ia53c80a4018ea99141cf6b4cd826d78210c5b2dc

diff --git a/include/svx/SvxPresetListBox.hxx b/include/svx/SvxPresetListBox.hxx
index bb4429d..17a9f94 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; }


More information about the Libreoffice-commits mailing list