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
c763ceb4
Kaydet (Commit)
c763ceb4
authored
Nis 20, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I3a3295b538e79186914390b6da73cc8bc25419a5
üst
88338ed6
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
26 additions
and
26 deletions
+26
-26
crbase.cxx
stoc/source/corereflection/crbase.cxx
+2
-2
crcomp.cxx
stoc/source/corereflection/crcomp.cxx
+2
-2
crefl.cxx
stoc/source/corereflection/crefl.cxx
+1
-1
criface.cxx
stoc/source/corereflection/criface.cxx
+2
-2
defaultregistry.cxx
stoc/source/defaultregistry/defaultregistry.cxx
+3
-3
implreg.cxx
stoc/source/implementationregistration/implreg.cxx
+2
-2
invocation.cxx
stoc/source/invocation/invocation.cxx
+3
-3
javavm.cxx
stoc/source/javavm/javavm.cxx
+5
-5
dllcomponentloader.cxx
stoc/source/loader/dllcomponentloader.cxx
+1
-1
servicemanager.cxx
stoc/source/servicemanager/servicemanager.cxx
+3
-3
convert.cxx
stoc/source/typeconv/convert.cxx
+2
-2
No files found.
stoc/source/corereflection/crbase.cxx
Dosyayı görüntüle @
c763ceb4
...
...
@@ -130,7 +130,7 @@ sal_Bool IdlClassImpl::isAssignableFrom( const Reference< XIdlClass > & xType )
TypeClass
eAssign
=
getTypeClass
();
if
(
equals
(
xType
)
||
eAssign
==
TypeClass_ANY
)
// default shot
{
return
sal_T
rue
;
return
t
rue
;
}
else
{
...
...
@@ -141,7 +141,7 @@ sal_Bool IdlClassImpl::isAssignableFrom( const Reference< XIdlClass > & xType )
return
s_aAssignableFromTab
[
eAssign
-
1
][
eFrom
-
1
];
}
}
return
sal_F
alse
;
return
f
alse
;
}
void
IdlClassImpl
::
createObject
(
Any
&
rObj
)
...
...
stoc/source/corereflection/crcomp.cxx
Dosyayı görüntüle @
c763ceb4
...
...
@@ -290,7 +290,7 @@ sal_Bool CompoundIdlClassImpl::isAssignableFrom( const Reference< XIdlClass > &
if
(
eTC
==
TypeClass_STRUCT
||
eTC
==
TypeClass_EXCEPTION
)
{
if
(
equals
(
xType
))
return
sal_T
rue
;
return
t
rue
;
else
{
const
Sequence
<
Reference
<
XIdlClass
>
>
&
rSeq
=
xType
->
getSuperclasses
();
...
...
@@ -302,7 +302,7 @@ sal_Bool CompoundIdlClassImpl::isAssignableFrom( const Reference< XIdlClass > &
}
}
}
return
sal_F
alse
;
return
f
alse
;
}
Sequence
<
Reference
<
XIdlClass
>
>
CompoundIdlClassImpl
::
getSuperclasses
()
...
...
stoc/source/corereflection/crefl.cxx
Dosyayı görüntüle @
c763ceb4
...
...
@@ -308,7 +308,7 @@ sal_Bool IdlReflectionServiceImpl::hasByHierarchicalName( const OUString & rName
catch
(
container
::
NoSuchElementException
&
)
{
}
return
sal_F
alse
;
return
f
alse
;
}
...
...
stoc/source/corereflection/criface.cxx
Dosyayı görüntüle @
c763ceb4
...
...
@@ -821,7 +821,7 @@ sal_Bool InterfaceIdlClassImpl::isAssignableFrom( const Reference< XIdlClass > &
if
(
xType
.
is
()
&&
xType
->
getTypeClass
()
==
TypeClass_INTERFACE
)
{
if
(
equals
(
xType
))
return
sal_T
rue
;
return
t
rue
;
else
{
const
Sequence
<
Reference
<
XIdlClass
>
>
&
rSeq
=
xType
->
getSuperclasses
();
...
...
@@ -832,7 +832,7 @@ sal_Bool InterfaceIdlClassImpl::isAssignableFrom( const Reference< XIdlClass > &
}
}
}
return
sal_F
alse
;
return
f
alse
;
}
Uik
InterfaceIdlClassImpl
::
getUik
()
...
...
stoc/source/defaultregistry/defaultregistry.cxx
Dosyayı görüntüle @
c763ceb4
...
...
@@ -1244,13 +1244,13 @@ sal_Bool SAL_CALL NestedRegistryImpl::isValid( ) throw(RuntimeException, std::e
{
if
(
(
m_localReg
.
is
()
&&
m_localReg
->
isValid
())
||
(
m_defaultReg
.
is
()
&&
m_defaultReg
->
isValid
())
)
return
sal_T
rue
;
return
t
rue
;
}
catch
(
InvalidRegistryException
&
)
{
}
return
sal_F
alse
;
return
f
alse
;
}
...
...
@@ -1321,7 +1321,7 @@ sal_Bool SAL_CALL NestedRegistryImpl::isReadOnly( )
{
}
return
sal_F
alse
;
return
f
alse
;
}
...
...
stoc/source/implementationregistration/implreg.cxx
Dosyayı görüntüle @
c763ceb4
...
...
@@ -1610,7 +1610,7 @@ Sequence< OUString > ImplementationRegistration::getImplementations(
{
try
{
xReg
->
open
(
OUString
()
/* in mem */
,
sal_False
,
sal_T
rue
);
xReg
->
open
(
OUString
()
/* in mem */
,
false
,
t
rue
);
Reference
<
XRegistryKey
>
xImpl
;
{
// only necessary for deleting the temporary variable of rootkey
...
...
@@ -1723,7 +1723,7 @@ void ImplementationRegistration::doRegister(
{
try
{
xReg
->
open
(
OUString
()
/* in mem */
,
sal_False
,
sal_T
rue
);
xReg
->
open
(
OUString
()
/* in mem */
,
false
,
t
rue
);
{
// only necessary for deleting the temporary variable of rootkey
xSourceKey
=
xReg
->
getRootKey
()
->
createKey
(
spool
().
slash_IMPLEMENTATIONS
);
...
...
stoc/source/invocation/invocation.cxx
Dosyayı görüntüle @
c763ceb4
...
...
@@ -490,7 +490,7 @@ sal_Bool Invocation_Impl::hasMethod( const OUString& Name )
return
_xDirect
->
hasMethod
(
Name
);
if
(
_xIntrospectionAccess
.
is
()
)
return
_xIntrospectionAccess
->
hasMethod
(
Name
,
MethodConcept
::
ALL
^
MethodConcept
::
DANGEROUS
);
return
sal_F
alse
;
return
f
alse
;
}
...
...
@@ -502,11 +502,11 @@ sal_Bool Invocation_Impl::hasProperty( const OUString& Name )
// PropertySet
if
(
_xIntrospectionAccess
.
is
()
&&
_xIntrospectionAccess
->
hasProperty
(
Name
,
PropertyConcept
::
ALL
^
PropertyConcept
::
DANGEROUS
)
)
return
sal_T
rue
;
return
t
rue
;
// NameAccess
if
(
_xNameAccess
.
is
()
)
return
_xNameAccess
->
hasByName
(
Name
);
return
sal_F
alse
;
return
f
alse
;
}
...
...
stoc/source/javavm/javavm.cxx
Dosyayı görüntüle @
c763ceb4
...
...
@@ -276,7 +276,7 @@ void getINetPropsFromConfig(stoc_javavm::JVM * pjvm,
css
::
uno
::
Reference
<
css
::
registry
::
XSimpleRegistry
>
xConfRegistry_simple
(
xConfRegistry
,
css
::
uno
::
UNO_QUERY
);
if
(
!
xConfRegistry_simple
.
is
())
throw
css
::
uno
::
RuntimeException
(
"javavm.cxx: couldn't get ConfigurationRegistry"
,
nullptr
);
xConfRegistry_simple
->
open
(
"org.openoffice.Inet"
,
sal_True
,
sal_F
alse
);
xConfRegistry_simple
->
open
(
"org.openoffice.Inet"
,
true
,
f
alse
);
css
::
uno
::
Reference
<
css
::
registry
::
XRegistryKey
>
xRegistryRootKey
=
xConfRegistry_simple
->
getRootKey
();
// if ooInetProxyType is not 0 then read the settings
...
...
@@ -370,7 +370,7 @@ void getDefaultLocaleFromConfig(
throw
css
::
uno
::
RuntimeException
(
OUString
(
"javavm.cxx: couldn't get ConfigurationRegistry"
),
nullptr
);
xConfRegistry_simple
->
open
(
"org.openoffice.Setup"
,
sal_True
,
sal_F
alse
);
xConfRegistry_simple
->
open
(
"org.openoffice.Setup"
,
true
,
f
alse
);
css
::
uno
::
Reference
<
css
::
registry
::
XRegistryKey
>
xRegistryRootKey
=
xConfRegistry_simple
->
getRootKey
();
// read locale
...
...
@@ -426,7 +426,7 @@ void getJavaPropsFromSafetySettings(
xConfRegistry_simple
->
open
(
"org.openoffice.Office.Java"
,
sal_True
,
sal_F
alse
);
true
,
f
alse
);
css
::
uno
::
Reference
<
css
::
registry
::
XRegistryKey
>
xRegistryRootKey
=
xConfRegistry_simple
->
getRootKey
();
...
...
@@ -791,7 +791,7 @@ JavaVirtualMachine::getJavaVM(css::uno::Sequence< sal_Int8 > const & rProcessId)
jfw
::
JavaInfoGuard
pJavaInfo
;
if
(
JFW_E_NONE
==
jfw_getSelectedJRE
(
&
pJavaInfo
.
info
))
{
sal_Bool
bExist
=
sal_F
alse
;
sal_Bool
bExist
=
f
alse
;
if
(
JFW_E_NONE
==
jfw_existJRE
(
pJavaInfo
.
info
,
&
bExist
))
{
if
(
!
bExist
...
...
@@ -916,7 +916,7 @@ sal_Bool SAL_CALL JavaVirtualMachine::isVMEnabled()
// initVMConfiguration(&aJvm, m_xContext->getServiceManager(), m_xContext);
// return aJvm.isEnabled();
//ToDo
sal_Bool
bEnabled
=
sal_F
alse
;
sal_Bool
bEnabled
=
f
alse
;
if
(
jfw_getEnabled
(
&
bEnabled
)
!=
JFW_E_NONE
)
throw
css
::
uno
::
RuntimeException
();
return
bEnabled
;
...
...
stoc/source/loader/dllcomponentloader.cxx
Dosyayı görüntüle @
c763ceb4
...
...
@@ -157,7 +157,7 @@ sal_Bool SAL_CALL DllComponentLoader::writeRegistryInfo(
#else
writeSharedLibComponentInfo
(
cppu
::
bootstrap_expandUri
(
rLibName
),
OUString
(),
m_xSMgr
,
xKey
);
return
sal_T
rue
;
return
t
rue
;
#endif
}
...
...
stoc/source/servicemanager/servicemanager.cxx
Dosyayı görüntüle @
c763ceb4
...
...
@@ -234,9 +234,9 @@ sal_Bool PropertySetInfo_Impl::hasPropertyByName( OUString const & name )
for
(
sal_Int32
nPos
=
m_properties
.
getLength
();
nPos
--
;
)
{
if
(
p
[
nPos
].
Name
.
equals
(
name
))
return
sal_T
rue
;
return
t
rue
;
}
return
sal_F
alse
;
return
f
alse
;
}
...
...
@@ -1119,7 +1119,7 @@ sal_Bool OServiceManager::has( const Any & Element )
return
m_ImplementationNameMap
.
find
(
implName
)
!=
m_ImplementationNameMap
.
end
();
}
return
sal_F
alse
;
return
f
alse
;
}
// XSet
...
...
stoc/source/typeconv/convert.cxx
Dosyayı görüntüle @
c763ceb4
...
...
@@ -740,12 +740,12 @@ Any TypeConverter_Impl::convertToSimpleType( const Any& rVal, TypeClass aDestina
const
OUString
&
aStr
=
*
static_cast
<
const
OUString
*>
(
rVal
.
getValue
());
if
(
aStr
==
"0"
||
aStr
.
equalsIgnoreAsciiCase
(
"false"
))
{
sal_Bool
bFalse
=
sal_F
alse
;
sal_Bool
bFalse
=
f
alse
;
aRet
.
setValue
(
&
bFalse
,
cppu
::
UnoType
<
bool
>::
get
()
);
}
else
if
(
aStr
==
"1"
||
aStr
.
equalsIgnoreAsciiCase
(
"true"
))
{
sal_Bool
bTrue
=
sal_T
rue
;
sal_Bool
bTrue
=
t
rue
;
aRet
.
setValue
(
&
bTrue
,
cppu
::
UnoType
<
bool
>::
get
()
);
}
else
...
...
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