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
a3688234
Kaydet (Commit)
a3688234
authored
Şub 16, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
another dependency still required
Change-Id: I0f0ce96ee8209f711739952422d642a012252d1f
üst
bd08ebde
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
14 deletions
+38
-14
configuration.hxx
include/comphelper/configuration.hxx
+32
-12
xmlreader.hxx
include/xmlreader/xmlreader.hxx
+4
-2
Library_utl.mk
unotools/Library_utl.mk
+2
-0
No files found.
include/comphelper/configuration.hxx
Dosyayı görüntüle @
a3688234
...
@@ -12,7 +12,6 @@
...
@@ -12,7 +12,6 @@
#include <sal/config.h>
#include <sal/config.h>
#include <boost/noncopyable.hpp>
#include <boost/optional.hpp>
#include <boost/optional.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Reference.hxx>
...
@@ -43,7 +42,7 @@ namespace detail { class ConfigurationWrapper; }
...
@@ -43,7 +42,7 @@ namespace detail { class ConfigurationWrapper; }
///
///
/// This is the only class from this header file that client code should use
/// This is the only class from this header file that client code should use
/// directly.
/// directly.
class
COMPHELPER_DLLPUBLIC
ConfigurationChanges
:
private
boost
::
noncopyable
{
class
COMPHELPER_DLLPUBLIC
ConfigurationChanges
{
public
:
public
:
static
std
::
shared_ptr
<
ConfigurationChanges
>
create
(
static
std
::
shared_ptr
<
ConfigurationChanges
>
create
(
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XComponentContext
>
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XComponentContext
>
...
@@ -54,6 +53,9 @@ public:
...
@@ -54,6 +53,9 @@ public:
void
commit
()
const
;
void
commit
()
const
;
private
:
private
:
ConfigurationChanges
(
const
ConfigurationChanges
&
)
SAL_DELETED_FUNCTION
;
ConfigurationChanges
&
operator
=
(
const
ConfigurationChanges
&
)
SAL_DELETED_FUNCTION
;
SAL_DLLPRIVATE
ConfigurationChanges
(
SAL_DLLPRIVATE
ConfigurationChanges
(
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XComponentContext
>
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XComponentContext
>
const
&
context
);
const
&
context
);
...
@@ -79,7 +81,7 @@ private:
...
@@ -79,7 +81,7 @@ private:
namespace
detail
{
namespace
detail
{
/// @internal
/// @internal
class
COMPHELPER_DLLPUBLIC
ConfigurationWrapper
:
private
boost
::
noncopyable
{
class
COMPHELPER_DLLPUBLIC
ConfigurationWrapper
{
public
:
public
:
static
ConfigurationWrapper
const
&
get
(
static
ConfigurationWrapper
const
&
get
(
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XComponentContext
>
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XComponentContext
>
...
@@ -127,6 +129,9 @@ public:
...
@@ -127,6 +129,9 @@ public:
std
::
shared_ptr
<
ConfigurationChanges
>
createChanges
()
const
;
std
::
shared_ptr
<
ConfigurationChanges
>
createChanges
()
const
;
private
:
private
:
ConfigurationWrapper
(
const
ConfigurationWrapper
&
)
SAL_DELETED_FUNCTION
;
ConfigurationWrapper
&
operator
=
(
const
ConfigurationWrapper
&
)
SAL_DELETED_FUNCTION
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XComponentContext
>
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
uno
::
XComponentContext
>
context_
;
context_
;
...
@@ -135,7 +140,7 @@ private:
...
@@ -135,7 +140,7 @@ private:
};
};
/// @internal
/// @internal
template
<
typename
T
>
struct
Convert
:
private
boost
::
noncopyable
{
template
<
typename
T
>
struct
Convert
{
static
com
::
sun
::
star
::
uno
::
Any
toAny
(
T
const
&
value
)
static
com
::
sun
::
star
::
uno
::
Any
toAny
(
T
const
&
value
)
{
return
com
::
sun
::
star
::
uno
::
makeAny
(
value
);
}
{
return
com
::
sun
::
star
::
uno
::
makeAny
(
value
);
}
...
@@ -143,13 +148,15 @@ template< typename T > struct Convert: private boost::noncopyable {
...
@@ -143,13 +148,15 @@ template< typename T > struct Convert: private boost::noncopyable {
{
return
value
.
get
<
T
>
();
}
{
return
value
.
get
<
T
>
();
}
private
:
private
:
Convert
(
const
Convert
&
)
SAL_DELETED_FUNCTION
;
Convert
&
operator
=
(
const
Convert
&
)
SAL_DELETED_FUNCTION
;
Convert
()
SAL_DELETED_FUNCTION
;
Convert
()
SAL_DELETED_FUNCTION
;
~
Convert
()
SAL_DELETED_FUNCTION
;
~
Convert
()
SAL_DELETED_FUNCTION
;
};
};
/// @internal
/// @internal
template
<
typename
T
>
struct
Convert
<
boost
::
optional
<
T
>
>:
template
<
typename
T
>
struct
Convert
<
boost
::
optional
<
T
>
>
private
boost
::
noncopyable
{
{
static
com
::
sun
::
star
::
uno
::
Any
toAny
(
boost
::
optional
<
T
>
const
&
value
)
{
static
com
::
sun
::
star
::
uno
::
Any
toAny
(
boost
::
optional
<
T
>
const
&
value
)
{
return
value
return
value
...
@@ -164,6 +171,9 @@ template< typename T > struct Convert< boost::optional< T > >:
...
@@ -164,6 +171,9 @@ template< typename T > struct Convert< boost::optional< T > >:
}
}
private
:
private
:
Convert
(
const
Convert
&
)
SAL_DELETED_FUNCTION
;
Convert
&
operator
=
(
const
Convert
&
)
SAL_DELETED_FUNCTION
;
Convert
()
SAL_DELETED_FUNCTION
;
Convert
()
SAL_DELETED_FUNCTION
;
~
Convert
()
SAL_DELETED_FUNCTION
;
~
Convert
()
SAL_DELETED_FUNCTION
;
};
};
...
@@ -175,8 +185,7 @@ private:
...
@@ -175,8 +185,7 @@ private:
/// Automatically generated headers for the various configuration properties
/// Automatically generated headers for the various configuration properties
/// derive from this template and make available its member functions to access
/// derive from this template and make available its member functions to access
/// each given configuration property.
/// each given configuration property.
template
<
typename
T
,
typename
U
>
struct
ConfigurationProperty
:
template
<
typename
T
,
typename
U
>
struct
ConfigurationProperty
private
boost
::
noncopyable
{
{
/// Get the value of the given (non-localized) configuration property.
/// Get the value of the given (non-localized) configuration property.
///
///
...
@@ -208,6 +217,9 @@ template< typename T, typename U > struct ConfigurationProperty:
...
@@ -208,6 +217,9 @@ template< typename T, typename U > struct ConfigurationProperty:
}
}
private
:
private
:
ConfigurationProperty
(
const
ConfigurationProperty
&
)
SAL_DELETED_FUNCTION
;
ConfigurationProperty
&
operator
=
(
const
ConfigurationProperty
&
)
SAL_DELETED_FUNCTION
;
ConfigurationProperty
()
SAL_DELETED_FUNCTION
;
ConfigurationProperty
()
SAL_DELETED_FUNCTION
;
~
ConfigurationProperty
()
SAL_DELETED_FUNCTION
;
~
ConfigurationProperty
()
SAL_DELETED_FUNCTION
;
};
};
...
@@ -217,8 +229,7 @@ private:
...
@@ -217,8 +229,7 @@ private:
/// Automatically generated headers for the various localized configuration
/// Automatically generated headers for the various localized configuration
/// properties derive from this template and make available its member functions
/// properties derive from this template and make available its member functions
/// to access each given localized configuration property.
/// to access each given localized configuration property.
template
<
typename
T
,
typename
U
>
struct
ConfigurationLocalizedProperty
:
template
<
typename
T
,
typename
U
>
struct
ConfigurationLocalizedProperty
private
boost
::
noncopyable
{
{
/// Get the value of the given localized configuration property, for the
/// Get the value of the given localized configuration property, for the
/// locale currently set at the
/// locale currently set at the
...
@@ -254,6 +265,9 @@ template< typename T, typename U > struct ConfigurationLocalizedProperty:
...
@@ -254,6 +265,9 @@ template< typename T, typename U > struct ConfigurationLocalizedProperty:
}
}
private
:
private
:
ConfigurationLocalizedProperty
(
const
ConfigurationLocalizedProperty
&
)
SAL_DELETED_FUNCTION
;
ConfigurationLocalizedProperty
&
operator
=
(
const
ConfigurationLocalizedProperty
&
)
SAL_DELETED_FUNCTION
;
ConfigurationLocalizedProperty
()
SAL_DELETED_FUNCTION
;
ConfigurationLocalizedProperty
()
SAL_DELETED_FUNCTION
;
~
ConfigurationLocalizedProperty
()
SAL_DELETED_FUNCTION
;
~
ConfigurationLocalizedProperty
()
SAL_DELETED_FUNCTION
;
};
};
...
@@ -263,7 +277,7 @@ private:
...
@@ -263,7 +277,7 @@ private:
/// Automatically generated headers for the various configuration groups derive
/// Automatically generated headers for the various configuration groups derive
/// from this template and make available its member functions to access each
/// from this template and make available its member functions to access each
/// given configuration group.
/// given configuration group.
template
<
typename
T
>
struct
ConfigurationGroup
:
private
boost
::
noncopyable
{
template
<
typename
T
>
struct
ConfigurationGroup
{
/// Get read-only access to the given configuration group.
/// Get read-only access to the given configuration group.
static
com
::
sun
::
star
::
uno
::
Reference
<
static
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
container
::
XHierarchicalNameAccess
>
com
::
sun
::
star
::
container
::
XHierarchicalNameAccess
>
...
@@ -287,6 +301,9 @@ template< typename T > struct ConfigurationGroup: private boost::noncopyable {
...
@@ -287,6 +301,9 @@ template< typename T > struct ConfigurationGroup: private boost::noncopyable {
}
}
private
:
private
:
ConfigurationGroup
(
const
ConfigurationGroup
&
)
SAL_DELETED_FUNCTION
;
ConfigurationGroup
&
operator
=
(
const
ConfigurationGroup
&
)
SAL_DELETED_FUNCTION
;
ConfigurationGroup
()
SAL_DELETED_FUNCTION
;
ConfigurationGroup
()
SAL_DELETED_FUNCTION
;
~
ConfigurationGroup
()
SAL_DELETED_FUNCTION
;
~
ConfigurationGroup
()
SAL_DELETED_FUNCTION
;
};
};
...
@@ -296,7 +313,7 @@ private:
...
@@ -296,7 +313,7 @@ private:
/// Automatically generated headers for the various configuration sets derive
/// Automatically generated headers for the various configuration sets derive
/// from this template and make available its member functions to access each
/// from this template and make available its member functions to access each
/// given configuration set.
/// given configuration set.
template
<
typename
T
>
struct
ConfigurationSet
:
private
boost
::
noncopyable
{
template
<
typename
T
>
struct
ConfigurationSet
{
/// Get read-only access to the given configuration set.
/// Get read-only access to the given configuration set.
static
static
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
container
::
XNameAccess
>
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
container
::
XNameAccess
>
...
@@ -320,6 +337,9 @@ template< typename T > struct ConfigurationSet: private boost::noncopyable {
...
@@ -320,6 +337,9 @@ template< typename T > struct ConfigurationSet: private boost::noncopyable {
}
}
private
:
private
:
ConfigurationSet
(
const
ConfigurationSet
&
)
SAL_DELETED_FUNCTION
;
ConfigurationSet
&
operator
=
(
const
ConfigurationSet
&
)
SAL_DELETED_FUNCTION
;
ConfigurationSet
()
SAL_DELETED_FUNCTION
;
ConfigurationSet
()
SAL_DELETED_FUNCTION
;
~
ConfigurationSet
()
SAL_DELETED_FUNCTION
;
~
ConfigurationSet
()
SAL_DELETED_FUNCTION
;
};
};
...
...
include/xmlreader/xmlreader.hxx
Dosyayı görüntüle @
a3688234
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#include <stack>
#include <stack>
#include <vector>
#include <vector>
#include <boost/noncopyable.hpp>
#include <com/sun/star/container/NoSuchElementException.hpp>
#include <com/sun/star/container/NoSuchElementException.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <osl/file.h>
#include <osl/file.h>
...
@@ -37,7 +36,7 @@
...
@@ -37,7 +36,7 @@
namespace
xmlreader
{
namespace
xmlreader
{
class
OOO_DLLPUBLIC_XMLREADER
XmlReader
:
private
boost
::
noncopyable
{
class
OOO_DLLPUBLIC_XMLREADER
XmlReader
{
public
:
public
:
XmlReader
(
char
const
*
sStr
,
size_t
nLength
);
XmlReader
(
char
const
*
sStr
,
size_t
nLength
);
...
@@ -69,6 +68,9 @@ public:
...
@@ -69,6 +68,9 @@ public:
const
OUString
&
getUrl
()
const
{
return
fileUrl_
;}
const
OUString
&
getUrl
()
const
{
return
fileUrl_
;}
private
:
private
:
XmlReader
(
const
XmlReader
&
)
SAL_DELETED_FUNCTION
;
XmlReader
&
operator
=
(
const
XmlReader
&
)
SAL_DELETED_FUNCTION
;
typedef
std
::
vector
<
Span
>
NamespaceIris
;
typedef
std
::
vector
<
Span
>
NamespaceIris
;
// If NamespaceData (and similarly ElementData and AttributeData) is made
// If NamespaceData (and similarly ElementData and AttributeData) is made
...
...
unotools/Library_utl.mk
Dosyayı görüntüle @
a3688234
...
@@ -11,6 +11,8 @@
...
@@ -11,6 +11,8 @@
# utl is the name of the library as it is found in Repository.mk
# utl is the name of the library as it is found in Repository.mk
$(eval $(call gb_Library_Library,utl))
$(eval $(call gb_Library_Library,utl))
$(eval $(call gb_Library_use_external,utl,boost_headers))
$(eval $(call gb_Library_use_custom_headers,utl,\
$(eval $(call gb_Library_use_custom_headers,utl,\
officecfg/registry \
officecfg/registry \
))
))
...
...
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