[Libreoffice-commits] .: Branch 'feature/matrix-new-backend' - sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Wed Jul 18 14:12:39 PDT 2012


 sc/source/core/tool/scmatrix.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7e8d977556a474f1e25467f70bba2cf3e1ab484d
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Wed Jul 18 17:14:35 2012 -0400

    This should be bool.
    
    Change-Id: I20cb39a12b4e50ebb8ef118989252a01f65185e4

diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 0a5f680..d0d3fce 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -678,7 +678,7 @@ rtl::OUString ScMatrixImpl::GetString( SvNumberFormatter& rFormatter, SCSIZE nC,
             return maMat.get<rtl::OUString>(nR, nC);
         case mdds::mtm::element_empty:
         {
-            if (!maMatFlag.get<double>(nR, nC))
+            if (!maMatFlag.get<bool>(nR, nC))
                 // not an empty path.
                 break;
 


More information about the Libreoffice-commits mailing list