[Libreoffice-commits] core.git: sc/source

Miklos Vajna vmiklos at collabora.co.uk
Fri Apr 3 11:55:37 PDT 2015


 sc/source/ui/condformat/colorformat.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b326270fb921b3c2e7fff2da76ebae33adcaef3d
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Apr 3 20:55:04 2015 +0200

    sc: no need to pass these by value
    
    Change-Id: Iab334625fbbe2a8d991a17b05538897a23fc34db

diff --git a/sc/source/ui/condformat/colorformat.cxx b/sc/source/ui/condformat/colorformat.cxx
index dc044be4..0376889 100644
--- a/sc/source/ui/condformat/colorformat.cxx
+++ b/sc/source/ui/condformat/colorformat.cxx
@@ -185,7 +185,7 @@ void GetAxesPosition(ScDataBarFormatData* pData, const ListBox* rLbox)
     }
 }
 
-void SetBarLength(ScDataBarFormatData* pData, OUString minStr, OUString maxStr, SvNumberFormatter* mpNumberFormatter)
+void SetBarLength(ScDataBarFormatData* pData, const OUString& minStr, const OUString& maxStr, SvNumberFormatter* mpNumberFormatter)
 {
     double nMinValue = 0;
     sal_uInt32 nIndex = 0;


More information about the Libreoffice-commits mailing list