sfx2/source/control/unoctitm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit beea0484de87709da0814b4acd19527c8824f9b3 Author: aybuke <aybuke....@gmail.com> Date: Tue Jan 19 01:34:09 2016 +0200 tdf#96434 Activate usage data collection from commandline. Possible env variable: $ export LO_COLLECT_USAGE=1 Change-Id: Ic253850ca73551bad8b44072164881c5039615c9 Reviewed-on: https://gerrit.libreoffice.org/21596 Tested-by: jan iversen <j...@documentfoundation.org> Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: jan iversen <j...@documentfoundation.org> diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 7a2616c..6e63bc7 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -674,7 +674,7 @@ class theUsageInfo : public rtl::Static<UsageInfo, theUsageInfo> {}; /// Extracts information about the command + args, and stores that. void collectUsageInformation(const util::URL& rURL, const uno::Sequence<beans::PropertyValue>& rArgs) { - bool bCollecting = officecfg::Office::Common::Misc::CollectUsageInformation::get(); + bool bCollecting = getenv("LO_COLLECT_USAGE") || officecfg::Office::Common::Misc::CollectUsageInformation::get(); theUsageInfo::get().setCollecting(bCollecting); if (!bCollecting) return; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits