diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-09-12 15:38:05 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-09-24 12:53:39 +0200 |
commit | a7d40f575463467698df76f041e558cb3bea7c85 (patch) | |
tree | 49f60f551e72c1a0a802ec40a39bd0543d654f33 /xmlreader | |
parent | 417d993b8b8a86c019758ee0850e4b42967e2afa (diff) |
compiler check for rtl::OUStringConcat instances
Something like auto str = "string" + OUString::number( 10 ); will
not be OUString but actually rtl::OUStringConcat (which gets implicitly
converted to OUString, but not with auto). Since those refer to temporaries
from the expression, they should not outlive the expression.
Change-Id: Ib4cde4b38befb3d49927d0cf01c52ebb2d36df89
Reviewed-on: https://gerrit.libreoffice.org/78830
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'xmlreader')
0 files changed, 0 insertions, 0 deletions