https://bugs.documentfoundation.org/show_bug.cgi?id=107471
Bug ID: 107471
Summary: add an option to configure crashreporter
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
the crash reporter source code in app.cxx is currently hard-coded to
http://crashreport.libreoffice.org/submit/.
there is no way to configure/disable the crashreporter.
one has to rebuild libreoffice without FEATURE_BREAKPAD.
in an enterprise environment it may be necessary to prevent users from sending
data due to security restrictions.
an option in Tools/Options/LibreOffice/General would be helpful.
for example, there is already an option to disable CollectUsageInformation.
app.cxx:
#if HAVE_FEATURE_BREAKPAD
void handleCrashReport()
{
static const char SERVICENAME_CRASHREPORT[] =
"com.sun.star.comp.svx.CrashReportUI";
css::uno::Reference< css::uno::XComponentContext > xContext =
::comphelper::getProcessComponentContext();
Reference< css::frame::XSynchronousDispatch > xRecoveryUI(
xContext->getServiceManager()->createInstanceWithContext(SERVICENAME_CRASHREPORT,
xContext),
css::uno::UNO_QUERY_THROW);
Reference< css::util::XURLTransformer > xURLParser =
css::util::URLTransformer::create(::comphelper::getProcessComponentContext());
css::util::URL aURL;
css::uno::Any aRet = xRecoveryUI->dispatchWithReturnValue(aURL,
css::uno::Sequence< css::beans::PropertyValue >());
bool bRet = false;
aRet >>= bRet;
}
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs