diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-25 19:11:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-26 09:17:47 +0200 |
commit | 2dbe6a2d57956be392966c363d03f54cb68dd4fa (patch) | |
tree | 148065e98b7470331edaa83b95c85eae6e179ed2 /sfx2/source/control/emojiviewitem.cxx | |
parent | d416a5ff59b31dd7250d392278c43f66cdb81e35 (diff) |
loplugin:oncevar in sfx2
Change-Id: I9aadcb9a12ef9b0c3f93ea255f2542e51d31fbf7
Reviewed-on: https://gerrit.libreoffice.org/39242
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/control/emojiviewitem.cxx')
-rw-r--r-- | sfx2/source/control/emojiviewitem.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/control/emojiviewitem.cxx b/sfx2/source/control/emojiviewitem.cxx index ca3be4cc56e6..9b4c8c7888d3 100644 --- a/sfx2/source/control/emojiviewitem.cxx +++ b/sfx2/source/control/emojiviewitem.cxx @@ -64,8 +64,7 @@ void EmojiViewItem::Paint(drawinglayer::processor2d::BaseProcessor2D *pProcessor { BColor aFillColor = pAttrs->aFillColor; - int nCount = 2; - drawinglayer::primitive2d::Primitive2DContainer aSeq(nCount); + drawinglayer::primitive2d::Primitive2DContainer aSeq(2); double fTransparence = 0.0; // Draw background |