[PUSHED][PATCH] convert table.hxx use in editeng/inc/editeng/forbiddencharacterstable.hxx

Ivan Timofeev timofeev.i.s at gmail.com
Thu Feb 16 22:06:41 PST 2012


On 17.02.2012 00:20, Kohei Yoshida wrote:
> As far as I know those STL methods that return its element are
> guaranteed to return a reference to the stored instance, not its copy.

Ah, great, I was not sure of that.

On 17.02.2012 01:01, Michael Meeks wrote:
> 	I guess :-) I imagine the real problem here is that any kind of
> operation on the stl container could then realloc the underlying memory
> in some way, busting the reference / pointer you handed out elsewhere;
> so it looks only transiently safe to me ;-)

I inspected the usages of that function - they look safe. However, the 
details are elusive for the users...

Thanks for the answers!

Best Regards,
Ivan



More information about the LibreOffice mailing list