diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-11-30 07:17:53 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-11-30 19:29:21 +0100 |
commit | b15f79a8f8de27c9d186ae1fbd0c86f194aed0ac (patch) | |
tree | 3c4dc647e8ccf78c41f66e4993f3a0490c15a137 /vcl/source | |
parent | 32efde5cef2b8516a9decd0bf7091d7def1da971 (diff) |
loplugin:unnecessaryparen: signed numeric literals
Change-Id: I75c8224452ca9c3711a2ccaca9ecf549fa59cb64
Reviewed-on: https://gerrit.libreoffice.org/45549
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/edit/texteng.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx index e369e8299f9c..5d470d164b97 100644 --- a/vcl/source/edit/texteng.cxx +++ b/vcl/source/edit/texteng.cxx @@ -1849,7 +1849,7 @@ void TextEngine::RecalcTextPortion( sal_uInt32 nPara, sal_Int32 nStartPos, sal_I TETextPortion* const pTP = pTEParaPortion->GetTextPortions()[ nTP ]; SAL_WARN_IF( !pTP, "vcl", "RecalcTextPortion: Portion not found!" ); pTP->GetLen() += nNewChars; - pTP->GetWidth() = (-1); + pTP->GetWidth() = -1; } } else |