Hi,

during my current Xub -> OUString conversion I end up with "error: returning reference to temporary [-Werror]" when doing the following modification:

-        return ImplGetSVEmptyStr();
+       return OUString();

in vcl/source/window/toolbox2.cxx

What is the preferred way to solve this problem. Change return type, create something similar to ImplGetSVEmptyStr()?

Christina
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to