Kaydet (Commit) 67073c6b authored tarafından Caolán McNamara's avatar Caolán McNamara

use safer rethrow syntax

üst 2563c8dd
...@@ -75,7 +75,7 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main() ...@@ -75,7 +75,7 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main()
} catch (const ::com::sun::star::uno::Exception &e) { } catch (const ::com::sun::star::uno::Exception &e) {
fprintf (stderr, "Not handled UNO exception at main: '%s'\n", fprintf (stderr, "Not handled UNO exception at main: '%s'\n",
rtl::OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8).getStr()); rtl::OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8).getStr());
throw e; // to get exception type printed throw; // to get exception type printed
} }
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment