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
43b98980
Kaydet (Commit)
43b98980
authored
Agu 22, 2013
tarafından
Takeshi Abe
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool to bool
Change-Id: I4ab448a461a9fe37ba18838357d371f71b0a496c
üst
92d18638
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
26 deletions
+26
-26
sfxbasecontroller.cxx
sfx2/source/view/sfxbasecontroller.cxx
+7
-7
mathmlimport.cxx
starmath/source/mathmlimport.cxx
+14
-14
invocation.cxx
stoc/source/invocation/invocation.cxx
+4
-4
iafactory.cxx
stoc/source/invocation_adapterfactory/iafactory.cxx
+1
-1
No files found.
sfx2/source/view/sfxbasecontroller.cxx
Dosyayı görüntüle @
43b98980
...
...
@@ -111,7 +111,7 @@ struct GroupIDToCommandGroup
// Please update when a new command group is added
const
sal_Int16
MAX_COMMANDGROUP
=
frame
::
CommandGroup
::
CONTROLS
;
static
sal_Bool
bGroupIDMapInitialized
=
sal_F
alse
;
static
bool
bGroupIDMapInitialized
=
f
alse
;
static
GroupIDToCommandGroup
GroupIDCommandGroupMap
[]
=
{
{
GID_INTERN
,
frame
::
CommandGroup
::
INTERNAL
},
...
...
@@ -160,7 +160,7 @@ sal_Int16 MapGroupIDToCommandGroup( sal_Int16 nGroupID )
GroupIDCommandGroupMap
[
i
].
nCommandGroup
));
++
i
;
}
bGroupIDMapInitialized
=
sal_T
rue
;
bGroupIDMapInitialized
=
t
rue
;
}
GroupHashMap
::
const_iterator
pIter
=
mHashMap
.
find
(
nGroupID
);
...
...
@@ -281,7 +281,7 @@ void SAL_CALL SfxStatusIndicator::setValue( sal_Int32 nValue ) throw(RuntimeExce
if
(
xProgress
.
is
()
)
xProgress
->
setValue
(
nValue
);
sal_B
ool
bReschedule
=
((
Get10ThSec
()
-
_nStartTime
)
>
TIMEOUT_START_RESCHEDULE
);
b
ool
bReschedule
=
((
Get10ThSec
()
-
_nStartTime
)
>
TIMEOUT_START_RESCHEDULE
);
if
(
bReschedule
)
reschedule
();
}
...
...
@@ -400,7 +400,7 @@ struct IMPL_SfxBaseController_DataContainer
Reference
<
XStatusIndicator
>
m_xIndicator
;
SfxViewShell
*
m_pViewShell
;
SfxBaseController
*
m_pController
;
sal_Bool
m_bDisposing
;
bool
m_bDisposing
;
sal_Bool
m_bSuspendState
;
Reference
<
XTitle
>
m_xTitleHelper
;
Sequence
<
PropertyValue
>
m_aCreationArgs
;
...
...
@@ -415,7 +415,7 @@ struct IMPL_SfxBaseController_DataContainer
,
m_aInterceptorContainer
(
aMutex
)
,
m_pViewShell
(
pViewShell
)
,
m_pController
(
pController
)
,
m_bDisposing
(
sal_False
)
,
m_bDisposing
(
false
)
,
m_bSuspendState
(
sal_False
)
{
}
...
...
@@ -631,7 +631,7 @@ sal_Bool SAL_CALL SfxBaseController::suspend( sal_Bool bSuspend ) throw( Runtime
// More Views on the same document?
SfxObjectShell
*
pDocShell
=
m_pData
->
m_pViewShell
->
GetObjectShell
()
;
sal_Bool
bOther
=
sal_False
;
bool
bOther
=
false
;
for
(
const
SfxViewFrame
*
pFrame
=
SfxViewFrame
::
GetFirst
(
pDocShell
);
!
bOther
&&
pFrame
;
pFrame
=
SfxViewFrame
::
GetNext
(
*
pFrame
,
pDocShell
)
)
bOther
=
(
pFrame
!=
pActFrame
);
...
...
@@ -974,7 +974,7 @@ void SAL_CALL SfxBaseController::dispose() throw( RuntimeException )
{
SolarMutexGuard
aGuard
;
Reference
<
XController
>
xTmp
(
this
);
m_pData
->
m_bDisposing
=
sal_T
rue
;
m_pData
->
m_bDisposing
=
t
rue
;
lang
::
EventObject
aEventObject
;
aEventObject
.
Source
=
*
this
;
...
...
starmath/source/mathmlimport.cxx
Dosyayı görüntüle @
43b98980
...
...
@@ -106,7 +106,7 @@ sal_uLong SmXMLImportWrapper::Import(SfxMedium &rMedium)
// try to get an XStatusIndicator from the Medium
uno
::
Reference
<
task
::
XStatusIndicator
>
xStatusIndicator
;
sal_Bool
bEmbedded
=
sal_F
alse
;
bool
bEmbedded
=
f
alse
;
uno
::
Reference
<
lang
::
XUnoTunnel
>
xTunnel
;
xTunnel
=
uno
::
Reference
<
lang
::
XUnoTunnel
>
(
xModel
,
uno
::
UNO_QUERY
);
SmModel
*
pModel
=
reinterpret_cast
<
SmModel
*>
...
...
@@ -129,7 +129,7 @@ sal_uLong SmXMLImportWrapper::Import(SfxMedium &rMedium)
}
if
(
SFX_CREATE_MODE_EMBEDDED
==
pDocShell
->
GetCreateMode
()
)
bEmbedded
=
sal_T
rue
;
bEmbedded
=
t
rue
;
}
comphelper
::
PropertyMapEntry
aInfoMap
[]
=
...
...
@@ -191,7 +191,7 @@ sal_uLong SmXMLImportWrapper::Import(SfxMedium &rMedium)
}
}
sal_B
ool
bOASIS
=
(
SotStorage
::
GetVersion
(
rMedium
.
GetStorage
()
)
>
SOFFICE_FILEFORMAT_60
);
b
ool
bOASIS
=
(
SotStorage
::
GetVersion
(
rMedium
.
GetStorage
()
)
>
SOFFICE_FILEFORMAT_60
);
if
(
xStatusIndicator
.
is
())
xStatusIndicator
->
setValue
(
nSteps
++
);
...
...
@@ -305,7 +305,7 @@ sal_uLong SmXMLImportWrapper::ReadThroughComponent(
// sax parser sends wrapped exceptions,
// try to find the original one
xml
::
sax
::
SAXException
aSaxEx
=
*
(
xml
::
sax
::
SAXException
*
)(
&
r
);
sal_Bool
bTryChild
=
sal_T
rue
;
bool
bTryChild
=
t
rue
;
while
(
bTryChild
)
{
...
...
@@ -313,7 +313,7 @@ sal_uLong SmXMLImportWrapper::ReadThroughComponent(
if
(
aSaxEx
.
WrappedException
>>=
aTmp
)
aSaxEx
=
aTmp
;
else
bTryChild
=
sal_F
alse
;
bTryChild
=
f
alse
;
}
packages
::
zip
::
ZipIOException
aBrokenPackage
;
...
...
@@ -635,7 +635,7 @@ struct SmXMLContext_Helper
sal_Int8
nIsBold
;
sal_Int8
nIsItalic
;
double
nFontSize
;
sal_B
ool
bFontNodeNeeded
;
b
ool
bFontNodeNeeded
;
OUString
sFontFamily
;
OUString
sColor
;
...
...
@@ -702,9 +702,9 @@ void SmXMLContext_Helper::RetrieveAttrs(const uno::Reference<
if
((
nOldIsBold
!=
nIsBold
)
||
(
nOldIsItalic
!=
nIsItalic
)
||
(
nOldFontSize
!=
nFontSize
)
||
(
sOldFontFamily
!=
sFontFamily
)
||
!
sColor
.
isEmpty
())
bFontNodeNeeded
=
sal_T
rue
;
bFontNodeNeeded
=
t
rue
;
else
bFontNodeNeeded
=
sal_F
alse
;
bFontNodeNeeded
=
f
alse
;
}
void
SmXMLContext_Helper
::
ApplyAttrs
()
...
...
@@ -1152,12 +1152,12 @@ void SmXMLNumberContext_Impl::EndElement()
class
SmXMLAnnotationContext_Impl
:
public
SmXMLImportContext
{
sal_B
ool
bIsStarMath
;
b
ool
bIsStarMath
;
public
:
SmXMLAnnotationContext_Impl
(
SmXMLImport
&
rImport
,
sal_uInt16
nPrefix
,
const
OUString
&
rLName
)
:
SmXMLImportContext
(
rImport
,
nPrefix
,
rLName
),
bIsStarMath
(
sal_F
alse
)
{}
:
SmXMLImportContext
(
rImport
,
nPrefix
,
rLName
),
bIsStarMath
(
f
alse
)
{}
virtual
void
Characters
(
const
OUString
&
rChars
);
...
...
@@ -1320,9 +1320,9 @@ void SmXMLIdentifierContext_Impl::EndElement()
if
((
-
1
!=
aStyleHelper
.
nIsBold
)
||
(
0.0
!=
aStyleHelper
.
nFontSize
)
||
(
!
aStyleHelper
.
sFontFamily
.
isEmpty
())
||
!
aStyleHelper
.
sColor
.
isEmpty
())
aStyleHelper
.
bFontNodeNeeded
=
sal_T
rue
;
aStyleHelper
.
bFontNodeNeeded
=
t
rue
;
else
aStyleHelper
.
bFontNodeNeeded
=
sal_F
alse
;
aStyleHelper
.
bFontNodeNeeded
=
f
alse
;
if
(
aStyleHelper
.
bFontNodeNeeded
)
aStyleHelper
.
ApplyAttrs
();
GetSmImport
().
GetNodeStack
().
push
(
pNode
);
...
...
@@ -1337,7 +1337,7 @@ void SmXMLIdentifierContext_Impl::TCharacters(const OUString &rChars)
class
SmXMLOperatorContext_Impl
:
public
SmXMLImportContext
{
sal_B
ool
bIsStretchy
;
b
ool
bIsStretchy
;
protected
:
SmToken
aToken
;
...
...
@@ -1345,7 +1345,7 @@ protected:
public
:
SmXMLOperatorContext_Impl
(
SmXMLImport
&
rImport
,
sal_uInt16
nPrefix
,
const
OUString
&
rLName
)
:
SmXMLImportContext
(
rImport
,
nPrefix
,
rLName
),
bIsStretchy
(
sal_F
alse
)
:
SmXMLImportContext
(
rImport
,
nPrefix
,
rLName
),
bIsStretchy
(
f
alse
)
{
aToken
.
eType
=
TSPECIAL
;
aToken
.
nLevel
=
5
;
...
...
stoc/source/invocation/invocation.cxx
Dosyayı görüntüle @
43b98980
...
...
@@ -876,7 +876,7 @@ InvocationInfo SAL_CALL Invocation_Impl::getInfoForName( const OUString& aName,
return
_xDirect2
->
getInfoForName
(
aName
,
bExact
);
}
sal_Bool
bFound
=
sal_F
alse
;
bool
bFound
=
f
alse
;
OUString
aExactName
=
aName
;
InvocationInfo
aRetInfo
;
...
...
@@ -889,7 +889,7 @@ InvocationInfo SAL_CALL Invocation_Impl::getInfoForName( const OUString& aName,
Reference
<
XIdlMethod
>
xMethod
=
_xIntrospectionAccess
->
getMethod
(
aExactName
,
MethodConcept
::
ALL
^
MethodConcept
::
DANGEROUS
);
fillInfoForMethod
(
aRetInfo
,
xMethod
);
bFound
=
sal_T
rue
;
bFound
=
t
rue
;
}
else
{
...
...
@@ -899,13 +899,13 @@ InvocationInfo SAL_CALL Invocation_Impl::getInfoForName( const OUString& aName,
Property
aProp
=
_xIntrospectionAccess
->
getProperty
(
aExactName
,
PropertyConcept
::
ALL
^
PropertyConcept
::
DANGEROUS
);
fillInfoForProperty
(
aRetInfo
,
aProp
);
bFound
=
sal_T
rue
;
bFound
=
t
rue
;
}
// NameAccess
else
if
(
_xNameAccess
.
is
()
&&
_xNameAccess
->
hasByName
(
aExactName
)
)
{
fillInfoForNameAccess
(
aRetInfo
,
aExactName
);
bFound
=
sal_T
rue
;
bFound
=
t
rue
;
}
}
}
...
...
stoc/source/invocation_adapterfactory/iafactory.cxx
Dosyayı görüntüle @
43b98980
...
...
@@ -229,7 +229,7 @@ static inline void constructRuntimeException(
}
//------------------------------------------------------------------------------
static
inline
sal_B
ool
type_equals
(
static
inline
b
ool
type_equals
(
typelib_TypeDescriptionReference
*
pType1
,
typelib_TypeDescriptionReference
*
pType2
)
SAL_THROW
(())
...
...
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