diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2022-11-25 19:25:23 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-11-25 18:59:02 +0100 |
commit | 66e93c7a74af4d7078762ef4f2071e2f8ae15c27 (patch) | |
tree | c1017a60ce60bb675fa9a319ec902134be9aba83 /sd | |
parent | cdac145768488dc11b32b744bc753ab16aa08c6e (diff) |
Simplification
Change-Id: Ib72d4eb95879f94efad3834b1334099990e76f1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143303
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/layout-tests.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/qa/unit/layout-tests.cxx b/sd/qa/unit/layout-tests.cxx index d2bf22622885..36293f2dcfe2 100644 --- a/sd/qa/unit/layout-tests.cxx +++ b/sd/qa/unit/layout-tests.cxx @@ -72,8 +72,8 @@ CPPUNIT_TEST_FIXTURE(SdLayoutTest, testTdf146876) { const OString xPath = "/metafile/push[1]/push[1]/push[" + OString::number(i) + "]/polyline/point[" + OString::number(j) + "]"; - const sal_Int32 nX = getXPath(pXmlDoc, xPath.getStr(), "x").toInt32(); - const sal_Int32 nY = getXPath(pXmlDoc, xPath.getStr(), "y").toInt32(); + const sal_Int32 nX = getXPath(pXmlDoc, xPath, "x").toInt32(); + const sal_Int32 nY = getXPath(pXmlDoc, xPath, "y").toInt32(); // Without the fix in place, this test would have failed with // - Expected greater or equal than: 5000 |