connectivity/source/drivers/calc/CTable.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4cdb7fa375ba1894deb412853214f01f95bd3f05
Author: Jens Carl <j.car...@gmx.de>
Date:   Tue Jan 23 21:44:58 2018 +0000

    Change property value to get CellContentType in connectivity/
    
    Follow up from commit cceaece18a42405190941865908636522e0ee4cb.
    
    Change-Id: I29df5403204279b038095156c85638877d2dc9ff
    Reviewed-on: https://gerrit.libreoffice.org/48465
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Jens Carl <j.car...@gmx.de>

diff --git a/connectivity/source/drivers/calc/CTable.cxx 
b/connectivity/source/drivers/calc/CTable.cxx
index 142e8a2bf6a6..37263aa5477f 100644
--- a/connectivity/source/drivers/calc/CTable.cxx
+++ b/connectivity/source/drivers/calc/CTable.cxx
@@ -146,11 +146,11 @@ static CellContentType lcl_GetContentOrResultType( const 
Reference<XCell>& xCell
         Reference<XPropertySet> xProp( xCell, UNO_QUERY );
         try
         {
-            xProp->getPropertyValue( "FormulaResultType" ) >>= eCellType;      
// type of formula result
+            xProp->getPropertyValue( "CellContentType" ) >>= eCellType;      
// type of formula result
         }
         catch (UnknownPropertyException&)
         {
-            eCellType = CellContentType_VALUE;  // if FormulaResultType 
property not available
+            eCellType = CellContentType_VALUE;  // if CellContentType property 
not available
         }
     }
     return eCellType;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to