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
00bb8141
Kaydet (Commit)
00bb8141
authored
Kas 24, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:unusedfields in ucb/
Change-Id: Ic9ca044aa2465a197397bec6632e1a5aa5fe7110
üst
acc4acb9
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
23 additions
and
91 deletions
+23
-91
ucb.cxx
ucb/source/core/ucb.cxx
+0
-1
ucb.hxx
ucb/source/core/ucb.hxx
+0
-1
ucpext_datasupplier.cxx
ucb/source/ucp/ext/ucpext_datasupplier.cxx
+3
-7
ucpext_datasupplier.hxx
ucb/source/ucp/ext/ucpext_datasupplier.hxx
+1
-2
ucpext_resultset.cxx
ucb/source/ucp/ext/ucpext_resultset.cxx
+1
-2
ftpcontent.cxx
ucb/source/ucp/ftp/ftpcontent.cxx
+0
-5
ftpresultsetI.cxx
ucb/source/ucp/ftp/ftpresultsetI.cxx
+1
-2
ftpresultsetI.hxx
ucb/source/ucp/ftp/ftpresultsetI.hxx
+0
-1
ftpresultsetbase.cxx
ucb/source/ucp/ftp/ftpresultsetbase.cxx
+0
-2
ftpresultsetbase.hxx
ucb/source/ucp/ftp/ftpresultsetbase.hxx
+0
-2
ftpstrcont.hxx
ucb/source/ucp/ftp/ftpstrcont.hxx
+0
-3
pkgdatasupplier.cxx
ucb/source/ucp/package/pkgdatasupplier.cxx
+4
-7
pkgdatasupplier.hxx
ucb/source/ucp/package/pkgdatasupplier.hxx
+1
-2
pkgresultset.cxx
ucb/source/ucp/package/pkgresultset.cxx
+2
-4
tdoc_datasupplier.cxx
ucb/source/ucp/tdoc/tdoc_datasupplier.cxx
+5
-8
tdoc_datasupplier.hxx
ucb/source/ucp/tdoc/tdoc_datasupplier.hxx
+1
-2
tdoc_resultset.cxx
ucb/source/ucp/tdoc/tdoc_resultset.cxx
+2
-4
DAVResource.hxx
ucb/source/ucp/webdav-neon/DAVResource.hxx
+0
-3
DAVTypes.hxx
ucb/source/ucp/webdav-neon/DAVTypes.hxx
+0
-30
NeonPropFindRequest.cxx
ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx
+2
-3
No files found.
ucb/source/core/ucb.cxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -230,7 +230,6 @@ UniversalContentBroker::UniversalContentBroker(
const
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
)
:
m_xContext
(
xContext
),
m_pDisposeEventListeners
(
nullptr
),
m_nInitCount
(
0
),
//@@@ see initialize() method
m_nCommandId
(
0
)
{
OSL_ENSURE
(
m_xContext
.
is
(),
...
...
ucb/source/core/ucb.hxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -210,7 +210,6 @@ private:
ProviderMap_Impl
m_aProviders
;
osl
::
Mutex
m_aMutex
;
cppu
::
OInterfaceContainerHelper
*
m_pDisposeEventListeners
;
oslInterlockedCount
m_nInitCount
;
//@@@ see initialize() method
sal_Int32
m_nCommandId
;
};
...
...
ucb/source/ucp/ext/ucpext_datasupplier.cxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -86,13 +86,10 @@ namespace ucb { namespace ucp { namespace ext
ResultList
m_aResults
;
::
rtl
::
Reference
<
Content
>
m_xContent
;
Reference
<
XComponentContext
>
m_xContext
;
sal_Int32
m_nOpenMode
;
DataSupplier_Impl
(
const
Reference
<
XComponentContext
>&
rxContext
,
const
::
rtl
::
Reference
<
Content
>&
i_rContent
,
const
sal_Int32
i_nOpenMode
)
DataSupplier_Impl
(
const
Reference
<
XComponentContext
>&
rxContext
,
const
::
rtl
::
Reference
<
Content
>&
i_rContent
)
:
m_xContent
(
i_rContent
)
,
m_xContext
(
rxContext
)
,
m_nOpenMode
(
i_nOpenMode
)
{
}
~
DataSupplier_Impl
();
...
...
@@ -126,9 +123,8 @@ namespace ucb { namespace ucp { namespace ext
DataSupplier
::
DataSupplier
(
const
Reference
<
XComponentContext
>&
rxContext
,
const
::
rtl
::
Reference
<
Content
>&
i_rContent
,
const
sal_Int32
i_nOpenMode
)
:
m_pImpl
(
new
DataSupplier_Impl
(
rxContext
,
i_rContent
,
i_nOpenMode
)
)
const
::
rtl
::
Reference
<
Content
>&
i_rContent
)
:
m_pImpl
(
new
DataSupplier_Impl
(
rxContext
,
i_rContent
)
)
{
}
...
...
ucb/source/ucp/ext/ucpext_datasupplier.hxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -42,8 +42,7 @@ namespace ucb { namespace ucp { namespace ext
public
:
DataSupplier
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
rxContext
,
const
rtl
::
Reference
<
Content
>&
rContent
,
const
sal_Int32
nOpenMode
const
rtl
::
Reference
<
Content
>&
rContent
);
void
fetchData
();
...
...
ucb/source/ucp/ext/ucpext_resultset.cxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -63,8 +63,7 @@ namespace ucb { namespace ucp { namespace ext
{
::
rtl
::
Reference
<
DataSupplier
>
pDataSupplier
(
new
DataSupplier
(
m_xContext
,
m_xContent
,
m_aCommand
.
Mode
m_xContent
)
);
m_xResultSet1
=
new
::
ucbhelper
::
ResultSet
(
m_xContext
,
...
...
ucb/source/ucp/ftp/ftpcontent.cxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -238,13 +238,11 @@ public:
ResultSetFactoryI
(
const
Reference
<
XComponentContext
>&
rxContext
,
const
Reference
<
XContentProvider
>&
xProvider
,
sal_Int32
nOpenMode
,
const
Sequence
<
Property
>&
seq
,
const
Sequence
<
NumberedSortingInfo
>&
seqSort
,
const
std
::
vector
<
FTPDirentry
>&
dirvec
)
:
m_xContext
(
rxContext
),
m_xProvider
(
xProvider
),
m_nOpenMode
(
nOpenMode
),
m_seq
(
seq
),
m_seqSort
(
seqSort
),
m_dirvec
(
dirvec
)
...
...
@@ -255,7 +253,6 @@ public:
{
return
new
ResultSetI
(
m_xContext
,
m_xProvider
,
m_nOpenMode
,
m_seq
,
m_seqSort
,
m_dirvec
);
...
...
@@ -265,7 +262,6 @@ public:
Reference
<
XComponentContext
>
m_xContext
;
Reference
<
XContentProvider
>
m_xProvider
;
sal_Int32
m_nOpenMode
;
Sequence
<
Property
>
m_seq
;
Sequence
<
NumberedSortingInfo
>
m_seqSort
;
std
::
vector
<
FTPDirentry
>
m_dirvec
;
...
...
@@ -564,7 +560,6 @@ Any SAL_CALL FTPContent::execute( const Command& aCommand,
Environment
,
new
ResultSetFactoryI
(
m_xContext
,
m_xProvider
.
get
(),
aOpenCommand
.
Mode
,
aOpenCommand
.
Properties
,
aOpenCommand
.
SortingInfo
,
resvec
));
...
...
ucb/source/ucp/ftp/ftpresultsetI.cxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -40,11 +40,10 @@ using namespace com::sun::star::sdbc;
ResultSetI
::
ResultSetI
(
const
Reference
<
XComponentContext
>&
rxContext
,
const
Reference
<
XContentProvider
>&
xProvider
,
sal_Int32
nOpenMode
,
const
Sequence
<
Property
>&
seqProp
,
const
Sequence
<
NumberedSortingInfo
>&
seqSort
,
const
std
::
vector
<
FTPDirentry
>&
dirvec
)
:
ResultSetBase
(
rxContext
,
xProvider
,
nOpenMode
,
seqProp
,
seqSort
)
:
ResultSetBase
(
rxContext
,
xProvider
,
seqProp
,
seqSort
)
{
for
(
size_t
i
=
0
;
i
<
dirvec
.
size
();
++
i
)
m_aPath
.
push_back
(
dirvec
[
i
].
m_aURL
);
...
...
ucb/source/ucp/ftp/ftpresultsetI.hxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -37,7 +37,6 @@ namespace ftp {
ResultSetI
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
rxContext
,
const
css
::
uno
::
Reference
<
css
::
ucb
::
XContentProvider
>&
xProvider
,
sal_Int32
nOpenMode
,
const
css
::
uno
::
Sequence
<
css
::
beans
::
Property
>&
seq
,
const
css
::
uno
::
Sequence
<
css
::
ucb
::
NumberedSortingInfo
>&
seqSort
,
const
std
::
vector
<
FTPDirentry
>&
dirvec
);
...
...
ucb/source/ucp/ftp/ftpresultsetbase.cxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -33,14 +33,12 @@ using namespace com::sun::star;
ResultSetBase
::
ResultSetBase
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
const
uno
::
Reference
<
ucb
::
XContentProvider
>&
xProvider
,
sal_Int32
nOpenMode
,
const
uno
::
Sequence
<
beans
::
Property
>&
seq
,
const
uno
::
Sequence
<
ucb
::
NumberedSortingInfo
>&
seqSort
)
:
m_xContext
(
rxContext
),
m_xProvider
(
xProvider
),
m_nRow
(
-
1
),
m_nWasNull
(
true
),
m_nOpenMode
(
nOpenMode
),
m_bRowCountFinal
(
true
),
m_sProperty
(
seq
),
m_sSortingInfo
(
seqSort
),
...
...
ucb/source/ucp/ftp/ftpresultsetbase.hxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -52,7 +52,6 @@ namespace ftp {
ResultSetBase
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
rxContext
,
const
css
::
uno
::
Reference
<
css
::
ucb
::
XContentProvider
>&
xProvider
,
sal_Int32
nOpenMode
,
const
css
::
uno
::
Sequence
<
css
::
beans
::
Property
>&
seq
,
const
css
::
uno
::
Sequence
<
css
::
ucb
::
NumberedSortingInfo
>&
seqSort
);
...
...
@@ -523,7 +522,6 @@ namespace ftp {
css
::
ucb
::
XContentProvider
>
m_xProvider
;
sal_Int32
m_nRow
;
bool
m_nWasNull
;
sal_Int32
m_nOpenMode
;
bool
m_bRowCountFinal
;
typedef
std
::
vector
<
css
::
uno
::
Reference
<
...
...
ucb/source/ucp/ftp/ftpstrcont.hxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -57,9 +57,6 @@ namespace ftp {
virtual
~
FTPInputStreamContainer
()
{}
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
operator
()();
private
:
FTPInputStream
*
m_out
;
};
}
...
...
ucb/source/ucp/package/pkgdatasupplier.cxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -79,16 +79,14 @@ struct DataSupplier_Impl
rtl
::
Reference
<
Content
>
m_xContent
;
uno
::
Reference
<
uno
::
XComponentContext
>
m_xContext
;
uno
::
Reference
<
container
::
XEnumeration
>
m_xFolderEnum
;
sal_Int32
m_nOpenMode
;
bool
m_bCountFinal
;
bool
m_bThrowException
;
DataSupplier_Impl
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
const
rtl
::
Reference
<
Content
>&
rContent
,
sal_Int32
nOpenMode
)
const
rtl
::
Reference
<
Content
>&
rContent
)
:
m_xContent
(
rContent
),
m_xContext
(
rxContext
),
m_xFolderEnum
(
rContent
->
getIterator
()
),
m_nOpenMode
(
nOpenMode
),
m_xFolderEnum
(
rContent
->
getIterator
()
),
m_bCountFinal
(
!
m_xFolderEnum
.
is
()
),
m_bThrowException
(
m_bCountFinal
)
{}
~
DataSupplier_Impl
();
...
...
@@ -119,9 +117,8 @@ DataSupplier_Impl::~DataSupplier_Impl()
DataSupplier
::
DataSupplier
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
const
rtl
::
Reference
<
Content
>&
rContent
,
sal_Int32
nOpenMode
)
:
m_pImpl
(
new
DataSupplier_Impl
(
rxContext
,
rContent
,
nOpenMode
)
)
const
rtl
::
Reference
<
Content
>&
rContent
)
:
m_pImpl
(
new
DataSupplier_Impl
(
rxContext
,
rContent
)
)
{
}
...
...
ucb/source/ucp/package/pkgdatasupplier.hxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -35,8 +35,7 @@ class DataSupplier : public ::ucbhelper::ResultSetDataSupplier
public
:
DataSupplier
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
rxContext
,
const
rtl
::
Reference
<
Content
>&
rContent
,
sal_Int32
nOpenMode
);
const
rtl
::
Reference
<
Content
>&
rContent
);
virtual
~
DataSupplier
();
virtual
OUString
queryContentIdentifierString
(
sal_uInt32
nIndex
)
override
;
...
...
ucb/source/ucp/package/pkgresultset.cxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -65,8 +65,7 @@ void DynamicResultSet::initStatic()
=
new
::
ucbhelper
::
ResultSet
(
m_xContext
,
m_aCommand
.
Properties
,
new
DataSupplier
(
m_xContext
,
m_xContent
,
m_aCommand
.
Mode
),
m_xContent
),
m_xEnv
);
}
...
...
@@ -77,8 +76,7 @@ void DynamicResultSet::initDynamic()
=
new
::
ucbhelper
::
ResultSet
(
m_xContext
,
m_aCommand
.
Properties
,
new
DataSupplier
(
m_xContext
,
m_xContent
,
m_aCommand
.
Mode
),
m_xContent
),
m_xEnv
);
m_xResultSet2
=
m_xResultSet1
;
}
...
...
ucb/source/ucp/tdoc/tdoc_datasupplier.cxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -74,17 +74,15 @@ struct DataSupplier_Impl
ResultList
m_aResults
;
rtl
::
Reference
<
Content
>
m_xContent
;
uno
::
Reference
<
uno
::
XComponentContext
>
m_xContext
;
uno
::
Sequence
<
OUString
>
*
m_pNamesOfChildren
;
sal_Int32
m_nOpenMode
;
uno
::
Sequence
<
OUString
>
*
m_pNamesOfChildren
;
bool
m_bCountFinal
;
bool
m_bThrowException
;
DataSupplier_Impl
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
const
rtl
::
Reference
<
Content
>&
rContent
,
sal_Int32
nOpenMode
)
const
rtl
::
Reference
<
Content
>&
rContent
)
:
m_xContent
(
rContent
),
m_xContext
(
rxContext
),
m_pNamesOfChildren
(
nullptr
),
m_nOpenMode
(
nOpenMode
),
m_pNamesOfChildren
(
nullptr
),
m_bCountFinal
(
false
),
m_bThrowException
(
false
)
{}
~
DataSupplier_Impl
();
...
...
@@ -110,9 +108,8 @@ DataSupplier_Impl::~DataSupplier_Impl()
// DataSupplier Implementation.
ResultSetDataSupplier
::
ResultSetDataSupplier
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
const
rtl
::
Reference
<
Content
>&
rContent
,
sal_Int32
nOpenMode
)
:
m_pImpl
(
new
DataSupplier_Impl
(
rxContext
,
rContent
,
nOpenMode
)
)
const
rtl
::
Reference
<
Content
>&
rContent
)
:
m_pImpl
(
new
DataSupplier_Impl
(
rxContext
,
rContent
)
)
{
}
...
...
ucb/source/ucp/tdoc/tdoc_datasupplier.hxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -41,8 +41,7 @@ private:
public
:
ResultSetDataSupplier
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
rxContext
,
const
rtl
::
Reference
<
Content
>&
rContent
,
sal_Int32
nOpenMode
=
css
::
ucb
::
OpenMode
::
ALL
);
const
rtl
::
Reference
<
Content
>&
rContent
);
virtual
~
ResultSetDataSupplier
();
virtual
OUString
queryContentIdentifierString
(
sal_uInt32
nIndex
)
override
;
...
...
ucb/source/ucp/tdoc/tdoc_resultset.cxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -67,8 +67,7 @@ void DynamicResultSet::initStatic()
m_xContext
,
m_aCommand
.
Properties
,
new
ResultSetDataSupplier
(
m_xContext
,
m_xContent
,
m_aCommand
.
Mode
)
);
m_xContent
)
);
}
...
...
@@ -79,8 +78,7 @@ void DynamicResultSet::initDynamic()
m_xContext
,
m_aCommand
.
Properties
,
new
ResultSetDataSupplier
(
m_xContext
,
m_xContent
,
m_aCommand
.
Mode
)
);
m_xContent
)
);
m_xResultSet2
=
m_xResultSet1
;
}
...
...
ucb/source/ucp/webdav-neon/DAVResource.hxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -58,10 +58,7 @@ struct DAVResource
struct
DAVResourceInfo
{
OUString
uri
;
std
::
vector
<
OUString
>
properties
;
explicit
DAVResourceInfo
(
const
OUString
&
inUri
)
:
uri
(
inUri
)
{}
};
}
// namespace webdav_ucp
...
...
ucb/source/ucp/webdav-neon/DAVTypes.hxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -35,36 +35,6 @@
namespace
webdav_ucp
{
/* RFC 2518
15.1 Class 1
A class 1 compliant resource MUST meet all "MUST" requirements in all
sections of this document.
Class 1 compliant resources MUST return, at minimum, the value "1" in
the DAV header on all responses to the OPTIONS method.
15.2 Class 2
A class 2 compliant resource MUST meet all class 1 requirements and
support the LOCK method, the supportedlock property, the
lockdiscovery property, the Time-Out response header and the Lock-
Token request header. A class "2" compliant resource SHOULD also
support the Time-Out request header and the owner XML element.
Class 2 compliant resources MUST return, at minimum, the values "1"
and "2" in the DAV header on all responses to the OPTIONS method.
*/
struct
DAVCapabilities
{
bool
class1
;
bool
class2
;
bool
executable
;
// supports "executable" property (introduced by mod_dav)
DAVCapabilities
()
:
class1
(
false
),
class2
(
false
),
executable
(
false
)
{}
};
enum
Depth
{
DAVZERO
=
0
,
DAVONE
=
1
,
DAVINFINITY
=
-
1
};
...
...
ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx
Dosyayı görüntüle @
00bb8141
...
...
@@ -220,13 +220,12 @@ extern "C" int NPFR_propnames_iter( void* userdata,
}
extern
"C"
void
NPFR_propnames_results
(
void
*
userdata
,
const
ne_uri
*
uri
,
const
ne_uri
*
/*uri*/
,
const
NeonPropFindResultSet
*
results
)
{
// @@@ href is not the uri! DAVResourceInfo ctor wants uri!
// Create entry for the resource.
DAVResourceInfo
theResource
(
OStringToOUString
(
uri
->
path
,
RTL_TEXTENCODING_UTF8
)
);
DAVResourceInfo
theResource
;
// Fill entry.
ne_propset_iterate
(
results
,
NPFR_propnames_iter
,
&
theResource
);
...
...
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