summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-09 11:33:52 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 20:10:00 +0100
commiteabaca0cf1382242c6f68084ece93e35cd8fab04 (patch)
tree033dbe93bf8bb7e024661c7cae67c6330c5cb057 /bin
parent1798a4433280a6cae38fe535fb043a8e27d7f95a (diff)
vcl:compilerplugin: new rule, no passing of vcl::Window by VclPtr
to prevent problems with accidentally deleting an object by doing this: Button *pButton = new Button(NULL); ... pButton->callAMethodThatTakesARef(pButton); Since we take a ref as we construct a temporary VclReference<> - but this will dispose & delete the pButton as we return to the frame doing the callAMethod Change-Id: I60fc211b27fe7ff463aa58f1da106f430fc65529
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions