diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-06-08 15:11:45 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-06-08 17:20:37 +0200 |
commit | eda8be919201972680d2d82a90cccaca8c3f6248 (patch) | |
tree | 1724d07a929fa9c90cf8304237a63aa4c425dee6 /svx/qa | |
parent | 0124ed6c9cd1a3c2f98f528207bb87c4027ecc97 (diff) |
svx: fix loplugin:elidestringvar warning
Change-Id: I5424388dfc37988b2f4e5f8f34dcb1a577d9bfb6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95806
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'svx/qa')
-rw-r--r-- | svx/qa/unit/customshapes.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/qa/unit/customshapes.cxx b/svx/qa/unit/customshapes.cxx index 3a422fce3687..91ae38cfeff0 100644 --- a/svx/qa/unit/customshapes.cxx +++ b/svx/qa/unit/customshapes.cxx @@ -670,8 +670,8 @@ CPPUNIT_TEST_FIXTURE(CustomshapesTest, testTdf103474_commandT_CaseZeroHeight) // corner case where the ellipse has zero height. // Error was, that the calculation of the circle angle from the ellipse // angle results in a wrong angle for the case 180° and height zero. - const OUString sFileName("tdf103474_commandT_CaseZeroHeight.odp"); - OUString sURL = m_directories.getURLFromSrc(sDataDirectory) + sFileName; + OUString sURL + = m_directories.getURLFromSrc(sDataDirectory) + "tdf103474_commandT_CaseZeroHeight.odp"; mxComponent = loadFromDesktop(sURL, "com.sun.star.comp.presentation.PresentationDocument"); CPPUNIT_ASSERT_MESSAGE("Could not load document", mxComponent.is()); uno::Reference<drawing::XShape> xShape(getShape(0)); |