summaryrefslogtreecommitdiffstats
path: root/editeng/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-29 11:18:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-30 08:43:51 +0200
commitdd8d5e5795358d732a9f7a8af7c35f662321e332 (patch)
tree9983c2a5f0bc3f2c29133aa57e4ceb510eb68a11 /editeng/source
parentimplement std::hash for css::uno::Reference and rtl::Reference (diff)
downloadcore-dd8d5e5795358d732a9f7a8af7c35f662321e332.tar.gz
core-dd8d5e5795358d732a9f7a8af7c35f662321e332.zip
improve loplugin:stringconstant
to find more places we can elide the OUString() constructor at call sites Change-Id: Ie09f3c61f2c4b4959c97dc98ebcbaf7c51d5d713 Reviewed-on: https://gerrit.libreoffice.org/71514 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/misc/swafopt.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/editeng/source/misc/swafopt.cxx b/editeng/source/misc/swafopt.cxx
index b68dcce37c3c..751b3e575a53 100644
--- a/editeng/source/misc/swafopt.cxx
+++ b/editeng/source/misc/swafopt.cxx
@@ -22,8 +22,7 @@
#include <vcl/keycodes.hxx>
SvxSwAutoFormatFlags::SvxSwAutoFormatFlags()
- : aBulletFont( OUString("StarSymbol"),
- Size( 0, 14 ) )
+ : aBulletFont( "StarSymbol", Size( 0, 14 ) )
{
bAutoCorrect =
bCapitalStartSentence =