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
05671c1f
Kaydet (Commit)
05671c1f
authored
Mar 25, 2014
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
unused variables and simplify
Change-Id: Ib2412d5bd3e3db42b972783bb8d17bc6559c9c21
üst
166a934c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
18 deletions
+5
-18
DAVSessionFactory.cxx
ucb/source/ucp/webdav/DAVSessionFactory.cxx
+0
-2
DAVSessionFactory.hxx
ucb/source/ucp/webdav/DAVSessionFactory.hxx
+0
-3
SerfLockStore.cxx
ucb/source/ucp/webdav/SerfLockStore.cxx
+1
-2
SerfSession.cxx
ucb/source/ucp/webdav/SerfSession.cxx
+3
-5
webdavprovider.cxx
ucb/source/ucp/webdav/webdavprovider.cxx
+1
-2
webdavprovider.hxx
ucb/source/ucp/webdav/webdavprovider.hxx
+0
-4
No files found.
ucb/source/ucp/webdav/DAVSessionFactory.cxx
Dosyayı görüntüle @
05671c1f
...
...
@@ -34,8 +34,6 @@ rtl::Reference< DAVSession > DAVSessionFactory::createDAVSession(
const
uno
::
Reference
<
uno
::
XComponentContext
>
&
rxContext
)
throw
(
DAVException
)
{
m_xMSF
=
rxContext
;
osl
::
MutexGuard
aGuard
(
m_aMutex
);
if
(
!
m_xProxyDecider
.
get
()
)
...
...
ucb/source/ucp/webdav/DAVSessionFactory.hxx
Dosyayı görüntüle @
05671c1f
...
...
@@ -56,7 +56,6 @@ public:
rxContext
)
throw
(
DAVException
);
::
uno
::
Reference
<
::
uno
::
XComponentContext
>
getServiceFactory
()
{
return
m_xMSF
;
}
private
:
typedef
std
::
map
<
OUString
,
DAVSession
*
>
Map
;
...
...
@@ -64,8 +63,6 @@ private:
osl
::
Mutex
m_aMutex
;
std
::
auto_ptr
<
ucbhelper
::
InternetProxyDecider
>
m_xProxyDecider
;
::
uno
::
Reference
<
::
uno
::
XComponentContext
>
m_xMSF
;
void
releaseElement
(
DAVSession
*
pElement
)
SAL_THROW
(());
friend
class
DAVSession
;
...
...
ucb/source/ucp/webdav/SerfLockStore.cxx
Dosyayı görüntüle @
05671c1f
...
...
@@ -91,8 +91,7 @@ SerfLockStore::~SerfLockStore()
const
LockInfoMap
::
const_iterator
end
(
m_aLockInfoMap
.
end
()
);
while
(
it
!=
end
)
{
const
OUString
&
rLock
=
(
*
it
).
first
;
(
*
it
).
second
.
m_xSession
->
UNLOCK
(
rLock
);
(
*
it
).
second
.
m_xSession
->
UNLOCK
(
(
*
it
).
first
);
++
it
;
}
}
...
...
ucb/source/ucp/webdav/SerfSession.cxx
Dosyayı görüntüle @
05671c1f
...
...
@@ -36,6 +36,7 @@
#include "SerfInputStream.hxx"
#include "UCBDeadPropertyValue.hxx"
#include <com/sun/star/xml/crypto/SEInitializer.hpp>
#include <com/sun/star/xml/crypto/XSecurityEnvironment.hpp>
#include <com/sun/star/security/XCertificate.hpp>
#include <com/sun/star/security/CertificateValidity.hpp>
...
...
@@ -354,7 +355,6 @@ apr_status_t SerfSession::verifySerfCertificateChain (
// Create some crypto objects to decode and handle the base64
// encoded certificate chain.
uno
::
Reference
<
xml
::
crypto
::
XSEInitializer
>
xSEInitializer
;
uno
::
Reference
<
security
::
XCertificateContainer
>
xCertificateContainer
;
uno
::
Reference
<
xml
::
crypto
::
XXMLSecurityContext
>
xSecurityContext
;
uno
::
Reference
<
xml
::
crypto
::
XSecurityEnvironment
>
xSecurityEnv
;
...
...
@@ -365,10 +365,8 @@ apr_status_t SerfSession::verifySerfCertificateChain (
// Create a certificate container.
xCertificateContainer
=
security
::
CertificateContainer
::
create
(
xContext
);
xSEInitializer
=
uno
::
Reference
<
xml
::
crypto
::
XSEInitializer
>
(
xContext
->
getServiceManager
()
->
createInstanceWithContext
(
OUString
(
"com.sun.star.xml.crypto.SEInitializer"
),
xContext
),
uno
::
UNO_QUERY_THROW
);
css
::
uno
::
Reference
<
css
::
xml
::
crypto
::
XSEInitializer
>
xSEInitializer
=
css
::
xml
::
crypto
::
SEInitializer
::
create
(
xContext
);
xSecurityContext
=
xSEInitializer
->
createSecurityContext
(
OUString
()
);
if
(
xSecurityContext
.
is
())
...
...
ucb/source/ucp/webdav/webdavprovider.cxx
Dosyayı görüntüle @
05671c1f
...
...
@@ -39,7 +39,6 @@ using namespace http_dav_ucp;
ContentProvider
::
ContentProvider
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rContext
)
:
::
ucbhelper
::
ContentProviderImplHelper
(
rContext
),
m_xDAVSessionFactory
(
new
DAVSessionFactory
()
),
m_pProps
(
0
)
{
}
...
...
@@ -196,7 +195,7 @@ ContentProvider::queryContent(
try
{
xContent
=
new
::
http_dav_ucp
::
Content
(
m_xContext
,
this
,
xCanonicId
,
m_xDAVSessionFactory
);
m_xContext
,
this
,
xCanonicId
,
new
DAVSessionFactory
()
);
registerNewContent
(
xContent
);
}
catch
(
ucb
::
ContentCreationException
const
&
)
...
...
ucb/source/ucp/webdav/webdavprovider.hxx
Dosyayı görüntüle @
05671c1f
...
...
@@ -68,7 +68,6 @@ namespace http_dav_ucp {
class
ContentProvider
:
public
::
ucbhelper
::
ContentProviderImplHelper
{
rtl
::
Reference
<
DAVSessionFactory
>
m_xDAVSessionFactory
;
PropertyMap
*
m_pProps
;
public
:
...
...
@@ -121,9 +120,6 @@ public:
// Non-interface methods.
rtl
::
Reference
<
DAVSessionFactory
>
getDAVSessionFactory
()
{
return
m_xDAVSessionFactory
;
}
bool
getProperty
(
const
OUString
&
rPropName
,
::
com
::
sun
::
star
::
beans
::
Property
&
rProp
,
bool
bStrict
=
false
);
...
...
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