[Libreoffice-commits] core.git: svx/qa
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jun 8 15:21:27 UTC 2020
svx/qa/unit/customshapes.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit eda8be919201972680d2d82a90cccaca8c3f6248
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Mon Jun 8 15:11:45 2020 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Mon Jun 8 17:20:37 2020 +0200
svx: fix loplugin:elidestringvar warning
Change-Id: I5424388dfc37988b2f4e5f8f34dcb1a577d9bfb6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95806
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
Tested-by: Jenkins
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));
More information about the Libreoffice-commits
mailing list