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
3e4c5a35
Kaydet (Commit)
3e4c5a35
authored
Tem 27, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:stringconstant
Change-Id: I95765e9c26e393a838ee0c617fde415e6c50e884
üst
6d77d7db
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
19 deletions
+20
-19
DateTimeHelper.cxx
ucb/source/ucp/webdav/DateTimeHelper.cxx
+12
-12
SerfUri.cxx
ucb/source/ucp/webdav/SerfUri.cxx
+1
-1
webdavcontent.cxx
ucb/source/ucp/webdav/webdavcontent.cxx
+2
-2
webdavprovider.cxx
ucb/source/ucp/webdav/webdavprovider.cxx
+1
-1
webdavresponseparser.cxx
ucb/source/ucp/webdav/webdavresponseparser.cxx
+4
-3
No files found.
ucb/source/ucp/webdav/DateTimeHelper.cxx
Dosyayı görüntüle @
3e4c5a35
...
@@ -127,29 +127,29 @@ sal_Int32 DateTimeHelper::convertDayToInt (const OUString& day)
...
@@ -127,29 +127,29 @@ sal_Int32 DateTimeHelper::convertDayToInt (const OUString& day)
sal_Int32
DateTimeHelper
::
convertMonthToInt
(
const
OUString
&
month
)
sal_Int32
DateTimeHelper
::
convertMonthToInt
(
const
OUString
&
month
)
{
{
if
(
month
.
equalsAscii
(
"Jan"
)
)
if
(
month
==
"Jan"
)
return
1
;
return
1
;
else
if
(
month
.
equalsAscii
(
"Feb"
)
)
else
if
(
month
==
"Feb"
)
return
2
;
return
2
;
else
if
(
month
.
equalsAscii
(
"Mar"
)
)
else
if
(
month
==
"Mar"
)
return
3
;
return
3
;
else
if
(
month
.
equalsAscii
(
"Apr"
)
)
else
if
(
month
==
"Apr"
)
return
4
;
return
4
;
else
if
(
month
.
equalsAscii
(
"May"
)
)
else
if
(
month
==
"May"
)
return
5
;
return
5
;
else
if
(
month
.
equalsAscii
(
"Jun"
)
)
else
if
(
month
==
"Jun"
)
return
6
;
return
6
;
else
if
(
month
.
equalsAscii
(
"Jul"
)
)
else
if
(
month
==
"Jul"
)
return
7
;
return
7
;
else
if
(
month
.
equalsAscii
(
"Aug"
)
)
else
if
(
month
==
"Aug"
)
return
8
;
return
8
;
else
if
(
month
.
equalsAscii
(
"Sep"
)
)
else
if
(
month
==
"Sep"
)
return
9
;
return
9
;
else
if
(
month
.
equalsAscii
(
"Oct"
)
)
else
if
(
month
==
"Oct"
)
return
10
;
return
10
;
else
if
(
month
.
equalsAscii
(
"Nov"
)
)
else
if
(
month
==
"Nov"
)
return
11
;
return
11
;
else
if
(
month
.
equalsAscii
(
"Dec"
)
)
else
if
(
month
==
"Dec"
)
return
12
;
return
12
;
else
else
return
0
;
return
0
;
...
...
ucb/source/ucp/webdav/SerfUri.cxx
Dosyayı görüntüle @
3e4c5a35
...
@@ -202,7 +202,7 @@ OUString SerfUri::GetPathBaseNameUnescaped () const
...
@@ -202,7 +202,7 @@ OUString SerfUri::GetPathBaseNameUnescaped () const
void
SerfUri
::
AppendPath
(
const
OUString
&
rPath
)
void
SerfUri
::
AppendPath
(
const
OUString
&
rPath
)
{
{
if
(
mPath
.
lastIndexOf
(
'/'
)
!=
mPath
.
getLength
()
-
1
)
if
(
mPath
.
lastIndexOf
(
'/'
)
!=
mPath
.
getLength
()
-
1
)
mPath
+=
OUString
(
"/"
)
;
mPath
+=
"/"
;
mPath
+=
rPath
;
mPath
+=
rPath
;
calculateURI
();
calculateURI
();
...
...
ucb/source/ucp/webdav/webdavcontent.cxx
Dosyayı görüntüle @
3e4c5a35
...
@@ -1134,7 +1134,7 @@ Content::queryCreatableContentsInfo()
...
@@ -1134,7 +1134,7 @@ Content::queryCreatableContentsInfo()
uno
::
Sequence
<
ucb
::
ContentInfo
>
aSeq
(
2
);
uno
::
Sequence
<
ucb
::
ContentInfo
>
aSeq
(
2
);
// document.
// document.
aSeq
.
getArray
()[
0
].
Type
=
OUString
(
WEBDAV_CONTENT_TYPE
)
;
aSeq
.
getArray
()[
0
].
Type
=
WEBDAV_CONTENT_TYPE
;
aSeq
.
getArray
()[
0
].
Attributes
aSeq
.
getArray
()[
0
].
Attributes
=
ucb
::
ContentInfoAttribute
::
INSERT_WITH_INPUTSTREAM
=
ucb
::
ContentInfoAttribute
::
INSERT_WITH_INPUTSTREAM
|
ucb
::
ContentInfoAttribute
::
KIND_DOCUMENT
;
|
ucb
::
ContentInfoAttribute
::
KIND_DOCUMENT
;
...
@@ -1148,7 +1148,7 @@ Content::queryCreatableContentsInfo()
...
@@ -1148,7 +1148,7 @@ Content::queryCreatableContentsInfo()
aSeq
.
getArray
()[
0
].
Properties
=
aDocProps
;
aSeq
.
getArray
()[
0
].
Properties
=
aDocProps
;
// folder.
// folder.
aSeq
.
getArray
()[
1
].
Type
=
OUString
(
WEBDAV_COLLECTION_TYPE
)
;
aSeq
.
getArray
()[
1
].
Type
=
WEBDAV_COLLECTION_TYPE
;
aSeq
.
getArray
()[
1
].
Attributes
aSeq
.
getArray
()[
1
].
Attributes
=
ucb
::
ContentInfoAttribute
::
KIND_FOLDER
;
=
ucb
::
ContentInfoAttribute
::
KIND_FOLDER
;
...
...
ucb/source/ucp/webdav/webdavprovider.cxx
Dosyayı görüntüle @
3e4c5a35
...
@@ -94,7 +94,7 @@ XTYPEPROVIDER_IMPL_3( ContentProvider,
...
@@ -94,7 +94,7 @@ XTYPEPROVIDER_IMPL_3( ContentProvider,
XSERVICEINFO_IMPL_1_CTX
(
ContentProvider
,
XSERVICEINFO_IMPL_1_CTX
(
ContentProvider
,
OUString
(
"com.sun.star.comp.WebDAVContentProvider"
),
OUString
(
"com.sun.star.comp.WebDAVContentProvider"
),
OUString
(
WEBDAV_CONTENT_PROVIDER_SERVICE_NAME
)
);
WEBDAV_CONTENT_PROVIDER_SERVICE_NAME
);
...
...
ucb/source/ucp/webdav/webdavresponseparser.cxx
Dosyayı görüntüle @
3e4c5a35
...
@@ -230,7 +230,7 @@ namespace
...
@@ -230,7 +230,7 @@ namespace
void
WebDAVContext
::
splitName
(
const
OUString
&
rSource
)
void
WebDAVContext
::
splitName
(
const
OUString
&
rSource
)
{
{
const
sal_Int32
nLen
(
rSource
.
getLength
());
const
sal_Int32
nLen
(
rSource
.
getLength
());
maNamespace
=
""
;
maNamespace
.
clear
()
;
maName
=
rSource
;
maName
=
rSource
;
if
(
nLen
)
if
(
nLen
)
...
@@ -457,7 +457,8 @@ namespace
...
@@ -457,7 +457,8 @@ namespace
case
WebDAVName_response
:
case
WebDAVName_response
:
{
{
// response start, reset Href and status and maResponseProperties
// response start, reset Href and status and maResponseProperties
maHref
=
maStatus
=
""
;
maHref
.
clear
();
maStatus
.
clear
();
if
(
isCollectingProperties
())
if
(
isCollectingProperties
())
{
{
...
@@ -807,7 +808,7 @@ namespace
...
@@ -807,7 +808,7 @@ namespace
if
(
aNew
.
getLength
())
if
(
aNew
.
getLength
())
{
{
// add one char when appending (see html1.1 spec)
// add one char when appending (see html1.1 spec)
aNew
+=
OUString
(
' '
)
;
aNew
+=
" "
;
}
}
aNew
+=
aTrimmedChars
;
aNew
+=
aTrimmedChars
;
...
...
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