diff options
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; |