summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/app.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei@libreoffice.org>2019-08-26 22:34:39 -0400
committerKohei Yoshida <kohei@libreoffice.org>2019-08-27 18:02:23 +0200
commite5b23bc96770b795b4a6014d0b167c6d67508c71 (patch)
treee968a2a90d1398ac2c1673565a24ffaac7d0863d /sfx2/source/appl/app.cxx
parente49d35c1f4f86e27a4a6603e5e7a60350ed400d0 (diff)
You can just check for nCheckPos being 0 for non-error condition.
If I read the method doc of PutEntry correctly, the boolean return type only indicates whether the string being inserted is a new one or not. You can still set the format even when the string already exists in the format table. Change-Id: Id3165323aada47e8d4fe19683008011bd69caac2 Reviewed-on: https://gerrit.libreoffice.org/78160 Tested-by: Jenkins Reviewed-by: Kohei Yoshida <kohei@libreoffice.org>
Diffstat (limited to 'sfx2/source/appl/app.cxx')
0 files changed, 0 insertions, 0 deletions