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
85713e8a
Kaydet (Commit)
85713e8a
authored
Tem 13, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: actually remove the correct SetTempNameBaseDirectory
üst
24d33367
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
29 deletions
+0
-29
tempfile.hxx
tools/inc/tools/tempfile.hxx
+0
-7
tempfile.cxx
tools/source/fsys/tempfile.cxx
+0
-22
No files found.
tools/inc/tools/tempfile.hxx
Dosyayı görüntüle @
85713e8a
...
...
@@ -65,13 +65,6 @@ public:
// Only create a name for a temporary file that would be valid at that moment.
static
String
CreateTempName
(
const
String
*
pParent
=
NULL
);
// The TempNameBase is a folder in the default ( system ) tempfile folder.
// This subfolder will be used if a TempFile or TempName is created without a parent name.
// The caller of the SetTempNameBase is responsible for deleting this folder and all temporary files in it.
// The argument must be a simple name, not a complete URL.
// The return value of both methods is the complete URL of the tempname base folder.
static
String
SetTempNameBaseDirectory
(
const
String
&
rBaseName
);
};
#endif
...
...
tools/source/fsys/tempfile.cxx
Dosyayı görüntüle @
85713e8a
...
...
@@ -267,26 +267,4 @@ String TempFile::GetName() const
return
aTmp
;
}
String
TempFile
::
SetTempNameBaseDirectory
(
const
String
&
rBaseName
)
{
String
aName
(
rBaseName
);
::
rtl
::
OUString
&
rTempNameBase_Impl
=
TempNameBase_Impl
::
get
();
FileBase
::
RC
err
=
Directory
::
create
(
aName
);
if
(
err
==
FileBase
::
E_None
||
err
==
FileBase
::
E_EXIST
)
{
rTempNameBase_Impl
=
aName
;
rTempNameBase_Impl
+=
String
(
'/'
);
TempFile
aBase
(
NULL
,
sal_True
);
if
(
aBase
.
IsValid
()
)
rTempNameBase_Impl
=
aBase
.
pImp
->
aName
;
}
rtl
::
OUString
aTmp
;
aTmp
=
rTempNameBase_Impl
;
return
aTmp
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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