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
7f902e16
Kaydet (Commit)
7f902e16
authored
Şub 16, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cppuhelper: sal_Bool -> bool
Change-Id: I6e0e6c1e4880a652ea4d8f0cccf9d8103c2cbbef
üst
34a44156
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
36 additions
and
36 deletions
+36
-36
component.cxx
cppuhelper/source/component.cxx
+2
-2
factory.cxx
cppuhelper/source/factory.cxx
+13
-13
implbase.cxx
cppuhelper/source/implbase.cxx
+1
-1
implementationentry.cxx
cppuhelper/source/implementationentry.cxx
+2
-2
interfacecontainer.cxx
cppuhelper/source/interfacecontainer.cxx
+1
-1
propshlp.cxx
cppuhelper/source/propshlp.cxx
+2
-2
proptypehlp.hxx
include/cppuhelper/proptypehlp.hxx
+15
-15
No files found.
cppuhelper/source/component.cxx
Dosyayı görüntüle @
7f902e16
...
@@ -148,14 +148,14 @@ void OComponentHelper::dispose()
...
@@ -148,14 +148,14 @@ void OComponentHelper::dispose()
// Guard dispose against multible threading
// Guard dispose against multible threading
// Remark: It is an error to call dispose more than once
// Remark: It is an error to call dispose more than once
sal_Bool
bDoDispose
=
sal_F
alse
;
bool
bDoDispose
=
f
alse
;
{
{
MutexGuard
aGuard
(
rBHelper
.
rMutex
);
MutexGuard
aGuard
(
rBHelper
.
rMutex
);
if
(
!
rBHelper
.
bDisposed
&&
!
rBHelper
.
bInDispose
)
if
(
!
rBHelper
.
bDisposed
&&
!
rBHelper
.
bInDispose
)
{
{
// only one call go into this section
// only one call go into this section
rBHelper
.
bInDispose
=
sal_True
;
rBHelper
.
bInDispose
=
sal_True
;
bDoDispose
=
sal_T
rue
;
bDoDispose
=
t
rue
;
}
}
}
}
...
...
cppuhelper/source/factory.cxx
Dosyayı görüntüle @
7f902e16
...
@@ -275,7 +275,7 @@ public:
...
@@ -275,7 +275,7 @@ public:
ComponentInstantiation
pCreateFunction_
,
ComponentInstantiation
pCreateFunction_
,
ComponentFactoryFunc
fptr
,
ComponentFactoryFunc
fptr
,
const
Sequence
<
OUString
>
*
pServiceNames_
,
const
Sequence
<
OUString
>
*
pServiceNames_
,
sal_Bool
bOneInstance_
=
sal_F
alse
)
bool
bOneInstance_
=
f
alse
)
SAL_THROW
(())
SAL_THROW
(())
:
OComponentHelper
(
aMutex
)
:
OComponentHelper
(
aMutex
)
,
OSingleFactoryHelper
(
rServiceManager
,
rImplementationName_
,
pCreateFunction_
,
fptr
,
pServiceNames_
)
,
OSingleFactoryHelper
(
rServiceManager
,
rImplementationName_
,
pCreateFunction_
,
fptr
,
pServiceNames_
)
...
@@ -322,11 +322,11 @@ public:
...
@@ -322,11 +322,11 @@ public:
private
:
private
:
Reference
<
XInterface
>
xTheInstance
;
Reference
<
XInterface
>
xTheInstance
;
sal_B
ool
bOneInstance
;
b
ool
bOneInstance
;
protected
:
protected
:
// needed for implementing XUnloadingPreference in inheriting classes
// needed for implementing XUnloadingPreference in inheriting classes
sal_B
ool
isOneInstance
()
{
return
bOneInstance
;}
b
ool
isOneInstance
()
{
return
bOneInstance
;}
sal_B
ool
isInstance
()
{
return
xTheInstance
.
is
();}
b
ool
isInstance
()
{
return
xTheInstance
.
is
();}
};
};
...
@@ -494,7 +494,7 @@ public:
...
@@ -494,7 +494,7 @@ public:
const
Reference
<
XMultiServiceFactory
>
&
rServiceManager
,
const
Reference
<
XMultiServiceFactory
>
&
rServiceManager
,
const
OUString
&
rImplementationName_
,
const
OUString
&
rImplementationName_
,
const
Reference
<
XRegistryKey
>
&
xImplementationKey_
,
const
Reference
<
XRegistryKey
>
&
xImplementationKey_
,
sal_Bool
bOneInstance_
=
sal_F
alse
)
SAL_THROW
(())
bool
bOneInstance_
=
f
alse
)
SAL_THROW
(())
:
OFactoryComponentHelper
(
:
OFactoryComponentHelper
(
rServiceManager
,
rImplementationName_
,
0
,
0
,
0
,
bOneInstance_
),
rServiceManager
,
rImplementationName_
,
0
,
0
,
0
,
bOneInstance_
),
OPropertySetHelper
(
OComponentHelper
::
rBHelper
),
OPropertySetHelper
(
OComponentHelper
::
rBHelper
),
...
@@ -868,10 +868,10 @@ Sequence< OUString > ORegistryFactoryHelper::getSupportedServiceNames(void)
...
@@ -868,10 +868,10 @@ Sequence< OUString > ORegistryFactoryHelper::getSupportedServiceNames(void)
sal_Bool
SAL_CALL
ORegistryFactoryHelper
::
releaseOnNotification
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
sal_Bool
SAL_CALL
ORegistryFactoryHelper
::
releaseOnNotification
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
sal_Bool
retVal
=
sal_T
rue
;
bool
retVal
=
t
rue
;
if
(
isOneInstance
()
&&
isInstance
())
if
(
isOneInstance
()
&&
isInstance
())
{
{
retVal
=
sal_F
alse
;
retVal
=
f
alse
;
}
}
else
if
(
!
isOneInstance
())
else
if
(
!
isOneInstance
())
{
{
...
@@ -986,7 +986,7 @@ Reference<XSingleServiceFactory > SAL_CALL createSingleFactory(
...
@@ -986,7 +986,7 @@ Reference<XSingleServiceFactory > SAL_CALL createSingleFactory(
SAL_THROW
(())
SAL_THROW
(())
{
{
return
new
OFactoryComponentHelper
(
return
new
OFactoryComponentHelper
(
rServiceManager
,
rImplementationName
,
pCreateFunction
,
0
,
&
rServiceNames
,
sal_F
alse
);
rServiceManager
,
rImplementationName
,
pCreateFunction
,
0
,
&
rServiceNames
,
f
alse
);
}
}
// global function
// global function
...
@@ -1008,7 +1008,7 @@ Reference<XSingleServiceFactory > SAL_CALL createOneInstanceFactory(
...
@@ -1008,7 +1008,7 @@ Reference<XSingleServiceFactory > SAL_CALL createOneInstanceFactory(
SAL_THROW
(())
SAL_THROW
(())
{
{
return
new
OFactoryComponentHelper
(
return
new
OFactoryComponentHelper
(
rServiceManager
,
rImplementationName
,
pCreateFunction
,
0
,
&
rServiceNames
,
sal_T
rue
);
rServiceManager
,
rImplementationName
,
pCreateFunction
,
0
,
&
rServiceNames
,
t
rue
);
}
}
// global function
// global function
...
@@ -1019,7 +1019,7 @@ Reference<XSingleServiceFactory > SAL_CALL createSingleRegistryFactory(
...
@@ -1019,7 +1019,7 @@ Reference<XSingleServiceFactory > SAL_CALL createSingleRegistryFactory(
SAL_THROW
(())
SAL_THROW
(())
{
{
return
new
ORegistryFactoryHelper
(
return
new
ORegistryFactoryHelper
(
rServiceManager
,
rImplementationName
,
rImplementationKey
,
sal_F
alse
);
rServiceManager
,
rImplementationName
,
rImplementationKey
,
f
alse
);
}
}
// global function
// global function
...
@@ -1030,7 +1030,7 @@ Reference<XSingleServiceFactory > SAL_CALL createOneInstanceRegistryFactory(
...
@@ -1030,7 +1030,7 @@ Reference<XSingleServiceFactory > SAL_CALL createOneInstanceRegistryFactory(
SAL_THROW
(())
SAL_THROW
(())
{
{
return
new
ORegistryFactoryHelper
(
return
new
ORegistryFactoryHelper
(
rServiceManager
,
rImplementationName
,
rImplementationKey
,
sal_T
rue
);
rServiceManager
,
rImplementationName
,
rImplementationKey
,
t
rue
);
}
}
//##################################################################################################
//##################################################################################################
...
@@ -1042,7 +1042,7 @@ Reference< lang::XSingleComponentFactory > SAL_CALL createSingleComponentFactory
...
@@ -1042,7 +1042,7 @@ Reference< lang::XSingleComponentFactory > SAL_CALL createSingleComponentFactory
SAL_THROW
(())
SAL_THROW
(())
{
{
return
new
OFactoryComponentHelper
(
return
new
OFactoryComponentHelper
(
Reference
<
XMultiServiceFactory
>
(),
rImplementationName
,
0
,
fptr
,
&
rServiceNames
,
sal_F
alse
);
Reference
<
XMultiServiceFactory
>
(),
rImplementationName
,
0
,
fptr
,
&
rServiceNames
,
f
alse
);
}
}
Reference
<
lang
::
XSingleComponentFactory
>
SAL_CALL
createOneInstanceComponentFactory
(
Reference
<
lang
::
XSingleComponentFactory
>
SAL_CALL
createOneInstanceComponentFactory
(
...
@@ -1053,7 +1053,7 @@ Reference< lang::XSingleComponentFactory > SAL_CALL createOneInstanceComponentFa
...
@@ -1053,7 +1053,7 @@ Reference< lang::XSingleComponentFactory > SAL_CALL createOneInstanceComponentFa
SAL_THROW
(())
SAL_THROW
(())
{
{
return
new
OFactoryComponentHelper
(
return
new
OFactoryComponentHelper
(
Reference
<
XMultiServiceFactory
>
(),
rImplementationName
,
0
,
fptr
,
&
rServiceNames
,
sal_T
rue
);
Reference
<
XMultiServiceFactory
>
(),
rImplementationName
,
0
,
fptr
,
&
rServiceNames
,
t
rue
);
}
}
}
}
...
...
cppuhelper/source/implbase.cxx
Dosyayı görüntüle @
7f902e16
...
@@ -157,7 +157,7 @@ Sequence< sal_Int8 > ClassData::getImplementationId() SAL_THROW(())
...
@@ -157,7 +157,7 @@ Sequence< sal_Int8 > ClassData::getImplementationId() SAL_THROW(())
}
}
//--------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------
static
inline
sal_B
ool
td_equals
(
static
inline
b
ool
td_equals
(
typelib_TypeDescription
*
pTD
,
typelib_TypeDescriptionReference
*
pType
)
typelib_TypeDescription
*
pTD
,
typelib_TypeDescriptionReference
*
pType
)
SAL_THROW
(())
SAL_THROW
(())
{
{
...
...
cppuhelper/source/implementationentry.cxx
Dosyayı görüntüle @
7f902e16
...
@@ -31,7 +31,7 @@ sal_Bool component_writeInfoHelper(
...
@@ -31,7 +31,7 @@ sal_Bool component_writeInfoHelper(
SAL_UNUSED_PARAMETER
void
*
,
void
*
pRegistryKey
,
SAL_UNUSED_PARAMETER
void
*
,
void
*
pRegistryKey
,
ImplementationEntry
const
*
entries
)
ImplementationEntry
const
*
entries
)
{
{
sal_Bool
bRet
=
sal_F
alse
;
bool
bRet
=
f
alse
;
try
try
{
{
if
(
pRegistryKey
)
if
(
pRegistryKey
)
...
@@ -47,7 +47,7 @@ sal_Bool component_writeInfoHelper(
...
@@ -47,7 +47,7 @@ sal_Bool component_writeInfoHelper(
for
(
sal_Int32
nPos
=
0
;
nPos
<
seq
.
getLength
();
nPos
++
)
for
(
sal_Int32
nPos
=
0
;
nPos
<
seq
.
getLength
();
nPos
++
)
xNewKey
->
createKey
(
pArray
[
nPos
]
);
xNewKey
->
createKey
(
pArray
[
nPos
]
);
}
}
bRet
=
sal_T
rue
;
bRet
=
t
rue
;
}
}
}
}
catch
(
InvalidRegistryException
&
)
catch
(
InvalidRegistryException
&
)
...
...
cppuhelper/source/interfacecontainer.cxx
Dosyayı görüntüle @
7f902e16
...
@@ -95,7 +95,7 @@ OInterfaceIteratorHelper::OInterfaceIteratorHelper( OInterfaceContainerHelper &
...
@@ -95,7 +95,7 @@ OInterfaceIteratorHelper::OInterfaceIteratorHelper( OInterfaceContainerHelper &
OInterfaceIteratorHelper
::~
OInterfaceIteratorHelper
()
SAL_THROW
(())
OInterfaceIteratorHelper
::~
OInterfaceIteratorHelper
()
SAL_THROW
(())
{
{
sal_B
ool
bShared
;
b
ool
bShared
;
{
{
MutexGuard
aGuard
(
rCont
.
rMutex
);
MutexGuard
aGuard
(
rCont
.
rMutex
);
// bResetInUse protect the iterator against recursion
// bResetInUse protect the iterator against recursion
...
...
cppuhelper/source/propshlp.cxx
Dosyayı görüntüle @
7f902e16
...
@@ -465,7 +465,7 @@ void OPropertySetHelper::setDependentFastPropertyValue( sal_Int32 i_handle, cons
...
@@ -465,7 +465,7 @@ void OPropertySetHelper::setDependentFastPropertyValue( sal_Int32 i_handle, cons
// to change their value.
// to change their value.
Any
aConverted
,
aOld
;
Any
aConverted
,
aOld
;
sal_B
ool
bChanged
=
convertFastPropertyValue
(
aConverted
,
aOld
,
i_handle
,
i_value
);
b
ool
bChanged
=
convertFastPropertyValue
(
aConverted
,
aOld
,
i_handle
,
i_value
);
if
(
!
bChanged
)
if
(
!
bChanged
)
return
;
return
;
...
@@ -524,7 +524,7 @@ void OPropertySetHelper::setFastPropertyValue( sal_Int32 nHandle, const Any& rVa
...
@@ -524,7 +524,7 @@ void OPropertySetHelper::setFastPropertyValue( sal_Int32 nHandle, const Any& rVa
Any
aOldVal
;
Any
aOldVal
;
// Will the property change?
// Will the property change?
sal_B
ool
bChanged
;
b
ool
bChanged
;
{
{
MutexGuard
aGuard
(
rBHelper
.
rMutex
);
MutexGuard
aGuard
(
rBHelper
.
rMutex
);
bChanged
=
convertFastPropertyValue
(
aConvertedVal
,
aOldVal
,
nHandle
,
rValue
);
bChanged
=
convertFastPropertyValue
(
aConvertedVal
,
aOldVal
,
nHandle
,
rValue
);
...
...
include/cppuhelper/proptypehlp.hxx
Dosyayı görüntüle @
7f902e16
...
@@ -59,16 +59,16 @@ inline void SAL_CALL convertPropertyValue( sal_Bool & b , const ::com::sun::st
...
@@ -59,16 +59,16 @@ inline void SAL_CALL convertPropertyValue( sal_Bool & b , const ::com::sun::st
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_LONG
==
tc
)
{
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_LONG
==
tc
)
{
sal_Int32
i32
=
0
;
sal_Int32
i32
=
0
;
a
>>=
i32
;
a
>>=
i32
;
b
=
(
sal_Bool
)
i32
;
b
=
i32
!=
0
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_CHAR
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_CHAR
==
tc
)
{
sal_Unicode
c
=
*
(
sal_Unicode
*
)
a
.
getValue
();
sal_Unicode
c
=
*
(
sal_Unicode
*
)
a
.
getValue
();
b
=
(
sal_Bool
)
c
;
b
=
c
!=
0
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_SHORT
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_SHORT
==
tc
)
{
sal_Int16
i16
=
0
;
sal_Int16
i16
=
0
;
a
>>=
i16
;
a
>>=
i16
;
b
=
(
sal_Bool
)
i16
;
b
=
i16
!=
0
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
...
@@ -76,17 +76,17 @@ inline void SAL_CALL convertPropertyValue( sal_Bool & b , const ::com::sun::st
...
@@ -76,17 +76,17 @@ inline void SAL_CALL convertPropertyValue( sal_Bool & b , const ::com::sun::st
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BYTE
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BYTE
==
tc
)
{
sal_Int8
i8
=
0
;
sal_Int8
i8
=
0
;
a
>>=
i8
;
a
>>=
i8
;
b
=
(
sal_Bool
)
i8
;
b
=
i8
!=
0
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_UNSIGNED_SHORT
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_UNSIGNED_SHORT
==
tc
)
{
sal_uInt16
i16
=
0
;
sal_uInt16
i16
=
0
;
a
>>=
i16
;
a
>>=
i16
;
b
=
(
sal_Bool
)
i16
;
b
=
i16
!=
0
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_UNSIGNED_LONG
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_UNSIGNED_LONG
==
tc
)
{
sal_uInt32
i32
=
0
;
sal_uInt32
i32
=
0
;
a
>>=
i32
;
a
>>=
i32
;
b
=
(
sal_Bool
)
i32
;
b
=
i32
!=
0
;
}
}
else
{
else
{
throw
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
();
throw
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
();
...
@@ -122,7 +122,7 @@ inline void SAL_CALL convertPropertyValue( sal_Int64 & i , const ::com::sun::st
...
@@ -122,7 +122,7 @@ inline void SAL_CALL convertPropertyValue( sal_Int64 & i , const ::com::sun::st
i
=
(
sal_Int64
)
i16
;
i
=
(
sal_Int64
)
i16
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
sal_B
ool
b
;
b
ool
b
;
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
i
=
(
sal_Int64
)
b
;
i
=
(
sal_Int64
)
b
;
}
}
...
@@ -176,7 +176,7 @@ inline void SAL_CALL convertPropertyValue( sal_uInt64 & i , const ::com::sun::s
...
@@ -176,7 +176,7 @@ inline void SAL_CALL convertPropertyValue( sal_uInt64 & i , const ::com::sun::s
i
=
(
sal_uInt64
)
i16
;
i
=
(
sal_uInt64
)
i16
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
sal_B
ool
b
;
b
ool
b
;
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
i
=
(
sal_uInt64
)
b
;
i
=
(
sal_uInt64
)
b
;
}
}
...
@@ -221,7 +221,7 @@ inline void SAL_CALL convertPropertyValue( sal_Int32 & i , const ::com::sun::st
...
@@ -221,7 +221,7 @@ inline void SAL_CALL convertPropertyValue( sal_Int32 & i , const ::com::sun::st
i
=
(
sal_Int32
)
i16
;
i
=
(
sal_Int32
)
i16
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
sal_B
ool
b
;
b
ool
b
;
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
i
=
(
sal_Int32
)
b
;
i
=
(
sal_Int32
)
b
;
}
}
...
@@ -269,7 +269,7 @@ inline void SAL_CALL convertPropertyValue( sal_uInt32 & i , const ::com::sun::s
...
@@ -269,7 +269,7 @@ inline void SAL_CALL convertPropertyValue( sal_uInt32 & i , const ::com::sun::s
i
=
(
sal_uInt32
)
i16
;
i
=
(
sal_uInt32
)
i16
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
sal_B
ool
b
;
b
ool
b
;
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
i
=
(
sal_uInt32
)
b
;
i
=
(
sal_uInt32
)
b
;
}
}
...
@@ -303,7 +303,7 @@ inline void SAL_CALL convertPropertyValue( sal_Int16 & i , const ::com::sun::st
...
@@ -303,7 +303,7 @@ inline void SAL_CALL convertPropertyValue( sal_Int16 & i , const ::com::sun::st
i
=
(
sal_Int16
)
c
;
i
=
(
sal_Int16
)
c
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
sal_B
ool
b
;
b
ool
b
;
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
i
=
(
sal_Int16
)
b
;
i
=
(
sal_Int16
)
b
;
}
}
...
@@ -336,7 +336,7 @@ inline void SAL_CALL convertPropertyValue( sal_uInt16 & i , const ::com::sun::s
...
@@ -336,7 +336,7 @@ inline void SAL_CALL convertPropertyValue( sal_uInt16 & i , const ::com::sun::s
i
=
(
sal_Int16
)
c
;
i
=
(
sal_Int16
)
c
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
sal_B
ool
b
;
b
ool
b
;
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
i
=
(
sal_Int16
)
b
;
i
=
(
sal_Int16
)
b
;
}
}
...
@@ -364,7 +364,7 @@ inline void SAL_CALL convertPropertyValue( sal_Int8 & i , const ::com::sun::sta
...
@@ -364,7 +364,7 @@ inline void SAL_CALL convertPropertyValue( sal_Int8 & i , const ::com::sun::sta
a
>>=
i
;
a
>>=
i
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
sal_B
ool
b
;
b
ool
b
;
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
i
=
(
sal_Int8
)
b
;
i
=
(
sal_Int8
)
b
;
}
}
...
@@ -413,7 +413,7 @@ inline void SAL_CALL convertPropertyValue( float &f , const ::com::sun::star::un
...
@@ -413,7 +413,7 @@ inline void SAL_CALL convertPropertyValue( float &f , const ::com::sun::star::un
f
=
(
float
)
i16
;
f
=
(
float
)
i16
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
sal_B
ool
b
;
b
ool
b
;
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
f
=
(
float
)
b
;
f
=
(
float
)
b
;
}
}
...
@@ -480,7 +480,7 @@ inline void SAL_CALL convertPropertyValue( double &d , const ::com::sun::star::u
...
@@ -480,7 +480,7 @@ inline void SAL_CALL convertPropertyValue( double &d , const ::com::sun::star::u
d
=
(
double
)
i16
;
d
=
(
double
)
i16
;
}
}
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
else
if
(
::
com
::
sun
::
star
::
uno
::
TypeClass_BOOLEAN
==
tc
)
{
sal_B
ool
b
;
b
ool
b
;
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
b
=
*
((
sal_Bool
*
)
a
.
getValue
());
d
=
(
double
)
b
;
d
=
(
double
)
b
;
}
}
...
...
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