diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-17 14:46:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-18 07:48:57 +0100 |
commit | 60b0526ea4929ce273de499f552a4d478a973d10 (patch) | |
tree | ab44643d929f24ce8520cf873853b38888d7b22a /sw/qa/extras/rtfimport/rtfimport.cxx | |
parent | 0b853017a29a927943313d7a2d9994c887ad335d (diff) |
convert POR constants to scoped enum
Change-Id: Ia146f1f932cf4437e2e7e20722b0957a458979fd
Reviewed-on: https://gerrit.libreoffice.org/66514
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa/extras/rtfimport/rtfimport.cxx')
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index c31bebbd735f..4672c1910d08 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -350,7 +350,8 @@ DECLARE_RTFIMPORT_TEST(testTdf112211_2, "tdf112211-2.rtf") { // Spacing between the bullet and the actual text was too large. // This is now around 269, large old value was 629. - int nWidth = parseDump("/root/page/body/txt[2]/Text[@nType='POR_TABLEFT']", "nWidth").toInt32(); + int nWidth = parseDump("/root/page/body/txt[2]/Text[@nType='PortionType::TabLeft']", "nWidth") + .toInt32(); CPPUNIT_ASSERT_LESS(300, nWidth); } |