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
f555ab4e
Kaydet (Commit)
f555ab4e
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: Idb7e5ff0c73bbc2c462b92cd96444eb5d2d4194b
üst
08bb436f
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
28 additions
and
28 deletions
+28
-28
embeddedobjectcontainer.cxx
comphelper/source/container/embeddedobjectcontainer.cxx
+5
-5
enumerablemap.cxx
comphelper/source/container/enumerablemap.cxx
+2
-2
enumhelper.cxx
comphelper/source/container/enumhelper.cxx
+4
-4
eventattachermgr.cxx
comphelper/source/eventattachermgr/eventattachermgr.cxx
+1
-1
accessibletexthelper.cxx
comphelper/source/misc/accessibletexthelper.cxx
+1
-1
instancelocker.cxx
comphelper/source/misc/instancelocker.cxx
+1
-1
mimeconfighelper.cxx
comphelper/source/misc/mimeconfighelper.cxx
+1
-1
opropertybag.cxx
comphelper/source/property/opropertybag.cxx
+5
-5
propagg.cxx
comphelper/source/property/propagg.cxx
+5
-5
propstate.cxx
comphelper/source/property/propstate.cxx
+1
-1
property.hxx
include/comphelper/property.hxx
+1
-1
servicehelper.hxx
include/comphelper/servicehelper.hxx
+1
-1
No files found.
comphelper/source/container/embeddedobjectcontainer.cxx
Dosyayı görüntüle @
f555ab4e
...
...
@@ -203,7 +203,7 @@ void EmbeddedObjectContainer::CloseEmbeddedObjects()
{
try
{
xClose
->
close
(
sal_T
rue
);
xClose
->
close
(
t
rue
);
}
catch
(
const
uno
::
Exception
&
)
{
...
...
@@ -508,7 +508,7 @@ bool EmbeddedObjectContainer::StoreEmbeddedObject(
//TODO/LATER: possible optimization, don't store immediately
//xPersist->setPersistentEntry( pImpl->mxStorage, rName, embed::EntryInitModes::ENTRY_NO_INIT, aSeq, aSeq );
xPersist
->
storeAsEntry
(
pImpl
->
mxStorage
,
rName
,
aSeq
,
aSeq
);
xPersist
->
saveCompleted
(
sal_T
rue
);
xPersist
->
saveCompleted
(
t
rue
);
}
}
}
...
...
@@ -802,7 +802,7 @@ uno::Reference < embed::XEmbeddedObject > EmbeddedObjectContainer::CopyAndGetEmb
{
try
{
xResult
->
close
(
sal_T
rue
);
xResult
->
close
(
t
rue
);
}
catch
(
const
uno
::
Exception
&
)
{
...
...
@@ -1093,7 +1093,7 @@ bool EmbeddedObjectContainer::CloseEmbeddedObject( const uno::Reference < embed:
uno
::
Reference
<
::
util
::
XCloseable
>
xClose
(
xObj
,
uno
::
UNO_QUERY
);
try
{
xClose
->
close
(
sal_T
rue
);
xClose
->
close
(
t
rue
);
}
catch
(
const
uno
::
Exception
&
)
{
...
...
@@ -1598,7 +1598,7 @@ bool EmbeddedObjectContainer::SetPersistentEntries(const uno::Reference< embed::
{
uno
::
Reference
<
util
::
XModifiable
>
xModif
(
xObj
->
getComponent
(),
uno
::
UNO_QUERY_THROW
);
if
(
xModif
->
isModified
()
)
xModif
->
setModified
(
sal_F
alse
);
xModif
->
setModified
(
f
alse
);
}
catch
(
const
uno
::
Exception
&
)
{
...
...
comphelper/source/container/enumerablemap.cxx
Dosyayı görüntüle @
f555ab4e
...
...
@@ -564,9 +564,9 @@ namespace comphelper
)
{
if
(
mapping
->
second
==
_value
)
return
sal_T
rue
;
return
t
rue
;
}
return
sal_F
alse
;
return
f
alse
;
}
...
...
comphelper/source/container/enumhelper.cxx
Dosyayı görüntüle @
f555ab4e
...
...
@@ -56,7 +56,7 @@ sal_Bool SAL_CALL OEnumerationByName::hasMoreElements( ) throw(css::uno::Runtim
::
osl
::
ResettableMutexGuard
aLock
(
m_aLock
);
if
(
m_xAccess
.
is
()
&&
m_aNames
.
getLength
()
>
m_nPos
)
return
sal_T
rue
;
return
t
rue
;
if
(
m_xAccess
.
is
())
{
...
...
@@ -64,7 +64,7 @@ sal_Bool SAL_CALL OEnumerationByName::hasMoreElements( ) throw(css::uno::Runtim
m_xAccess
.
clear
();
}
return
sal_F
alse
;
return
f
alse
;
}
...
...
@@ -155,7 +155,7 @@ sal_Bool SAL_CALL OEnumerationByIndex::hasMoreElements( ) throw(css::uno::Runti
::
osl
::
ResettableMutexGuard
aLock
(
m_aLock
);
if
(
m_xAccess
.
is
()
&&
m_xAccess
->
getCount
()
>
m_nPos
)
return
sal_T
rue
;
return
t
rue
;
if
(
m_xAccess
.
is
())
{
...
...
@@ -163,7 +163,7 @@ sal_Bool SAL_CALL OEnumerationByIndex::hasMoreElements( ) throw(css::uno::Runti
m_xAccess
.
clear
();
}
return
sal_F
alse
;
return
f
alse
;
}
...
...
comphelper/source/eventattachermgr/eventattachermgr.cxx
Dosyayı görüntüle @
f555ab4e
...
...
@@ -210,7 +210,7 @@ void AttacherAllListener_Impl::convertToEventReturn( Any & rRet, const Type & rR
break
;
case
TypeClass_BOOLEAN
:
rRet
<<=
sal_T
rue
;
rRet
<<=
t
rue
;
break
;
case
TypeClass_STRING
:
...
...
comphelper/source/misc/accessibletexthelper.cxx
Dosyayı görüntüle @
f555ab4e
...
...
@@ -135,7 +135,7 @@ namespace comphelper
Reference
<
i18n
::
XBreakIterator
>
xBreakIter
=
implGetBreakIterator
();
if
(
xBreakIter
.
is
()
)
{
rBoundary
=
xBreakIter
->
getWordBoundary
(
sText
,
nIndex
,
implGetLocale
(),
i18n
::
WordType
::
ANY_WORD
,
sal_T
rue
);
rBoundary
=
xBreakIter
->
getWordBoundary
(
sText
,
nIndex
,
implGetLocale
(),
i18n
::
WordType
::
ANY_WORD
,
t
rue
);
// it's a word, if the first character is an alpha-numeric character
Reference
<
i18n
::
XCharacterClassification
>
xCharClass
=
implGetCharacterClassification
();
...
...
comphelper/source/misc/instancelocker.cxx
Dosyayı görüntüle @
f555ab4e
...
...
@@ -244,7 +244,7 @@ void OLockListener::Dispose()
uno
::
Reference
<
util
::
XCloseable
>
xCloseable
(
m_xInstance
,
uno
::
UNO_QUERY
);
if
(
xCloseable
.
is
()
)
xCloseable
->
close
(
sal_T
rue
);
xCloseable
->
close
(
t
rue
);
}
catch
(
uno
::
Exception
&
)
{}
...
...
comphelper/source/misc/mimeconfighelper.cxx
Dosyayı görüntüle @
f555ab4e
...
...
@@ -589,7 +589,7 @@ OUString MimeConfigurationHelper::UpdateMediaDescriptorWithFilterName(
uno
::
Sequence
<
beans
::
PropertyValue
>
aTempMD
(
aMediaDescr
);
// get TypeName
OUString
aTypeName
=
xTypeDetection
->
queryTypeByDescriptor
(
aTempMD
,
sal_T
rue
);
OUString
aTypeName
=
xTypeDetection
->
queryTypeByDescriptor
(
aTempMD
,
t
rue
);
// get FilterName
for
(
sal_Int32
nInd
=
0
;
nInd
<
aTempMD
.
getLength
();
nInd
++
)
...
...
comphelper/source/property/opropertybag.cxx
Dosyayı görüntüle @
f555ab4e
...
...
@@ -223,7 +223,7 @@ namespace comphelper
{
// XSet is only a workaround for addProperty not being able to add default-void properties.
// So, everything of XSet except insert is implemented empty
return
sal_F
alse
;
return
f
alse
;
}
...
...
@@ -250,7 +250,7 @@ namespace comphelper
m_pArrayHelper
.
reset
();
g
.
clear
();
setModified
(
sal_T
rue
);
setModified
(
t
rue
);
}
...
...
@@ -282,7 +282,7 @@ namespace comphelper
{
// XSet is only a workaround for addProperty not being able to add default-void properties.
// So, everything of XSet except insert is implemented empty
return
sal_F
alse
;
return
f
alse
;
}
...
...
@@ -356,7 +356,7 @@ namespace comphelper
m_pArrayHelper
.
reset
();
g
.
clear
();
setModified
(
sal_T
rue
);
setModified
(
t
rue
);
}
...
...
@@ -370,7 +370,7 @@ namespace comphelper
m_pArrayHelper
.
reset
();
g
.
clear
();
setModified
(
sal_T
rue
);
setModified
(
t
rue
);
}
...
...
comphelper/source/property/propagg.cxx
Dosyayı görüntüle @
f555ab4e
...
...
@@ -425,7 +425,7 @@ void SAL_CALL OPropertySetAggregationHelper::propertiesChange(const css::uno::Se
// implementation)
if
(
(
nHandle
!=
-
1
)
&&
!
isCurrentlyForwardingProperty
(
nHandle
)
)
fire
(
&
nHandle
,
&
evt
.
NewValue
,
&
evt
.
OldValue
,
1
,
sal_F
alse
);
fire
(
&
nHandle
,
&
evt
.
NewValue
,
&
evt
.
OldValue
,
1
,
f
alse
);
}
else
{
...
...
@@ -448,7 +448,7 @@ void SAL_CALL OPropertySetAggregationHelper::propertiesChange(const css::uno::Se
}
if
(
nDest
)
fire
(
pHandles
.
get
(),
pNewValues
.
get
(),
pOldValues
.
get
(),
nDest
,
sal_F
alse
);
fire
(
pHandles
.
get
(),
pNewValues
.
get
(),
pOldValues
.
get
(),
nDest
,
f
alse
);
}
}
...
...
@@ -460,7 +460,7 @@ void SAL_CALL OPropertySetAggregationHelper::vetoableChange(const css::beans::Pr
cppu
::
IPropertyArrayHelper
&
rPH
=
getInfoHelper
();
sal_Int32
nHandle
=
rPH
.
getHandleByName
(
_rEvent
.
PropertyName
);
fire
(
&
nHandle
,
&
_rEvent
.
NewValue
,
&
_rEvent
.
OldValue
,
1
,
sal_T
rue
);
fire
(
&
nHandle
,
&
_rEvent
.
NewValue
,
&
_rEvent
.
OldValue
,
1
,
t
rue
);
}
...
...
@@ -759,7 +759,7 @@ void SAL_CALL OPropertySetAggregationHelper::setPropertyValues(
}
// fire vetoable events
fire
(
pHandles
.
get
(),
pConvertedValues
.
get
(),
pOldValues
.
get
(),
nHitCount
,
sal_T
rue
);
fire
(
pHandles
.
get
(),
pConvertedValues
.
get
(),
pOldValues
.
get
(),
nHitCount
,
t
rue
);
// setting the agg Properties
m_xAggregateMultiSet
->
setPropertyValues
(
AggPropertyNames
,
AggValues
);
...
...
@@ -777,7 +777,7 @@ void SAL_CALL OPropertySetAggregationHelper::setPropertyValues(
}
// fire change events
fire
(
pHandles
.
get
(),
pConvertedValues
.
get
(),
pOldValues
.
get
(),
nHitCount
,
sal_F
alse
);
fire
(
pHandles
.
get
(),
pConvertedValues
.
get
(),
pOldValues
.
get
(),
nHitCount
,
f
alse
);
}
else
m_xAggregateMultiSet
->
setPropertyValues
(
AggPropertyNames
,
AggValues
);
...
...
comphelper/source/property/propstate.cxx
Dosyayı görüntüle @
f555ab4e
...
...
@@ -71,7 +71,7 @@ namespace comphelper
void
OPropertyStateHelper
::
firePropertyChange
(
sal_Int32
nHandle
,
const
css
::
uno
::
Any
&
aNewValue
,
const
css
::
uno
::
Any
&
aOldValue
)
{
fire
(
&
nHandle
,
&
aNewValue
,
&
aOldValue
,
1
,
sal_F
alse
);
fire
(
&
nHandle
,
&
aNewValue
,
&
aOldValue
,
1
,
f
alse
);
}
// XPropertyState
...
...
include/comphelper/property.hxx
Dosyayı görüntüle @
f555ab4e
...
...
@@ -127,7 +127,7 @@ bool tryPropertyValueEnum(css::uno::Any& /*out*/_rConvertedValue, css::uno::Any&
inline
bool
tryPropertyValue
(
css
::
uno
::
Any
&
/*out*/
_rConvertedValue
,
css
::
uno
::
Any
&
/*out*/
_rOldValue
,
const
css
::
uno
::
Any
&
_rValueToSet
,
bool
_bCurrentValue
)
{
bool
bModified
(
false
);
sal_Bool
bNewValue
(
sal_F
alse
);
sal_Bool
bNewValue
(
f
alse
);
::
cppu
::
convertPropertyValue
(
bNewValue
,
_rValueToSet
);
if
(
bool
(
bNewValue
)
!=
_bCurrentValue
)
{
...
...
include/comphelper/servicehelper.hxx
Dosyayı görüntüle @
f555ab4e
...
...
@@ -31,7 +31,7 @@ private:
public
:
UnoTunnelIdInit
()
:
m_aSeq
(
16
)
{
rtl_createUuid
(
reinterpret_cast
<
sal_uInt8
*>
(
m_aSeq
.
getArray
()),
nullptr
,
sal_T
rue
);
rtl_createUuid
(
reinterpret_cast
<
sal_uInt8
*>
(
m_aSeq
.
getArray
()),
nullptr
,
t
rue
);
}
const
css
::
uno
::
Sequence
<
sal_Int8
>&
getSeq
()
const
{
return
m_aSeq
;
}
};
...
...
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