Bug 92455

Summary: inconsistent unit handling
Product: LibreOffice Reporter: Markus Mohrhard <markus.mohrhard>
Component: CalcAssignee: Ben <benjaminniri>
Status: RESOLVED FIXED    
Severity: normal CC: andrzej, benjaminniri
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description Markus Mohrhard 2015-06-30 12:46:10 UTC
The unit handling when it comes to the "Data->Convert Units" dialog is inconsistent.

converting a cell with 3m to mm results in 3000.
converting a cell with a header row:
length [m]
3
and then converting the cell with the 3 to mm results in 3000mm

We should fix the first case to create 3000mm in the cell.


Code should be in UnitsImpl::convertCellUnitsForColumnRange
Comment 1 Markus Mohrhard 2015-06-30 12:48:17 UTC
@Ben: that would be one for you and might be a simple one for the beginning.