summaryrefslogtreecommitdiff
path: root/sw/qa/extras
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-04-30 23:12:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-05-01 08:06:35 +0200
commit71d329d142806151e8a32c058abd57f38b795486 (patch)
tree31c810835799cd5664b0498a226d16e21368bbfb /sw/qa/extras
parent66b9b44abd07b47f24ff408e49b701024862f8a6 (diff)
loplugin:stringconstant in sw/qa/extras/layout
Change-Id: I4934240946b435e7b5b13c2623143f7741106efa Reviewed-on: https://gerrit.libreoffice.org/71599 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa/extras')
-rw-r--r--sw/qa/extras/layout/layout.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx
index 3e8e597dd6e8..381f9c0087b6 100644
--- a/sw/qa/extras/layout/layout.cxx
+++ b/sw/qa/extras/layout/layout.cxx
@@ -2741,10 +2741,9 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testTdf122607_regression)
if (mxComponent.is())
mxComponent->dispose();
- auto const pName("tdf122607_leerzeile.odt");
+ OUString const pName("tdf122607_leerzeile.odt");
- OUString const url(m_directories.getURLFromSrc(DATA_DIRECTORY)
- + OUString::createFromAscii(pName));
+ OUString const url(m_directories.getURLFromSrc(DATA_DIRECTORY) + pName);
// note: must set Hidden property, so that SfxFrameViewWindow_Impl::Resize()
// does *not* forward initial VCL Window Resize and thereby triggers a