summaryrefslogtreecommitdiff
path: root/sfx2/source/control/unoctitm.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-28 10:58:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-28 10:58:39 +0000
commit390b7ffbc9c0fd2a846bb0a60883b450d6124fd8 (patch)
tree3d2b95987c2f03ad0d1fb18091f0c3b3573fbfb4 /sfx2/source/control/unoctitm.cxx
parent9fe0c6636f38163936ff65aee2da863a503a4fc7 (diff)
Revert "move append 'usage' into the msConfigPath from the start"
oops This reverts commit dc1c69a4efe9368a1f4fae4bc11325485bcc0772. Change-Id: I5fb9016040636fb44d4337567a6b894bfe16f503
Diffstat (limited to 'sfx2/source/control/unoctitm.cxx')
-rw-r--r--sfx2/source/control/unoctitm.cxx7
1 files changed, 3 insertions, 4 deletions
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;