diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-16 14:05:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-16 14:31:38 +0100 |
commit | 890afecb45bfcd2e53599974fbcf61fffd8f8a7b (patch) | |
tree | 9233bafbcfae88e93d387e501e3195aa3e98d2f4 /lotuswordpro | |
parent | faa63cd14c1d360d0e4eedb64cd879aa1229fa60 (diff) |
loplugin:buriedassign in dbaccess..oox
Change-Id: Ic0ca695a1d9d05418213475a68e233953136cc8e
Reviewed-on: https://gerrit.libreoffice.org/63468
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwptools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwptools.cxx b/lotuswordpro/source/filter/lwptools.cxx index 7390eb1e3878..0f5ae98e7496 100644 --- a/lotuswordpro/source/filter/lwptools.cxx +++ b/lotuswordpro/source/filter/lwptools.cxx @@ -93,7 +93,7 @@ void LwpTools::QuickReadUnicode(LwpObjectStream* pObjStrm, while(strlen) { - strlen>1023?len=1023 :len=strlen; + len = std::min(sal_uInt16(1023), strlen); len = pObjStrm->QuickRead(buf, len); buf[len] = '\0'; strBuf.append( OUString(buf, len, aEncoding) ); |