[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - svx/qa
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jun 11 08:09:44 UTC 2020
svx/qa/unit/customshapes.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit b73e2b42f09f177fe9ea2daf2aaff576b7f6ad9c
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Mon Jun 8 15:11:45 2020 +0200
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Thu Jun 11 10:09:09 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
Signed-off-by: Xisco Fauli <xiscofauli at libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96018
diff --git a/svx/qa/unit/customshapes.cxx b/svx/qa/unit/customshapes.cxx
index b99bc0c1d576..d8f7fb8a5bf9 100644
--- a/svx/qa/unit/customshapes.cxx
+++ b/svx/qa/unit/customshapes.cxx
@@ -678,8 +678,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