Remove redundant code

This commit is contained in:
Veronica Berglyd Olsen
2024-10-23 10:31:27 +02:00
parent 16023676ea
commit db72f2a722
4 changed files with 6 additions and 30 deletions
-4
View File
@@ -951,8 +951,6 @@ def testFmtToOdt_ODTParagraphStyle():
assert parStyle._pAttr["text-indent"] == ["fo", None]
assert parStyle._pAttr["line-height"] == ["fo", None]
assert parStyle.isUnaligned() is True
parStyle.setMarginTop("0.000cm")
parStyle.setMarginBottom("0.000cm")
parStyle.setMarginLeft("0.000cm")
@@ -967,8 +965,6 @@ def testFmtToOdt_ODTParagraphStyle():
assert parStyle._pAttr["text-indent"] == ["fo", "0.000cm"]
assert parStyle._pAttr["line-height"] == ["fo", "1.15"]
assert parStyle.isUnaligned() is False
# Text Alignment
assert parStyle._pAttr["text-align"] == ["fo", None]
parStyle.setTextAlign("stuff")