diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-11 11:04:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-11 14:13:03 +0200 |
commit | 7de833a626cea8cd741ba1d971fea6f0c3a2660b (patch) | |
tree | 2750dbed735b4df7a9e82add532df49049cc52e8 /sdext/source | |
parent | 6f9f9491bdef676f969898bd653db9905d14f5e8 (diff) |
simplify calls OUString::copy in foo.copy(x, foo.getLength() - x)
Change-Id: I20318c77dcc3bc2a64336541ef5a3f412bfd9483
Reviewed-on: https://gerrit.libreoffice.org/39803
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source')
-rw-r--r-- | sdext/source/presenter/PresenterController.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx index cc2b17eeab55..26bd1d5f4208 100644 --- a/sdext/source/presenter/PresenterController.cxx +++ b/sdext/source/presenter/PresenterController.cxx @@ -382,7 +382,7 @@ void PresenterController::UpdatePaneTitles() if (nStartIndex < 0) { // Add the remaining part of the string. - sResult.append(sTemplate.copy(nIndex, sTemplate.getLength()-nIndex)); + sResult.append(sTemplate.copy(nIndex)); break; } else |