We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edcaf49 commit 602ac10Copy full SHA for 602ac10
odfdom/src/main/java/org/odftoolkit/odfdom/changes/JsonOperationConsumer.java
@@ -1741,11 +1741,11 @@ static void format(
1741
double heightFactor = 1;
1742
double widthFactor = 1;
1743
if (newHeight > 0 && newHeight != gHeight) {
1744
- heightFactor = (double) newHeight / (double) gHeight;
+ heightFactor = newHeight / (double) gHeight;
1745
targetNode.setUserData("groupHeight", newHeight, null);
1746
}
1747
if (newWidth > 0 && newWidth != gWidth) {
1748
- widthFactor = (double) newWidth / (double) gWidth;
+ widthFactor = newWidth / (double) gWidth;
1749
targetNode.setUserData("groupWidth", newHeight, null);
1750
1751
Node child = targetNode.getFirstChild();
0 commit comments