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
fe3c2079
Kaydet (Commit)
fe3c2079
authored
Şub 09, 2017
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unused enumerators from FTPErrors enum
Change-Id: I30a2cc41d246b5048f2514eb38ee8e3bef0ed41c
üst
d198a822
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
ftpcontent.cxx
ucb/source/ucp/ftp/ftpcontent.cxx
+1
-7
ftpurl.hxx
ucb/source/ucp/ftp/ftpurl.hxx
+1
-3
No files found.
ucb/source/ucp/ftp/ftpcontent.cxx
Dosyayı görüntüle @
fe3c2079
...
...
@@ -715,13 +715,7 @@ void FTPContent::insert(const InsertCommandArgument& aInsertCommand,
}
else
if
(
m_aInfo
.
Type
==
FTP_FOLDER
)
m_aFTPURL
.
mkdir
(
bReplace
);
}
catch
(
const
curl_exception
&
e
)
{
if
(
e
.
code
()
==
FILE_EXIST_DURING_INSERT
||
e
.
code
()
==
FOLDER_EXIST_DURING_INSERT
)
{
// Deprecated, not used anymore:
NameClashException
excep
;
excep
.
Name
=
m_aFTPURL
.
child
();
ucbhelper
::
cancelCommandExecution
(
Any
(
excep
),
Env
);
}
else
if
(
e
.
code
()
==
FOLDER_MIGHT_EXIST_DURING_INSERT
||
if
(
e
.
code
()
==
FOLDER_MIGHT_EXIST_DURING_INSERT
||
e
.
code
()
==
FILE_MIGHT_EXIST_DURING_INSERT
)
{
// Interact
Reference
<
XInteractionHandler
>
xInt
;
...
...
ucb/source/ucp/ftp/ftpurl.hxx
Dosyayı görüntüle @
fe3c2079
...
...
@@ -46,9 +46,7 @@ namespace ftp {
class
FTPContentProvider
;
enum
FTPErrors
{
FILE_EXIST_DURING_INSERT
=
CURL_LAST
+
1
,
FOLDER_EXIST_DURING_INSERT
,
FOLDER_MIGHT_EXIST_DURING_INSERT
,
enum
FTPErrors
{
FOLDER_MIGHT_EXIST_DURING_INSERT
=
CURL_LAST
,
FILE_MIGHT_EXIST_DURING_INSERT
};
class
malformed_exception
:
public
std
::
exception
{
};
...
...
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