diff options
author | aybuke <aybuke.147@gmail.com> | 2016-01-19 01:34:09 +0200 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-01-23 08:34:50 +0000 |
commit | beea0484de87709da0814b4acd19527c8824f9b3 (patch) | |
tree | a0bbcab075810dba5bef368197ae5e27af4ef199 | |
parent | 77031644f16b63c794c1eef0ec4456d37e34fe23 (diff) |
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 <jani@documentfoundation.org>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 7a2616cc925d..6e63bc7c7bbd 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; |