Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
727a2509
Kaydet (Commit)
727a2509
authored
Şub 28, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
might as well move append 'usage' into the msConfigPath from the start
Change-Id: Ie8a15f1a20621ebdd00ab4ed195495e0acd111a5
üst
e4f6db9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
unoctitm.cxx
sfx2/source/control/unoctitm.cxx
+5
-4
No files found.
sfx2/source/control/unoctitm.cxx
Dosyayı görüntüle @
727a2509
...
...
@@ -496,7 +496,10 @@ public:
{
mbIsCollecting
=
bIsCollecting
;
if
(
mbIsCollecting
)
{
msConfigPath
=
SvtPathOptions
().
GetConfigPath
();
msConfigPath
+=
"usage/"
;
}
}
};
...
...
@@ -515,9 +518,7 @@ void UsageInfo::save()
if
(
!
mbIsCollecting
)
return
;
OUString
path
(
msConfigPath
);
path
+=
"usage/"
;
osl
::
Directory
::
createPath
(
path
);
osl
::
Directory
::
createPath
(
msConfigPath
);
//get system time information.
TimeValue
systemTime
;
...
...
@@ -532,7 +533,7 @@ void UsageInfo::save()
//filename type: usage-YYYY-MM-DDTHH_MM_SS.csv
OUString
filename
=
"usage-"
+
OUString
::
createFromAscii
(
time
)
+
".csv"
;
path
+=
filename
;
OUString
path
=
msConfigPath
+
filename
;
osl
::
File
file
(
path
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment