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
a88a386c
Kaydet (Commit)
a88a386c
authored
Nis 01, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I8dd0e5c8837fe1615aa9d5f546c2fd1c0985f044
üst
916f88f0
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
IndexedPropertyValuesContainer.cxx
...elper/source/container/IndexedPropertyValuesContainer.cxx
+1
-1
NamedPropertyValuesContainer.cxx
comphelper/source/container/NamedPropertyValuesContainer.cxx
+1
-1
proxyaggregation.cxx
comphelper/source/misc/proxyaggregation.cxx
+1
-1
types.cxx
comphelper/source/misc/types.cxx
+1
-1
property.hxx
include/comphelper/property.hxx
+2
-2
types.hxx
include/comphelper/types.hxx
+2
-2
No files found.
comphelper/source/container/IndexedPropertyValuesContainer.cxx
Dosyayı görüntüle @
a88a386c
...
...
@@ -205,7 +205,7 @@ sal_Int32 SAL_CALL IndexedPropertyValuesContainer::getCount( )
::
com
::
sun
::
star
::
uno
::
Type
SAL_CALL
IndexedPropertyValuesContainer
::
getElementType
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
{
return
::
getCppuType
((
uno
::
Sequence
<
beans
::
PropertyValue
>
*
)
0
);
return
cppu
::
UnoType
<
uno
::
Sequence
<
beans
::
PropertyValue
>>::
get
(
);
}
sal_Bool
SAL_CALL
IndexedPropertyValuesContainer
::
hasElements
(
)
...
...
comphelper/source/container/NamedPropertyValuesContainer.cxx
Dosyayı görüntüle @
a88a386c
...
...
@@ -176,7 +176,7 @@ sal_Bool SAL_CALL NamedPropertyValuesContainer::hasByName( const OUString& aName
::
com
::
sun
::
star
::
uno
::
Type
SAL_CALL
NamedPropertyValuesContainer
::
getElementType
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
{
return
::
getCppuType
((
uno
::
Sequence
<
beans
::
PropertyValue
>
*
)
0
);
return
cppu
::
UnoType
<
uno
::
Sequence
<
beans
::
PropertyValue
>>::
get
(
);
}
sal_Bool
SAL_CALL
NamedPropertyValuesContainer
::
hasElements
(
)
...
...
comphelper/source/misc/proxyaggregation.cxx
Dosyayı görüntüle @
a88a386c
...
...
@@ -54,7 +54,7 @@ namespace comphelper
m_xProxyAggregate
=
xFactory
->
createProxy
(
_rxComponent
);
}
if
(
m_xProxyAggregate
.
is
()
)
m_xProxyAggregate
->
queryAggregation
(
::
getCppuType
(
&
m_xProxyTypeAccess
)
)
>>=
m_xProxyTypeAccess
;
m_xProxyAggregate
->
queryAggregation
(
cppu
::
UnoType
<
decltype
(
m_xProxyTypeAccess
)
>::
get
(
)
)
>>=
m_xProxyTypeAccess
;
// aggregate the proxy
osl_atomic_increment
(
&
_rRefCount
);
...
...
comphelper/source/misc/types.cxx
Dosyayı görüntüle @
a88a386c
...
...
@@ -122,7 +122,7 @@ OUString getString(const Any& _rAny)
bool
getBOOL
(
const
Any
&
_rAny
)
{
bool
nReturn
=
false
;
if
(
_rAny
.
getValueType
()
==
::
getCppuBooleanType
())
if
(
_rAny
.
getValueType
()
==
cppu
::
UnoType
<
bool
>::
get
())
nReturn
=
*
static_cast
<
sal_Bool
const
*>
(
_rAny
.
getValue
());
else
OSL_FAIL
(
"comphelper::getBOOL : invalid argument !"
);
...
...
include/comphelper/property.hxx
Dosyayı görüntüle @
a88a386c
...
...
@@ -153,8 +153,8 @@ inline bool tryPropertyValue(css::uno::Any& /*out*/_rConvertedValue, css::uno::A
::
cppu
::
convertPropertyValue
(
bNewValue
,
_rValueToSet
);
if
(
bool
(
bNewValue
)
!=
_bCurrentValue
)
{
_rConvertedValue
.
setValue
(
&
bNewValue
,
::
getBooleanCppuType
());
_rOldValue
.
setValue
(
&
_bCurrentValue
,
::
getBooleanCppuType
());
_rConvertedValue
.
setValue
(
&
bNewValue
,
cppu
::
UnoType
<
bool
>::
get
());
_rOldValue
.
setValue
(
&
_bCurrentValue
,
cppu
::
UnoType
<
bool
>::
get
());
bModified
=
true
;
}
return
bModified
;
...
...
include/comphelper/types.hxx
Dosyayı görüntüle @
a88a386c
...
...
@@ -154,11 +154,11 @@ namespace comphelper
//= replacement of some former UsrAny.setXXX methods - can be used with rvalues
inline
void
setBOOL
(
css
::
uno
::
Any
&
_rAny
,
bool
_b
)
{
_rAny
.
setValue
(
&
_b
,
::
getBooleanCppuType
());
}
{
_rAny
.
setValue
(
&
_b
,
cppu
::
UnoType
<
bool
>::
get
());
}
//= extension of ::cppu::makeAny()
inline
css
::
uno
::
Any
makeBoolAny
(
bool
_b
)
{
return
css
::
uno
::
Any
(
&
_b
,
::
getBooleanCppuType
());
}
{
return
css
::
uno
::
Any
(
&
_b
,
cppu
::
UnoType
<
bool
>::
get
());
}
}
// namespace comphelper
...
...
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