From 390b7ffbc9c0fd2a846bb0a60883b450d6124fd8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 28 Feb 2017 10:58:25 +0000 Subject: Revert "move append 'usage' into the msConfigPath from the start" oops This reverts commit dc1c69a4efe9368a1f4fae4bc11325485bcc0772. Change-Id: I5fb9016040636fb44d4337567a6b894bfe16f503 --- sfx2/source/control/unoctitm.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sfx2/source/control/unoctitm.cxx') diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index b343c77c58c2..6e9946347b13 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -496,10 +496,7 @@ public: { mbIsCollecting = bIsCollecting; if (mbIsCollecting) - { msConfigPath = SvtPathOptions().GetConfigPath(); - msConfigPath += "usage/"; - } } }; @@ -518,7 +515,9 @@ void UsageInfo::save() if (!mbIsCollecting) return; - osl::Directory::createPath(msConfigPath); + OUString path(msConfigPath); + path += "usage/"; + osl::Directory::createPath(path); //get system time information. TimeValue systemTime; -- cgit