diff options
author | Jens Carl <j.carl43@gmx.de> | 2018-01-23 21:44:58 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2018-01-25 23:29:29 +0100 |
commit | 4cdb7fa375ba1894deb412853214f01f95bd3f05 (patch) | |
tree | b0cb597221fbbf2b062f5aedeca0bda435197b45 /connectivity | |
parent | 0b14c0fbef7a6d3420e8da6ae44488b23de4c4fb (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/calc/CTable.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |