https://bugs.freedesktop.org/show_bug.cgi?id=42982
Stephan Bergmann <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Stephan Bergmann <[email protected]> 2012-03-19 03:45:37 PDT --- Re comment 1: 1 Lines are cut from the output in <http://pastebin.com/raw.php?i=XAR4s81e>. (And better attach a patch to this issue than going via pastebin, anyway.) 2 For simple string messages like throw RuntimeException(OSL_FORMAT("XListener is not equal to 1")); there is no need to go via OSL_FORMAT. The standard idiom to create an rtl::OUString instance from an (ASCII) string literal for now is rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("XListener is not equal to 1")) 3 RuntimeException constructors either take no arguments or two arguments (Message, a string; and Context, a com::sun::star::uno::XInterface reference to the relevant UNO object or a null reference). So, in basic/source/uno/namecont.cxx you would need a second argument static_cast< cppu::OWeakObject * >(this) (where the cast is necessary as this derives from XInterface multiple times), and in the later files you would need to move your new, third argument to be the first one instead, replacing the empty "rtl::OUString()" -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
