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

Tor Lillqvist tml at collabora.com
Fri Oct 7 07:45:33 UTC 2016


 sc/source/core/data/column2.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit bdb36cde1858efa8dfdc16ebb7f4baf87a5426da
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Oct 7 10:32:48 2016 +0300

    loplugin:defaultparams
    
    Change-Id: I2bf415d8565c5b290ae2d62d321de58360f79612

diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index 063e14e..0538c0e 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -581,7 +581,7 @@ class MaxStrLenFinder
         Color* pColor;
         OUString aValStr;
         ScCellFormat::GetString(
-            rCell, mnFormat, aValStr, &pColor, *mrDoc.GetFormatTable(), &mrDoc, true, false);
+            rCell, mnFormat, aValStr, &pColor, *mrDoc.GetFormatTable(), &mrDoc);
 
         if (aValStr.getLength() > mnMaxLen)
         {
@@ -668,7 +668,7 @@ sal_uInt16 ScColumn::GetOptimalColWidth(
         {
             ScRefCellValue aCell = GetCellValue(pParam->mnMaxTextRow);
             ScCellFormat::GetString(
-                aCell, nFormat, aLongStr, &pColor, *pFormatter, pDocument, true, false);
+                aCell, nFormat, aLongStr, &pColor, *pFormatter, pDocument);
         }
         else
         {


More information about the Libreoffice-commits mailing list