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
20cc8a45
Kaydet (Commit)
20cc8a45
authored
Ara 13, 2016
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:nullptr
Change-Id: I2cd1e82d86d8776155db2f70bc92c7c448f81ce0
üst
c69a8d91
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
SerfUnlockReqProcImpl.cxx
ucb/source/ucp/webdav/SerfUnlockReqProcImpl.cxx
+1
-1
SerfUri.cxx
ucb/source/ucp/webdav/SerfUri.cxx
+2
-2
webdavcontent.cxx
ucb/source/ucp/webdav/webdavcontent.cxx
+4
-4
webdavcontent.hxx
ucb/source/ucp/webdav/webdavcontent.hxx
+1
-1
webdavprovider.cxx
ucb/source/ucp/webdav/webdavprovider.cxx
+1
-1
webdavresponseparser.cxx
ucb/source/ucp/webdav/webdavresponseparser.cxx
+1
-1
webdavservices.cxx
ucb/source/ucp/webdav/webdavservices.cxx
+1
-1
No files found.
ucb/source/ucp/webdav/SerfUnlockReqProcImpl.cxx
Dosyayı görüntüle @
20cc8a45
...
@@ -40,7 +40,7 @@ serf_bucket_t * SerfUnlockReqProcImpl::createSerfRequestBucket( serf_request_t *
...
@@ -40,7 +40,7 @@ serf_bucket_t * SerfUnlockReqProcImpl::createSerfRequestBucket( serf_request_t *
serf_bucket_t
*
req_bkt
=
serf_request_bucket_request_create
(
inSerfRequest
,
serf_bucket_t
*
req_bkt
=
serf_request_bucket_request_create
(
inSerfRequest
,
"UNLOCK"
,
"UNLOCK"
,
getPathStr
(),
getPathStr
(),
0
,
nullptr
,
serf_request_get_alloc
(
inSerfRequest
)
);
serf_request_get_alloc
(
inSerfRequest
)
);
// set request header fields
// set request header fields
serf_bucket_t
*
hdrs_bkt
=
serf_bucket_request_get_headers
(
req_bkt
);
serf_bucket_t
*
hdrs_bkt
=
serf_bucket_request_get_headers
(
req_bkt
);
...
...
ucb/source/ucp/webdav/SerfUri.cxx
Dosyayı görüntüle @
20cc8a45
...
@@ -40,12 +40,12 @@ SerfUri::SerfUri( const apr_uri_t * inUri )
...
@@ -40,12 +40,12 @@ SerfUri::SerfUri( const apr_uri_t * inUri )
,
mPort
()
,
mPort
()
,
mPath
()
,
mPath
()
{
{
if
(
inUri
==
0
)
if
(
inUri
==
nullptr
)
throw
DAVException
(
DAVException
::
DAV_INVALID_ARG
);
throw
DAVException
(
DAVException
::
DAV_INVALID_ARG
);
char
*
uri
=
apr_uri_unparse
(
apr_environment
::
AprEnv
::
getAprEnv
()
->
getAprPool
(),
&
mAprUri
,
0
);
char
*
uri
=
apr_uri_unparse
(
apr_environment
::
AprEnv
::
getAprEnv
()
->
getAprPool
(),
&
mAprUri
,
0
);
if
(
uri
==
0
)
if
(
uri
==
nullptr
)
throw
DAVException
(
DAVException
::
DAV_INVALID_ARG
);
throw
DAVException
(
DAVException
::
DAV_INVALID_ARG
);
init
(
&
mAprUri
);
init
(
&
mAprUri
);
...
...
ucb/source/ucp/webdav/webdavcontent.cxx
Dosyayı görüntüle @
20cc8a45
...
@@ -352,11 +352,11 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
...
@@ -352,11 +352,11 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
{
{
}
}
cppu
::
OTypeCollection
*
pCollection
=
0
;
cppu
::
OTypeCollection
*
pCollection
=
nullptr
;
if
(
bFolder
)
if
(
bFolder
)
{
{
static
cppu
::
OTypeCollection
*
pFolderTypes
=
0
;
static
cppu
::
OTypeCollection
*
pFolderTypes
=
nullptr
;
pCollection
=
pFolderTypes
;
pCollection
=
pFolderTypes
;
if
(
!
pCollection
)
if
(
!
pCollection
)
...
@@ -389,7 +389,7 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
...
@@ -389,7 +389,7 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
}
}
else
else
{
{
static
cppu
::
OTypeCollection
*
pDocumentTypes
=
0
;
static
cppu
::
OTypeCollection
*
pDocumentTypes
=
nullptr
;
pCollection
=
pDocumentTypes
;
pCollection
=
pDocumentTypes
;
if
(
!
pCollection
)
if
(
!
pCollection
)
...
@@ -3365,7 +3365,7 @@ Content::ResourceType Content::getResourceType(
...
@@ -3365,7 +3365,7 @@ Content::ResourceType Content::getResourceType(
// resource is NON_DAV
// resource is NON_DAV
eResourceType
=
NON_DAV
;
eResourceType
=
NON_DAV
;
}
}
else
if
(
networkAccessAllowed
!=
0
)
else
if
(
networkAccessAllowed
!=
nullptr
)
{
{
*
networkAccessAllowed
=
*
networkAccessAllowed
*
networkAccessAllowed
=
*
networkAccessAllowed
&&
shouldAccessNetworkAfterException
(
e
);
&&
shouldAccessNetworkAfterException
(
e
);
...
...
ucb/source/ucp/webdav/webdavcontent.hxx
Dosyayı görüntüle @
20cc8a45
...
@@ -120,7 +120,7 @@ private:
...
@@ -120,7 +120,7 @@ private:
ResourceType
ResourceType
getResourceType
(
const
css
::
uno
::
Reference
<
css
::
ucb
::
XCommandEnvironment
>&
xEnv
,
getResourceType
(
const
css
::
uno
::
Reference
<
css
::
ucb
::
XCommandEnvironment
>&
xEnv
,
const
std
::
unique_ptr
<
DAVResourceAccess
>
&
rResAccess
,
const
std
::
unique_ptr
<
DAVResourceAccess
>
&
rResAccess
,
bool
*
networkAccessAllowed
=
0
)
bool
*
networkAccessAllowed
=
nullptr
)
throw
(
css
::
uno
::
Exception
);
throw
(
css
::
uno
::
Exception
);
// Command "open"
// Command "open"
...
...
ucb/source/ucp/webdav/webdavprovider.cxx
Dosyayı görüntüle @
20cc8a45
...
@@ -38,7 +38,7 @@ ContentProvider::ContentProvider(
...
@@ -38,7 +38,7 @@ ContentProvider::ContentProvider(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rContext
)
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rContext
)
:
::
ucbhelper
::
ContentProviderImplHelper
(
rContext
),
:
::
ucbhelper
::
ContentProviderImplHelper
(
rContext
),
m_xDAVSessionFactory
(
new
DAVSessionFactory
()
),
m_xDAVSessionFactory
(
new
DAVSessionFactory
()
),
m_pProps
(
0
)
m_pProps
(
nullptr
)
{
{
}
}
...
...
ucb/source/ucp/webdav/webdavresponseparser.cxx
Dosyayı görüntüle @
20cc8a45
...
@@ -372,7 +372,7 @@ namespace
...
@@ -372,7 +372,7 @@ namespace
WebDAVResponseParser
::
WebDAVResponseParser
(
WebDAVResponseParserMode
eWebDAVResponseParserMode
)
WebDAVResponseParser
::
WebDAVResponseParser
(
WebDAVResponseParserMode
eWebDAVResponseParserMode
)
:
maResult_PropFind
(),
:
maResult_PropFind
(),
maResult_PropName
(),
maResult_PropName
(),
mpContext
(
0
),
mpContext
(
nullptr
),
maHref
(),
maHref
(),
maStatus
(),
maStatus
(),
maResponseProperties
(),
maResponseProperties
(),
...
...
ucb/source/ucp/webdav/webdavservices.cxx
Dosyayı görüntüle @
20cc8a45
...
@@ -28,7 +28,7 @@ using namespace com::sun::star;
...
@@ -28,7 +28,7 @@ using namespace com::sun::star;
extern
"C"
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
ucpdav1_component_getFactory
(
extern
"C"
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
ucpdav1_component_getFactory
(
const
sal_Char
*
pImplName
,
void
*
pServiceManager
,
void
*
/*pRegistryKey*/
)
const
sal_Char
*
pImplName
,
void
*
pServiceManager
,
void
*
/*pRegistryKey*/
)
{
{
void
*
pRet
=
0
;
void
*
pRet
=
nullptr
;
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xSMgr
(
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xSMgr
(
static_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
)
);
static_cast
<
lang
::
XMultiServiceFactory
*
>
(
pServiceManager
)
);
...
...
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