summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/staticmethods.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2016-06-27 23:44:34 +1000
committerMike Kaganski <mike.kaganski@collabora.com>2016-06-28 15:31:42 +0000
commit429f4e294e87e1172a925f164ad9e3ef125019a3 (patch)
tree35e4cb0c1de19070a30d590746715798e90ea6ec /compilerplugins/clang/staticmethods.cxx
parent67188d0e552c9dc50905f7f693d2bb24751a11c5 (diff)
Don't call a function when its result is already stored in variable
const bExternalModel was already set to xModel.is(), and xModel hasn't been modified since then. Change-Id: I8cc6e6776e633287cc755b0489458cadbf1ae664 Reviewed-on: https://gerrit.libreoffice.org/26716 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'compilerplugins/clang/staticmethods.cxx')
0 files changed, 0 insertions, 0 deletions