diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-30 15:11:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-01 08:26:59 +0200 |
commit | 1182f2a579646c9721320c339ff39b1ef55683e9 (patch) | |
tree | 0a06dc7f474b27b74b0e0e5533b3d0fa786ec527 /sd/source/filter/eppt/epptso.cxx | |
parent | 6eb7870aa10144281ccbc4702770d8ce1ceb3e9a (diff) |
loplugin:stringadd in sd
Change-Id: If83625845d8687f2749fce9699cb9bd6b8825be0
Reviewed-on: https://gerrit.libreoffice.org/79892
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/filter/eppt/epptso.cxx')
-rw-r--r-- | sd/source/filter/eppt/epptso.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index ff614afe9999..e03db4c9ddd3 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -1119,11 +1119,11 @@ void PPTWriter::ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_u if ( pIter != maSlideNameList.end() ) { nPageIndex = pIter - maSlideNameList.begin(); - aPageUrl = OUString::number(256 + nPageIndex); - aPageUrl += ","; - aPageUrl += OUString::number(nPageIndex + 1); - aPageUrl += ",Slide "; - aPageUrl += OUString::number(nPageIndex + 1); + aPageUrl = OUString::number(256 + nPageIndex) + + "," + + OUString::number(nPageIndex + 1) + + ",Slide " + + OUString::number(nPageIndex + 1); } } sal_uInt32 nHyperId(0); @@ -1440,11 +1440,11 @@ void PPTWriter::ImplWriteClickAction( SvStream& rSt, css::presentation::ClickAct nAction = 4; nHyperLinkType = 7; - OUString aHyperString = OUString::number(256 + nIndex); - aHyperString += ","; - aHyperString += OUString::number(nIndex + 1); - aHyperString += ",Slide "; - aHyperString += OUString::number(nIndex + 1); + OUString aHyperString = OUString::number(256 + nIndex) + + "," + + OUString::number(nIndex + 1) + + ",Slide " + + OUString::number(nIndex + 1); nHyperLinkID = ImplInsertBookmarkURL( aHyperString, 1 | ( nIndex << 8 ) | ( 1U << 31 ), aBookmark, "", "", aHyperString ); } nIndex++; |