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

Kohei Yoshida kohei.yoshida at collabora.com
Thu Jun 26 10:37:22 PDT 2014


 svl/source/misc/gridprinter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b2bbd5375ab6ca6ddf4c133d2fdf0b5e38d818b5
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Thu Jun 26 13:36:15 2014 -0400

    Initialize it with empty OUString instances.
    
    Since we only store strings the matrix.
    
    Change-Id: Ie30e9ce0235810b3082ba13ac17c7d1b3c19375a

diff --git a/svl/source/misc/gridprinter.cxx b/svl/source/misc/gridprinter.cxx
index c36de35..a472649 100644
--- a/svl/source/misc/gridprinter.cxx
+++ b/svl/source/misc/gridprinter.cxx
@@ -56,7 +56,7 @@ struct GridPrinter::Impl
     bool mbPrint;
 
     Impl( size_t nRows, size_t nCols, bool bPrint ) :
-        maMatrix(nRows, nCols), mbPrint(bPrint) {}
+        maMatrix(nRows, nCols, OUString()), mbPrint(bPrint) {}
 };
 
 GridPrinter::GridPrinter( size_t nRows, size_t nCols, bool bPrint ) :


More information about the Libreoffice-commits mailing list