File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
odfdom/src/main/java/org/odftoolkit/odfdom/doc/table Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 19
19
package org .odftoolkit .odfdom .doc .table ;
20
20
21
21
import java .text .DecimalFormat ;
22
+ import java .text .DecimalFormatSymbols ;
22
23
import java .util .ArrayList ;
23
24
import java .util .IdentityHashMap ;
24
25
import java .util .List ;
@@ -392,7 +393,7 @@ private static TableTableElement createTable(
392
393
String columnStylename = columnStyle .getStyleNameAttribute ();
393
394
columnStyle .setProperty (
394
395
StyleTableColumnPropertiesElement .ColumnWidth ,
395
- new DecimalFormat ("000.0000" ).format (DEFAULT_TABLE_WIDTH / numCols ) + "in" );
396
+ new DecimalFormat ("000.0000" , DecimalFormatSymbols . getInstance ( Locale . ENGLISH ) ).format (DEFAULT_TABLE_WIDTH / numCols ) + "in" );
396
397
columnStyle .setProperty (
397
398
StyleTableColumnPropertiesElement .RelColumnWidth ,
398
399
Math .round (DEFAULT_REL_TABLE_WIDTH / numCols ) + "*" );
You can’t perform that action at this time.
0 commit comments