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
317b5bda
Kaydet (Commit)
317b5bda
authored
Şub 06, 2014
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
webdav: lang::XMultiServiceFactory -> uno::XComponentContext
Change-Id: I71984066a512a023c67d1690bd984d66f75f894b
üst
dbe08174
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
66 additions
and
74 deletions
+66
-74
DAVResourceAccess.cxx
ucb/source/ucp/webdav/DAVResourceAccess.cxx
+8
-8
DAVResourceAccess.hxx
ucb/source/ucp/webdav/DAVResourceAccess.hxx
+2
-2
DAVSessionFactory.cxx
ucb/source/ucp/webdav/DAVSessionFactory.cxx
+4
-4
DAVSessionFactory.hxx
ucb/source/ucp/webdav/DAVSessionFactory.hxx
+4
-4
SerfSession.cxx
ucb/source/ucp/webdav/SerfSession.cxx
+5
-3
SerfSession.hxx
ucb/source/ucp/webdav/SerfSession.hxx
+0
-4
webdavcontent.cxx
ucb/source/ucp/webdav/webdavcontent.cxx
+21
-25
webdavcontent.hxx
ucb/source/ucp/webdav/webdavcontent.hxx
+3
-3
webdavdatasupplier.cxx
ucb/source/ucp/webdav/webdavdatasupplier.cxx
+6
-6
webdavdatasupplier.hxx
ucb/source/ucp/webdav/webdavdatasupplier.hxx
+1
-1
webdavprovider.cxx
ucb/source/ucp/webdav/webdavprovider.cxx
+7
-9
webdavprovider.hxx
ucb/source/ucp/webdav/webdavprovider.hxx
+1
-1
webdavresultset.cxx
ucb/source/ucp/webdav/webdavresultset.cxx
+4
-4
No files found.
ucb/source/ucp/webdav/DAVResourceAccess.cxx
Dosyayı görüntüle @
317b5bda
...
@@ -131,12 +131,12 @@ int DAVAuthListener_Impl::authenticate(
...
@@ -131,12 +131,12 @@ int DAVAuthListener_Impl::authenticate(
//=========================================================================
//=========================================================================
DAVResourceAccess
::
DAVResourceAccess
(
DAVResourceAccess
::
DAVResourceAccess
(
const
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
&
rSMgr
,
const
uno
::
Reference
<
uno
::
XComponentContext
>
&
rContext
,
rtl
::
Reference
<
DAVSessionFactory
>
const
&
rSessionFactory
,
rtl
::
Reference
<
DAVSessionFactory
>
const
&
rSessionFactory
,
const
OUString
&
rURL
)
const
OUString
&
rURL
)
:
m_aURL
(
rURL
),
:
m_aURL
(
rURL
),
m_xSessionFactory
(
rSessionFactory
),
m_xSessionFactory
(
rSessionFactory
),
m_x
SMgr
(
rSMgr
)
m_x
Context
(
rContext
)
{
{
}
}
...
@@ -146,7 +146,7 @@ DAVResourceAccess::DAVResourceAccess( const DAVResourceAccess & rOther )
...
@@ -146,7 +146,7 @@ DAVResourceAccess::DAVResourceAccess( const DAVResourceAccess & rOther )
m_aPath
(
rOther
.
m_aPath
),
m_aPath
(
rOther
.
m_aPath
),
m_xSession
(
rOther
.
m_xSession
),
m_xSession
(
rOther
.
m_xSession
),
m_xSessionFactory
(
rOther
.
m_xSessionFactory
),
m_xSessionFactory
(
rOther
.
m_xSessionFactory
),
m_x
SMgr
(
rOther
.
m_xSMgr
),
m_x
Context
(
rOther
.
m_xContext
),
m_aRedirectURIs
(
rOther
.
m_aRedirectURIs
)
m_aRedirectURIs
(
rOther
.
m_aRedirectURIs
)
{
{
}
}
...
@@ -159,7 +159,7 @@ DAVResourceAccess & DAVResourceAccess::operator=(
...
@@ -159,7 +159,7 @@ DAVResourceAccess & DAVResourceAccess::operator=(
m_aPath
=
rOther
.
m_aPath
;
m_aPath
=
rOther
.
m_aPath
;
m_xSession
=
rOther
.
m_xSession
;
m_xSession
=
rOther
.
m_xSession
;
m_xSessionFactory
=
rOther
.
m_xSessionFactory
;
m_xSessionFactory
=
rOther
.
m_xSessionFactory
;
m_x
SMgr
=
rOther
.
m_xSMgr
;
m_x
Context
=
rOther
.
m_xContext
;
m_aRedirectURIs
=
rOther
.
m_aRedirectURIs
;
m_aRedirectURIs
=
rOther
.
m_aRedirectURIs
;
return
*
this
;
return
*
this
;
...
@@ -592,7 +592,7 @@ void DAVResourceAccess::PUT(
...
@@ -592,7 +592,7 @@ void DAVResourceAccess::PUT(
// Make stream seekable, if it not. Needed, if request must be retried.
// Make stream seekable, if it not. Needed, if request must be retried.
uno
::
Reference
<
io
::
XInputStream
>
xSeekableStream
uno
::
Reference
<
io
::
XInputStream
>
xSeekableStream
=
comphelper
::
OSeekableInputWrapper
::
CheckSeekableCanWrap
(
=
comphelper
::
OSeekableInputWrapper
::
CheckSeekableCanWrap
(
rStream
,
m_x
SMgr
);
rStream
,
m_x
Context
);
int
errorCount
=
0
;
int
errorCount
=
0
;
bool
bRetry
=
false
;
bool
bRetry
=
false
;
...
@@ -641,7 +641,7 @@ uno::Reference< io::XInputStream > DAVResourceAccess::POST(
...
@@ -641,7 +641,7 @@ uno::Reference< io::XInputStream > DAVResourceAccess::POST(
// Make stream seekable, if it not. Needed, if request must be retried.
// Make stream seekable, if it not. Needed, if request must be retried.
uno
::
Reference
<
io
::
XInputStream
>
xSeekableStream
uno
::
Reference
<
io
::
XInputStream
>
xSeekableStream
=
comphelper
::
OSeekableInputWrapper
::
CheckSeekableCanWrap
(
=
comphelper
::
OSeekableInputWrapper
::
CheckSeekableCanWrap
(
rInputStream
,
m_x
SMgr
);
rInputStream
,
m_x
Context
);
uno
::
Reference
<
io
::
XInputStream
>
xStream
;
uno
::
Reference
<
io
::
XInputStream
>
xStream
;
int
errorCount
=
0
;
int
errorCount
=
0
;
...
@@ -705,7 +705,7 @@ void DAVResourceAccess::POST(
...
@@ -705,7 +705,7 @@ void DAVResourceAccess::POST(
// Make stream seekable, if it not. Needed, if request must be retried.
// Make stream seekable, if it not. Needed, if request must be retried.
uno
::
Reference
<
io
::
XInputStream
>
xSeekableStream
uno
::
Reference
<
io
::
XInputStream
>
xSeekableStream
=
comphelper
::
OSeekableInputWrapper
::
CheckSeekableCanWrap
(
=
comphelper
::
OSeekableInputWrapper
::
CheckSeekableCanWrap
(
rInputStream
,
m_x
SMgr
);
rInputStream
,
m_x
Context
);
int
errorCount
=
0
;
int
errorCount
=
0
;
bool
bRetry
=
false
;
bool
bRetry
=
false
;
...
@@ -1068,7 +1068,7 @@ void DAVResourceAccess::initialize()
...
@@ -1068,7 +1068,7 @@ void DAVResourceAccess::initialize()
// create new webdav session
// create new webdav session
m_xSession
m_xSession
=
m_xSessionFactory
->
createDAVSession
(
m_aURL
,
m_x
SMgr
);
=
m_xSessionFactory
->
createDAVSession
(
m_aURL
,
m_x
Context
);
if
(
!
m_xSession
.
is
()
)
if
(
!
m_xSession
.
is
()
)
return
;
return
;
...
...
ucb/source/ucp/webdav/DAVResourceAccess.hxx
Dosyayı görüntüle @
317b5bda
...
@@ -51,13 +51,13 @@ class DAVResourceAccess
...
@@ -51,13 +51,13 @@ class DAVResourceAccess
rtl
::
Reference
<
DAVSession
>
m_xSession
;
rtl
::
Reference
<
DAVSession
>
m_xSession
;
rtl
::
Reference
<
DAVSessionFactory
>
m_xSessionFactory
;
rtl
::
Reference
<
DAVSessionFactory
>
m_xSessionFactory
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>
m_xSMgr
;
com
::
sun
::
star
::
uno
::
XComponentContext
>
m_xContext
;
std
::
vector
<
SerfUri
>
m_aRedirectURIs
;
std
::
vector
<
SerfUri
>
m_aRedirectURIs
;
public
:
public
:
DAVResourceAccess
()
:
m_xSessionFactory
(
0
)
{}
DAVResourceAccess
()
:
m_xSessionFactory
(
0
)
{}
DAVResourceAccess
(
const
com
::
sun
::
star
::
uno
::
Reference
<
DAVResourceAccess
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>
&
rSMgr
,
com
::
sun
::
star
::
uno
::
XComponentContext
>
&
rContext
,
rtl
::
Reference
<
rtl
::
Reference
<
DAVSessionFactory
>
const
&
rSessionFactory
,
DAVSessionFactory
>
const
&
rSessionFactory
,
const
OUString
&
rURL
);
const
OUString
&
rURL
);
...
...
ucb/source/ucp/webdav/DAVSessionFactory.cxx
Dosyayı görüntüle @
317b5bda
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "DAVSessionFactory.hxx"
#include "DAVSessionFactory.hxx"
#include "SerfSession.hxx"
#include "SerfSession.hxx"
#include "SerfUri.hxx"
#include "SerfUri.hxx"
#include <com/sun/star/
lang/XMultiServiceFactory
.hpp>
#include <com/sun/star/
uno/XComponentContext
.hpp>
using
namespace
http_dav_ucp
;
using
namespace
http_dav_ucp
;
using
namespace
com
::
sun
::
star
;
using
namespace
com
::
sun
::
star
;
...
@@ -31,15 +31,15 @@ DAVSessionFactory::~DAVSessionFactory()
...
@@ -31,15 +31,15 @@ DAVSessionFactory::~DAVSessionFactory()
rtl
::
Reference
<
DAVSession
>
DAVSessionFactory
::
createDAVSession
(
rtl
::
Reference
<
DAVSession
>
DAVSessionFactory
::
createDAVSession
(
const
OUString
&
inUri
,
const
OUString
&
inUri
,
const
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
&
rxSMgr
)
const
uno
::
Reference
<
uno
::
XComponentContext
>
&
rxContext
)
throw
(
DAVException
)
throw
(
DAVException
)
{
{
m_xMSF
=
rx
SMgr
;
m_xMSF
=
rx
Context
;
osl
::
MutexGuard
aGuard
(
m_aMutex
);
osl
::
MutexGuard
aGuard
(
m_aMutex
);
if
(
!
m_xProxyDecider
.
get
()
)
if
(
!
m_xProxyDecider
.
get
()
)
m_xProxyDecider
.
reset
(
new
ucbhelper
::
InternetProxyDecider
(
rx
SMgr
)
);
m_xProxyDecider
.
reset
(
new
ucbhelper
::
InternetProxyDecider
(
rx
Context
)
);
Map
::
iterator
aIt
(
m_aMap
.
begin
()
);
Map
::
iterator
aIt
(
m_aMap
.
begin
()
);
Map
::
iterator
aEnd
(
m_aMap
.
end
()
);
Map
::
iterator
aEnd
(
m_aMap
.
end
()
);
...
...
ucb/source/ucp/webdav/DAVSessionFactory.hxx
Dosyayı görüntüle @
317b5bda
...
@@ -52,11 +52,11 @@ public:
...
@@ -52,11 +52,11 @@ public:
rtl
::
Reference
<
DAVSession
>
rtl
::
Reference
<
DAVSession
>
createDAVSession
(
const
OUString
&
inUri
,
createDAVSession
(
const
OUString
&
inUri
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rx
SMgr
)
rx
Context
)
throw
(
DAVException
);
throw
(
DAVException
);
::
uno
::
Reference
<
::
lang
::
XMultiServiceFactory
>
getServiceFactory
()
{
return
m_xMSF
;
}
::
uno
::
Reference
<
::
uno
::
XComponentContext
>
getServiceFactory
()
{
return
m_xMSF
;
}
private
:
private
:
typedef
std
::
map
<
OUString
,
DAVSession
*
>
Map
;
typedef
std
::
map
<
OUString
,
DAVSession
*
>
Map
;
...
@@ -64,7 +64,7 @@ private:
...
@@ -64,7 +64,7 @@ private:
osl
::
Mutex
m_aMutex
;
osl
::
Mutex
m_aMutex
;
std
::
auto_ptr
<
ucbhelper
::
InternetProxyDecider
>
m_xProxyDecider
;
std
::
auto_ptr
<
ucbhelper
::
InternetProxyDecider
>
m_xProxyDecider
;
::
uno
::
Reference
<
::
lang
::
XMultiServiceFactory
>
m_xMSF
;
::
uno
::
Reference
<
::
uno
::
XComponentContext
>
m_xMSF
;
void
releaseElement
(
DAVSession
*
pElement
)
SAL_THROW
(());
void
releaseElement
(
DAVSession
*
pElement
)
SAL_THROW
(());
...
...
ucb/source/ucp/webdav/SerfSession.cxx
Dosyayı görüntüle @
317b5bda
...
@@ -385,12 +385,14 @@ apr_status_t SerfSession::verifySerfCertificateChain (
...
@@ -385,12 +385,14 @@ apr_status_t SerfSession::verifySerfCertificateChain (
uno
::
Reference
<
xml
::
crypto
::
XSecurityEnvironment
>
xSecurityEnv
;
uno
::
Reference
<
xml
::
crypto
::
XSecurityEnvironment
>
xSecurityEnv
;
try
try
{
{
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
xContext
=
::
comphelper
::
getProcessComponentContext
();
// Create a certificate container.
// Create a certificate container.
xCertificateContainer
=
security
::
CertificateContainer
::
create
(
comphelper
::
getComponentContext
(
getMSF
())
);
xCertificateContainer
=
security
::
CertificateContainer
::
create
(
xContext
);
xSEInitializer
=
uno
::
Reference
<
xml
::
crypto
::
XSEInitializer
>
(
xSEInitializer
=
uno
::
Reference
<
xml
::
crypto
::
XSEInitializer
>
(
getMSF
()
->
createInstance
(
xContext
->
getServiceManager
()
->
createInstanceWithContext
(
OUString
(
"com.sun.star.xml.crypto.SEInitializer"
)
),
OUString
(
"com.sun.star.xml.crypto.SEInitializer"
)
,
xContext
),
uno
::
UNO_QUERY_THROW
);
uno
::
UNO_QUERY_THROW
);
xSecurityContext
=
xSEInitializer
->
createSecurityContext
(
OUString
()
);
xSecurityContext
=
xSEInitializer
->
createSecurityContext
(
OUString
()
);
...
...
ucb/source/ucp/webdav/SerfSession.hxx
Dosyayı görüntüle @
317b5bda
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
#include "SerfTypes.hxx"
#include "SerfTypes.hxx"
//#include "SerfLockStore.hxx"
//#include "SerfLockStore.hxx"
#include "SerfUri.hxx"
#include "SerfUri.hxx"
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
namespace
ucbhelper
{
class
ProxyDecider
;
}
namespace
ucbhelper
{
class
ProxyDecider
;
}
...
@@ -251,9 +250,6 @@ public:
...
@@ -251,9 +250,6 @@ public:
const
OUString
&
getHostName
()
const
{
return
m_aUri
.
GetHost
();
}
const
OUString
&
getHostName
()
const
{
return
m_aUri
.
GetHost
();
}
int
getPort
()
const
{
return
m_aUri
.
GetPort
();
}
int
getPort
()
const
{
return
m_aUri
.
GetPort
();
}
const
::
uno
::
Reference
<
::
lang
::
XMultiServiceFactory
>
getMSF
()
{
return
m_xFactory
->
getServiceFactory
();
}
sal_Bool
isDomainMatch
(
OUString
certHostName
);
sal_Bool
isDomainMatch
(
OUString
certHostName
);
private
:
private
:
...
...
ucb/source/ucp/webdav/webdavcontent.cxx
Dosyayı görüntüle @
317b5bda
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#include <osl/doublecheckedlocking.h>
#include <osl/doublecheckedlocking.h>
#include <rtl/uri.hxx>
#include <rtl/uri.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustrbuf.hxx>
#include <comphelper/processfactory.hxx>
#include <ucbhelper/contentidentifier.hxx>
#include <ucbhelper/contentidentifier.hxx>
#include <ucbhelper/propertyvalueset.hxx>
#include <ucbhelper/propertyvalueset.hxx>
#include <ucbhelper/simpleinteractionrequest.hxx>
#include <ucbhelper/simpleinteractionrequest.hxx>
...
@@ -199,12 +198,12 @@ static void lcl_sendPartialGETRequest( bool &bError,
...
@@ -199,12 +198,12 @@ static void lcl_sendPartialGETRequest( bool &bError,
//=========================================================================
//=========================================================================
// ctr for content on an existing webdav resource
// ctr for content on an existing webdav resource
Content
::
Content
(
Content
::
Content
(
const
uno
::
Reference
<
lang
::
XMultiServiceFactory
>&
rxSMgr
,
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
ContentProvider
*
pProvider
,
ContentProvider
*
pProvider
,
const
uno
::
Reference
<
ucb
::
XContentIdentifier
>&
Identifier
,
const
uno
::
Reference
<
ucb
::
XContentIdentifier
>&
Identifier
,
rtl
::
Reference
<
DAVSessionFactory
>
const
&
rSessionFactory
)
rtl
::
Reference
<
DAVSessionFactory
>
const
&
rSessionFactory
)
throw
(
ucb
::
ContentCreationException
)
throw
(
ucb
::
ContentCreationException
)
:
ContentImplHelper
(
rx
SMgr
,
pProvider
,
Identifier
),
:
ContentImplHelper
(
rx
Context
,
pProvider
,
Identifier
),
m_eResourceType
(
UNKNOWN
),
m_eResourceType
(
UNKNOWN
),
m_pProvider
(
pProvider
),
m_pProvider
(
pProvider
),
m_bTransient
(
false
),
m_bTransient
(
false
),
...
@@ -214,7 +213,7 @@ Content::Content(
...
@@ -214,7 +213,7 @@ Content::Content(
try
try
{
{
m_xResAccess
.
reset
(
new
DAVResourceAccess
(
m_xResAccess
.
reset
(
new
DAVResourceAccess
(
rx
SMgr
,
rx
Context
,
rSessionFactory
,
rSessionFactory
,
Identifier
->
getContentIdentifier
()
)
);
Identifier
->
getContentIdentifier
()
)
);
...
@@ -230,13 +229,13 @@ Content::Content(
...
@@ -230,13 +229,13 @@ Content::Content(
//=========================================================================
//=========================================================================
// ctr for content on an non-existing webdav resource
// ctr for content on an non-existing webdav resource
Content
::
Content
(
Content
::
Content
(
const
uno
::
Reference
<
lang
::
XMultiServiceFactory
>&
rxSMgr
,
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
ContentProvider
*
pProvider
,
ContentProvider
*
pProvider
,
const
uno
::
Reference
<
ucb
::
XContentIdentifier
>&
Identifier
,
const
uno
::
Reference
<
ucb
::
XContentIdentifier
>&
Identifier
,
rtl
::
Reference
<
DAVSessionFactory
>
const
&
rSessionFactory
,
rtl
::
Reference
<
DAVSessionFactory
>
const
&
rSessionFactory
,
sal_Bool
isCollection
)
sal_Bool
isCollection
)
throw
(
ucb
::
ContentCreationException
)
throw
(
ucb
::
ContentCreationException
)
:
ContentImplHelper
(
rx
SMgr
,
pProvider
,
Identifier
),
:
ContentImplHelper
(
rx
Context
,
pProvider
,
Identifier
),
m_eResourceType
(
UNKNOWN
),
m_eResourceType
(
UNKNOWN
),
m_pProvider
(
pProvider
),
m_pProvider
(
pProvider
),
m_bTransient
(
true
),
m_bTransient
(
true
),
...
@@ -246,7 +245,7 @@ Content::Content(
...
@@ -246,7 +245,7 @@ Content::Content(
try
try
{
{
m_xResAccess
.
reset
(
new
DAVResourceAccess
(
m_xResAccess
.
reset
(
new
DAVResourceAccess
(
rx
SMgr
,
rSessionFactory
,
Identifier
->
getContentIdentifier
()
)
);
rx
Context
,
rSessionFactory
,
Identifier
->
getContentIdentifier
()
)
);
}
}
catch
(
DAVException
const
&
)
catch
(
DAVException
const
&
)
{
{
...
@@ -298,7 +297,7 @@ uno::Any SAL_CALL Content::queryInterface( const uno::Type & rType )
...
@@ -298,7 +297,7 @@ uno::Any SAL_CALL Content::queryInterface( const uno::Type & rType )
try
try
{
{
uno
::
Reference
<
beans
::
XPropertySet
>
const
xProps
(
uno
::
Reference
<
beans
::
XPropertySet
>
const
xProps
(
m_x
SMgr
,
uno
::
UNO_QUERY_THROW
);
m_x
Context
,
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
uno
::
XComponentContext
>
xCtx
;
uno
::
Reference
<
uno
::
XComponentContext
>
xCtx
;
xCtx
.
set
(
xProps
->
getPropertyValue
(
xCtx
.
set
(
xProps
->
getPropertyValue
(
OUString
(
"DefaultContext"
)
),
OUString
(
"DefaultContext"
)
),
...
@@ -1195,12 +1194,12 @@ Content::createNewContent( const ucb::ContentInfo& Info )
...
@@ -1195,12 +1194,12 @@ Content::createNewContent( const ucb::ContentInfo& Info )
}
}
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xId
(
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xId
(
new
::
ucbhelper
::
ContentIdentifier
(
m_xSMgr
,
aURL
)
);
new
::
ucbhelper
::
ContentIdentifier
(
aURL
)
);
// create the local content
// create the local content
try
try
{
{
return
new
::
http_dav_ucp
::
Content
(
m_x
SMgr
,
return
new
::
http_dav_ucp
::
Content
(
m_x
Context
,
m_pProvider
,
m_pProvider
,
xId
,
xId
,
m_xResAccess
->
getSessionFactory
(),
m_xResAccess
->
getSessionFactory
(),
...
@@ -1343,7 +1342,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
...
@@ -1343,7 +1342,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
std
::
auto_ptr
<
DAVResourceAccess
>
xResAccess
;
std
::
auto_ptr
<
DAVResourceAccess
>
xResAccess
;
OUString
aUnescapedTitle
;
OUString
aUnescapedTitle
;
bool
bHasAll
=
false
;
bool
bHasAll
=
false
;
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xSMgr
;
uno
::
Reference
<
uno
::
XComponentContext
>
xContext
;
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xIdentifier
;
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xIdentifier
;
rtl
::
Reference
<
::
ucbhelper
::
ContentProviderImplHelper
>
xProvider
;
rtl
::
Reference
<
::
ucbhelper
::
ContentProviderImplHelper
>
xProvider
;
...
@@ -1351,7 +1350,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
...
@@ -1351,7 +1350,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
m_aMutex
);
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
m_aMutex
);
aUnescapedTitle
=
SerfUri
::
unescape
(
m_aEscapedTitle
);
aUnescapedTitle
=
SerfUri
::
unescape
(
m_aEscapedTitle
);
x
SMgr
.
set
(
m_xSMgr
);
x
Context
.
set
(
m_xContext
);
xIdentifier
.
set
(
m_xIdentifier
);
xIdentifier
.
set
(
m_xIdentifier
);
xProvider
.
set
(
m_xProvider
.
get
()
);
xProvider
.
set
(
m_xProvider
.
get
()
);
xResAccess
.
reset
(
new
DAVResourceAccess
(
*
m_xResAccess
.
get
()
)
);
xResAccess
.
reset
(
new
DAVResourceAccess
(
*
m_xResAccess
.
get
()
)
);
...
@@ -1655,7 +1654,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
...
@@ -1655,7 +1654,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
}
}
uno
::
Reference
<
sdbc
::
XRow
>
xResultRow
uno
::
Reference
<
sdbc
::
XRow
>
xResultRow
=
getPropertyValues
(
comphelper
::
getComponentContext
(
xSMgr
)
,
=
getPropertyValues
(
xContext
,
rProperties
,
rProperties
,
*
xProps
,
*
xProps
,
xProvider
,
xProvider
,
...
@@ -1682,7 +1681,6 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
...
@@ -1682,7 +1681,6 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
const
uno
::
Reference
<
ucb
::
XCommandEnvironment
>&
xEnv
)
const
uno
::
Reference
<
ucb
::
XCommandEnvironment
>&
xEnv
)
throw
(
uno
::
Exception
)
throw
(
uno
::
Exception
)
{
{
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xSMgr
;
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xIdentifier
;
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xIdentifier
;
rtl
::
Reference
<
ContentProvider
>
xProvider
;
rtl
::
Reference
<
ContentProvider
>
xProvider
;
sal_Bool
bTransient
;
sal_Bool
bTransient
;
...
@@ -1695,7 +1693,6 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
...
@@ -1695,7 +1693,6 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
xIdentifier
.
set
(
m_xIdentifier
);
xIdentifier
.
set
(
m_xIdentifier
);
bTransient
=
m_bTransient
;
bTransient
=
m_bTransient
;
xResAccess
.
reset
(
new
DAVResourceAccess
(
*
m_xResAccess
.
get
()
)
);
xResAccess
.
reset
(
new
DAVResourceAccess
(
*
m_xResAccess
.
get
()
)
);
xSMgr
.
set
(
m_xSMgr
);
}
}
uno
::
Sequence
<
uno
::
Any
>
aRet
(
rValues
.
getLength
()
);
uno
::
Sequence
<
uno
::
Any
>
aRet
(
rValues
.
getLength
()
);
...
@@ -2008,7 +2005,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
...
@@ -2008,7 +2005,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
aNewURL
+=
SerfUri
::
escapeSegment
(
aNewTitle
);
aNewURL
+=
SerfUri
::
escapeSegment
(
aNewTitle
);
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xNewId
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xNewId
=
new
::
ucbhelper
::
ContentIdentifier
(
xSMgr
,
aNewURL
);
=
new
::
ucbhelper
::
ContentIdentifier
(
aNewURL
);
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xOldId
=
xIdentifier
;
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xOldId
=
xIdentifier
;
try
try
...
@@ -2106,7 +2103,7 @@ uno::Any Content::open(
...
@@ -2106,7 +2103,7 @@ uno::Any Content::open(
// Open collection.
// Open collection.
uno
::
Reference
<
ucb
::
XDynamicResultSet
>
xSet
uno
::
Reference
<
ucb
::
XDynamicResultSet
>
xSet
=
new
DynamicResultSet
(
comphelper
::
getComponentContext
(
m_xSMgr
)
,
this
,
rArg
,
xEnv
);
=
new
DynamicResultSet
(
m_xContext
,
this
,
rArg
,
xEnv
);
aRet
<<=
xSet
;
aRet
<<=
xSet
;
}
}
else
else
...
@@ -2598,7 +2595,7 @@ void Content::insert(
...
@@ -2598,7 +2595,7 @@ void Content::insert(
{
{
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
m_aMutex
);
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
m_aMutex
);
m_xIdentifier
m_xIdentifier
=
new
::
ucbhelper
::
ContentIdentifier
(
m_xSMgr
,
aURL
);
=
new
::
ucbhelper
::
ContentIdentifier
(
aURL
);
}
}
inserted
();
inserted
();
...
@@ -2644,7 +2641,7 @@ void Content::transfer(
...
@@ -2644,7 +2641,7 @@ void Content::transfer(
const
uno
::
Reference
<
ucb
::
XCommandEnvironment
>&
Environment
)
const
uno
::
Reference
<
ucb
::
XCommandEnvironment
>&
Environment
)
throw
(
uno
::
Exception
)
throw
(
uno
::
Exception
)
{
{
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xSMgr
;
uno
::
Reference
<
uno
::
XComponentContext
>
xContext
;
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xIdentifier
;
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xIdentifier
;
uno
::
Reference
<
ucb
::
XContentProvider
>
xProvider
;
uno
::
Reference
<
ucb
::
XContentProvider
>
xProvider
;
std
::
auto_ptr
<
DAVResourceAccess
>
xResAccess
;
std
::
auto_ptr
<
DAVResourceAccess
>
xResAccess
;
...
@@ -2652,7 +2649,7 @@ void Content::transfer(
...
@@ -2652,7 +2649,7 @@ void Content::transfer(
{
{
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
m_aMutex
);
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
m_aMutex
);
x
SMgr
.
set
(
m_xSMgr
);
x
Context
.
set
(
m_xContext
);
xIdentifier
.
set
(
m_xIdentifier
);
xIdentifier
.
set
(
m_xIdentifier
);
xProvider
.
set
(
m_xProvider
.
get
()
);
xProvider
.
set
(
m_xProvider
.
get
()
);
xResAccess
.
reset
(
new
DAVResourceAccess
(
*
m_xResAccess
.
get
()
)
);
xResAccess
.
reset
(
new
DAVResourceAccess
(
*
m_xResAccess
.
get
()
)
);
...
@@ -2742,16 +2739,16 @@ void Content::transfer(
...
@@ -2742,16 +2739,16 @@ void Content::transfer(
aTargetURL
+=
aTitle
;
aTargetURL
+=
aTitle
;
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xTargetId
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xTargetId
=
new
::
ucbhelper
::
ContentIdentifier
(
xSMgr
,
aTargetURL
);
=
new
::
ucbhelper
::
ContentIdentifier
(
aTargetURL
);
DAVResourceAccess
aSourceAccess
(
x
SMgr
,
DAVResourceAccess
aSourceAccess
(
x
Context
,
xResAccess
->
getSessionFactory
(),
xResAccess
->
getSessionFactory
(),
sourceURI
.
GetURI
()
);
sourceURI
.
GetURI
()
);
if
(
rArgs
.
MoveData
==
sal_True
)
if
(
rArgs
.
MoveData
==
sal_True
)
{
{
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xId
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xId
=
new
::
ucbhelper
::
ContentIdentifier
(
xSMgr
,
rArgs
.
SourceURL
);
=
new
::
ucbhelper
::
ContentIdentifier
(
rArgs
.
SourceURL
);
// Note: The static cast is okay here, because its sure that
// Note: The static cast is okay here, because its sure that
// xProvider is always the WebDAVContentProvider.
// xProvider is always the WebDAVContentProvider.
...
@@ -3045,8 +3042,7 @@ sal_Bool Content::exchangeIdentity(
...
@@ -3045,8 +3042,7 @@ sal_Bool Content::exchangeIdentity(
aOldURL
.
getLength
(),
aOldURL
.
getLength
(),
xNewId
->
getContentIdentifier
()
);
xNewId
->
getContentIdentifier
()
);
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xNewChildId
uno
::
Reference
<
ucb
::
XContentIdentifier
>
xNewChildId
=
new
::
ucbhelper
::
ContentIdentifier
(
=
new
::
ucbhelper
::
ContentIdentifier
(
aNewChildURL
);
m_xSMgr
,
aNewChildURL
);
if
(
!
xChild
->
exchangeIdentity
(
xNewChildId
)
)
if
(
!
xChild
->
exchangeIdentity
(
xNewChildId
)
)
return
sal_False
;
return
sal_False
;
...
...
ucb/source/ucp/webdav/webdavcontent.hxx
Dosyayı görüntüle @
317b5bda
...
@@ -208,14 +208,14 @@ private:
...
@@ -208,14 +208,14 @@ private:
com
::
sun
::
star
::
uno
::
RuntimeException
);
com
::
sun
::
star
::
uno
::
RuntimeException
);
public
:
public
:
Content
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
Content
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
rxSMgr
,
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
ContentProvider
*
pProvider
,
ContentProvider
*
pProvider
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
ucb
::
XContentIdentifier
>&
Identifier
,
::
com
::
sun
::
star
::
ucb
::
XContentIdentifier
>&
Identifier
,
rtl
::
Reference
<
DAVSessionFactory
>
const
&
rSessionFactory
)
rtl
::
Reference
<
DAVSessionFactory
>
const
&
rSessionFactory
)
throw
(
::
com
::
sun
::
star
::
ucb
::
ContentCreationException
);
throw
(
::
com
::
sun
::
star
::
ucb
::
ContentCreationException
);
Content
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
Content
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
rxSMgr
,
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
ContentProvider
*
pProvider
,
ContentProvider
*
pProvider
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
ucb
::
XContentIdentifier
>&
Identifier
,
::
com
::
sun
::
star
::
ucb
::
XContentIdentifier
>&
Identifier
,
...
@@ -296,7 +296,7 @@ public:
...
@@ -296,7 +296,7 @@ public:
// Called from resultset data supplier.
// Called from resultset data supplier.
static
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XRow
>
static
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XRow
>
getPropertyValues
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
getPropertyValues
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
rSMgr
,
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rContext
,
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
Property
>&
rProperties
,
::
com
::
sun
::
star
::
beans
::
Property
>&
rProperties
,
const
ContentProperties
&
rData
,
const
ContentProperties
&
rData
,
...
...
ucb/source/ucp/webdav/webdavdatasupplier.cxx
Dosyayı görüntüle @
317b5bda
...
@@ -72,16 +72,16 @@ struct DataSupplier_Impl
...
@@ -72,16 +72,16 @@ struct DataSupplier_Impl
osl
::
Mutex
m_aMutex
;
osl
::
Mutex
m_aMutex
;
ResultList
m_aResults
;
ResultList
m_aResults
;
rtl
::
Reference
<
Content
>
m_xContent
;
rtl
::
Reference
<
Content
>
m_xContent
;
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
m_xSMgr
;
uno
::
Reference
<
uno
::
XComponentContext
>
m_xContext
;
sal_Int32
m_nOpenMode
;
sal_Int32
m_nOpenMode
;
sal_Bool
m_bCountFinal
;
sal_Bool
m_bCountFinal
;
sal_Bool
m_bThrowException
;
sal_Bool
m_bThrowException
;
DataSupplier_Impl
(
DataSupplier_Impl
(
const
uno
::
Reference
<
lang
::
XMultiServiceFactory
>&
rxSMgr
,
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
const
rtl
::
Reference
<
Content
>&
rContent
,
const
rtl
::
Reference
<
Content
>&
rContent
,
sal_Int32
nOpenMode
)
sal_Int32
nOpenMode
)
:
m_xContent
(
rContent
),
m_x
SMgr
(
rxSMgr
),
m_nOpenMode
(
nOpenMode
),
:
m_xContent
(
rContent
),
m_x
Context
(
rxContext
),
m_nOpenMode
(
nOpenMode
),
m_bCountFinal
(
sal_False
),
m_bThrowException
(
sal_False
)
{}
m_bCountFinal
(
sal_False
),
m_bThrowException
(
sal_False
)
{}
~
DataSupplier_Impl
();
~
DataSupplier_Impl
();
};
};
...
@@ -110,10 +110,10 @@ DataSupplier_Impl::~DataSupplier_Impl()
...
@@ -110,10 +110,10 @@ DataSupplier_Impl::~DataSupplier_Impl()
//=========================================================================
//=========================================================================
DataSupplier
::
DataSupplier
(
DataSupplier
::
DataSupplier
(
const
uno
::
Reference
<
lang
::
XMultiServiceFactory
>&
rxSMgr
,
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
const
rtl
::
Reference
<
Content
>&
rContent
,
const
rtl
::
Reference
<
Content
>&
rContent
,
sal_Int32
nOpenMode
)
sal_Int32
nOpenMode
)
:
m_pImpl
(
new
DataSupplier_Impl
(
rx
SMgr
,
rContent
,
nOpenMode
)
)
:
m_pImpl
(
new
DataSupplier_Impl
(
rx
Context
,
rContent
,
nOpenMode
)
)
{
{
}
}
...
@@ -297,7 +297,7 @@ uno::Reference< sdbc::XRow > DataSupplier::queryPropertyValues(
...
@@ -297,7 +297,7 @@ uno::Reference< sdbc::XRow > DataSupplier::queryPropertyValues(
{
{
uno
::
Reference
<
sdbc
::
XRow
>
xRow
uno
::
Reference
<
sdbc
::
XRow
>
xRow
=
Content
::
getPropertyValues
(
=
Content
::
getPropertyValues
(
m_pImpl
->
m_x
SMgr
,
m_pImpl
->
m_x
Context
,
getResultSet
()
->
getProperties
(),
getResultSet
()
->
getProperties
(),
*
(
m_pImpl
->
m_aResults
[
nIndex
]
->
pData
),
*
(
m_pImpl
->
m_aResults
[
nIndex
]
->
pData
),
rtl
::
Reference
<
::
ucbhelper
::
ContentProviderImplHelper
>
(
rtl
::
Reference
<
::
ucbhelper
::
ContentProviderImplHelper
>
(
...
...
ucb/source/ucp/webdav/webdavdatasupplier.hxx
Dosyayı görüntüle @
317b5bda
...
@@ -42,7 +42,7 @@ private:
...
@@ -42,7 +42,7 @@ private:
public
:
public
:
DataSupplier
(
const
com
::
sun
::
star
::
uno
::
Reference
<
DataSupplier
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
rxSMgr
,
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
const
rtl
::
Reference
<
Content
>&
rContent
,
const
rtl
::
Reference
<
Content
>&
rContent
,
sal_Int32
nOpenMode
);
sal_Int32
nOpenMode
);
...
...
ucb/source/ucp/webdav/webdavprovider.cxx
Dosyayı görüntüle @
317b5bda
...
@@ -62,8 +62,8 @@ OUString &WebDAVUserAgent::operator()() const
...
@@ -62,8 +62,8 @@ OUString &WebDAVUserAgent::operator()() const
//=========================================================================
//=========================================================================
ContentProvider
::
ContentProvider
(
ContentProvider
::
ContentProvider
(
const
uno
::
Reference
<
lang
::
XMultiServiceFactory
>&
rSMgr
)
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rContext
)
:
::
ucbhelper
::
ContentProviderImplHelper
(
r
SMgr
),
:
::
ucbhelper
::
ContentProviderImplHelper
(
r
Context
),
m_xDAVSessionFactory
(
new
DAVSessionFactory
()
),
m_xDAVSessionFactory
(
new
DAVSessionFactory
()
),
m_pProps
(
0
)
m_pProps
(
0
)
{
{
...
@@ -73,11 +73,9 @@ ContentProvider::ContentProvider(
...
@@ -73,11 +73,9 @@ ContentProvider::ContentProvider(
bInit
=
true
;
bInit
=
true
;
try
try
{
{
uno
::
Reference
<
uno
::
XComponentContext
>
xContext
(
::
comphelper
::
getProcessComponentContext
()
);
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xConfigProvider
(
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xConfigProvider
(
x
Context
->
getServiceManager
()
->
createInstanceWithContext
(
r
Context
->
getServiceManager
()
->
createInstanceWithContext
(
OUString
(
"com.sun.star.configuration.ConfigurationProvider"
),
x
Context
),
OUString
(
"com.sun.star.configuration.ConfigurationProvider"
),
r
Context
),
uno
::
UNO_QUERY_THROW
);
uno
::
UNO_QUERY_THROW
);
beans
::
NamedValue
aNodePath
;
beans
::
NamedValue
aNodePath
;
...
@@ -151,7 +149,7 @@ XTYPEPROVIDER_IMPL_3( ContentProvider,
...
@@ -151,7 +149,7 @@ XTYPEPROVIDER_IMPL_3( ContentProvider,
//
//
//=========================================================================
//=========================================================================
XSERVICEINFO_IMPL_1
(
ContentProvider
,
XSERVICEINFO_IMPL_1
_CTX
(
ContentProvider
,
OUString
(
"com.sun.star.comp.WebDAVContentProvider"
),
OUString
(
"com.sun.star.comp.WebDAVContentProvider"
),
OUString
(
WEBDAV_CONTENT_PROVIDER_SERVICE_NAME
)
);
OUString
(
WEBDAV_CONTENT_PROVIDER_SERVICE_NAME
)
);
...
@@ -238,7 +236,7 @@ ContentProvider::queryContent(
...
@@ -238,7 +236,7 @@ ContentProvider::queryContent(
}
}
if
(
bNewId
)
if
(
bNewId
)
xCanonicId
=
new
::
ucbhelper
::
ContentIdentifier
(
m_xSMgr
,
aURL
);
xCanonicId
=
new
::
ucbhelper
::
ContentIdentifier
(
aURL
);
else
else
xCanonicId
=
Identifier
;
xCanonicId
=
Identifier
;
...
@@ -255,7 +253,7 @@ ContentProvider::queryContent(
...
@@ -255,7 +253,7 @@ ContentProvider::queryContent(
try
try
{
{
xContent
=
new
::
http_dav_ucp
::
Content
(
xContent
=
new
::
http_dav_ucp
::
Content
(
m_x
SMgr
,
this
,
xCanonicId
,
m_xDAVSessionFactory
);
m_x
Context
,
this
,
xCanonicId
,
m_xDAVSessionFactory
);
registerNewContent
(
xContent
);
registerNewContent
(
xContent
);
}
}
catch
(
ucb
::
ContentCreationException
const
&
)
catch
(
ucb
::
ContentCreationException
const
&
)
...
...
ucb/source/ucp/webdav/webdavprovider.hxx
Dosyayı görüntüle @
317b5bda
...
@@ -73,7 +73,7 @@ class ContentProvider : public ::ucbhelper::ContentProviderImplHelper
...
@@ -73,7 +73,7 @@ class ContentProvider : public ::ucbhelper::ContentProviderImplHelper
public
:
public
:
ContentProvider
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
ContentProvider
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
rSMgr
);
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rContext
);
virtual
~
ContentProvider
();
virtual
~
ContentProvider
();
// XInterface
// XInterface
...
...
ucb/source/ucp/webdav/webdavresultset.cxx
Dosyayı görüntüle @
317b5bda
...
@@ -63,9 +63,9 @@ DynamicResultSet::DynamicResultSet(
...
@@ -63,9 +63,9 @@ DynamicResultSet::DynamicResultSet(
void
DynamicResultSet
::
initStatic
()
void
DynamicResultSet
::
initStatic
()
{
{
m_xResultSet1
m_xResultSet1
=
new
::
ucbhelper
::
ResultSet
(
comphelper
::
getComponentContext
(
m_xSMgr
)
,
=
new
::
ucbhelper
::
ResultSet
(
m_xContext
,
m_aCommand
.
Properties
,
m_aCommand
.
Properties
,
new
DataSupplier
(
m_x
SMgr
,
new
DataSupplier
(
m_x
Context
,
m_xContent
,
m_xContent
,
m_aCommand
.
Mode
),
m_aCommand
.
Mode
),
m_xEnv
);
m_xEnv
);
...
@@ -75,9 +75,9 @@ void DynamicResultSet::initStatic()
...
@@ -75,9 +75,9 @@ void DynamicResultSet::initStatic()
void
DynamicResultSet
::
initDynamic
()
void
DynamicResultSet
::
initDynamic
()
{
{
m_xResultSet1
m_xResultSet1
=
new
::
ucbhelper
::
ResultSet
(
comphelper
::
getComponentContext
(
m_xSMgr
)
,
=
new
::
ucbhelper
::
ResultSet
(
m_xContext
,
m_aCommand
.
Properties
,
m_aCommand
.
Properties
,
new
DataSupplier
(
m_x
SMgr
,
new
DataSupplier
(
m_x
Context
,
m_xContent
,
m_xContent
,
m_aCommand
.
Mode
),
m_aCommand
.
Mode
),
m_xEnv
);
m_xEnv
);
...
...
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