diff --git a/sw/qa/extras/odfimport/data/tdf159549.fodt b/sw/qa/extras/odfimport/data/tdf159549.fodt
new file mode 100644
index 000000000000..891b4ed9fc8e
--- /dev/null
+++ b/sw/qa/extras/odfimport/data/tdf159549.fodt
@@ -0,0 +1,121 @@
+
+
+ 2024-12-09T13:36:04.1549200662024-12-09T14:09:04.311392385PT32M56S2CIB_OfficeDev/6.4.0.29$Linux_X86_64 LibreOffice_project/5374b230ff33d77a7f81d56046759f218a160036
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Text Body
+ DerivedFromTextBody
+ Body Text
+
+
+
\ No newline at end of file
diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx
index 014c4011cff1..dd22a4937ee2 100644
--- a/sw/qa/extras/odfimport/odfimport.cxx
+++ b/sw/qa/extras/odfimport/odfimport.cxx
@@ -1203,6 +1203,28 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf133459)
CPPUNIT_ASSERT_EQUAL(u"QQ YYYY"_ustr, getProperty(xFormat, u"FormatString"_ustr));
}
+CPPUNIT_TEST_FIXTURE(Test, testTdf159549)
+{
+ createSwDoc("tdf159549.fodt");
+
+ uno::Reference xParaStyles(getStyles(u"ParagraphStyles"_ustr));
+
+ uno::Reference xStyleBuiltin(xParaStyles->getByName(
+ u"Text body"_ustr), uno::UNO_QUERY);
+ CPPUNIT_ASSERT_EQUAL(float(32), getProperty(xStyleBuiltin, "CharHeight"));
+ CPPUNIT_ASSERT_EQUAL(OUString("Standard"), xStyleBuiltin.queryThrow()->getParentStyle());
+
+ uno::Reference xStyleDerived(xParaStyles->getByName(
+ u"DerivedFromTextBody"_ustr), uno::UNO_QUERY);
+ CPPUNIT_ASSERT_EQUAL(float(32), getProperty(xStyleDerived, "CharHeight"));
+ CPPUNIT_ASSERT_EQUAL(OUString("Text body"), xStyleDerived.queryThrow()->getParentStyle());
+
+ uno::Reference xStyleCustom(xParaStyles->getByName(
+ u"Body Text"_ustr), uno::UNO_QUERY);
+ CPPUNIT_ASSERT_EQUAL(float(16), getProperty(xStyleCustom, "CharHeight"));
+ CPPUNIT_ASSERT_EQUAL(OUString("Standard"), xStyleCustom.queryThrow()->getParentStyle());
+}
+
CPPUNIT_TEST_FIXTURE(Test, testTdf134971)
{
createSwDoc("tdf134971a.odt");