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
365d3105
Kaydet (Commit)
365d3105
authored
Şub 11, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool->bool
Change-Id: I3d7d146723900b676e852132e8b99b60122c0b2b
üst
68c80b09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
global.hxx
sc/inc/global.hxx
+4
-4
global.cxx
sc/source/core/data/global.cxx
+8
-8
No files found.
sc/inc/global.hxx
Dosyayı görüntüle @
365d3105
...
@@ -599,12 +599,12 @@ public:
...
@@ -599,12 +599,12 @@ public:
static
OUString
GetErrorString
(
sal_uInt16
nErrNumber
);
static
OUString
GetErrorString
(
sal_uInt16
nErrNumber
);
static
OUString
GetLongErrorString
(
sal_uInt16
nErrNumber
);
static
OUString
GetLongErrorString
(
sal_uInt16
nErrNumber
);
static
sal_B
ool
EETextObjEqual
(
const
EditTextObject
*
pObj1
,
static
b
ool
EETextObjEqual
(
const
EditTextObject
*
pObj1
,
const
EditTextObject
*
pObj2
);
const
EditTextObject
*
pObj2
);
static
sal_B
ool
CheckWidthInvalidate
(
bool
&
bNumFormatChanged
,
static
b
ool
CheckWidthInvalidate
(
bool
&
bNumFormatChanged
,
const
SfxItemSet
&
rNewAttrs
,
const
SfxItemSet
&
rNewAttrs
,
const
SfxItemSet
&
rOldAttrs
);
const
SfxItemSet
&
rOldAttrs
);
static
sal_B
ool
HasAttrChanged
(
const
SfxItemSet
&
rNewAttrs
,
static
b
ool
HasAttrChanged
(
const
SfxItemSet
&
rNewAttrs
,
const
SfxItemSet
&
rOldAttrs
,
const
SfxItemSet
&
rOldAttrs
,
const
sal_uInt16
nWhich
);
const
sal_uInt16
nWhich
);
...
@@ -665,7 +665,7 @@ SC_DLLPUBLIC static const sal_Unicode* FindUnquoted( const sal_Unicode* pStri
...
@@ -665,7 +665,7 @@ SC_DLLPUBLIC static const sal_Unicode* FindUnquoted( const sal_Unicode* pStri
/// a "ReadOnly" formatter for UNO/XML export
/// a "ReadOnly" formatter for UNO/XML export
static
SvNumberFormatter
*
GetEnglishFormatter
();
static
SvNumberFormatter
*
GetEnglishFormatter
();
static
sal_B
ool
IsSystemRTL
();
// depending on system language
static
b
ool
IsSystemRTL
();
// depending on system language
static
LanguageType
GetEditDefaultLanguage
();
// for EditEngine::SetDefaultLanguage
static
LanguageType
GetEditDefaultLanguage
();
// for EditEngine::SetDefaultLanguage
SC_DLLPUBLIC
static
sal_uInt8
GetDefaultScriptType
();
// for all WEAK characters
SC_DLLPUBLIC
static
sal_uInt8
GetDefaultScriptType
();
// for all WEAK characters
/** Map ATTR_((CJK|CTL)_)?FONT_... to proper WhichIDs.
/** Map ATTR_((CJK|CTL)_)?FONT_... to proper WhichIDs.
...
...
sc/source/core/data/global.cxx
Dosyayı görüntüle @
365d3105
...
@@ -147,11 +147,11 @@ void global_InitAppOptions();
...
@@ -147,11 +147,11 @@ void global_InitAppOptions();
//
//
//========================================================================
//========================================================================
sal_B
ool
ScGlobal
::
HasAttrChanged
(
const
SfxItemSet
&
rNewAttrs
,
b
ool
ScGlobal
::
HasAttrChanged
(
const
SfxItemSet
&
rNewAttrs
,
const
SfxItemSet
&
rOldAttrs
,
const
SfxItemSet
&
rOldAttrs
,
const
sal_uInt16
nWhich
)
const
sal_uInt16
nWhich
)
{
{
sal_B
ool
bInvalidate
=
false
;
b
ool
bInvalidate
=
false
;
const
SfxItemState
eNewState
=
rNewAttrs
.
GetItemState
(
nWhich
);
const
SfxItemState
eNewState
=
rNewAttrs
.
GetItemState
(
nWhich
);
const
SfxItemState
eOldState
=
rOldAttrs
.
GetItemState
(
nWhich
);
const
SfxItemState
eOldState
=
rOldAttrs
.
GetItemState
(
nWhich
);
...
@@ -177,7 +177,7 @@ sal_Bool ScGlobal::HasAttrChanged( const SfxItemSet& rNewAttrs,
...
@@ -177,7 +177,7 @@ sal_Bool ScGlobal::HasAttrChanged( const SfxItemSet& rNewAttrs,
?
rNewAttrs
.
Get
(
nWhich
)
?
rNewAttrs
.
Get
(
nWhich
)
:
rNewAttrs
.
GetPool
()
->
GetDefaultItem
(
nWhich
);
:
rNewAttrs
.
GetPool
()
->
GetDefaultItem
(
nWhich
);
bInvalidate
=
sal
::
static_int_cast
<
sal_Bool
>
(
rNewItem
!=
rOldItem
)
;
bInvalidate
=
rNewItem
!=
rOldItem
;
}
}
return
bInvalidate
;
return
bInvalidate
;
...
@@ -222,7 +222,7 @@ SvNumberFormatter* ScGlobal::GetEnglishFormatter()
...
@@ -222,7 +222,7 @@ SvNumberFormatter* ScGlobal::GetEnglishFormatter()
//------------------------------------------------------------------------
//------------------------------------------------------------------------
sal_B
ool
ScGlobal
::
CheckWidthInvalidate
(
bool
&
bNumFormatChanged
,
b
ool
ScGlobal
::
CheckWidthInvalidate
(
bool
&
bNumFormatChanged
,
const
SfxItemSet
&
rNewAttrs
,
const
SfxItemSet
&
rNewAttrs
,
const
SfxItemSet
&
rOldAttrs
)
const
SfxItemSet
&
rOldAttrs
)
{
{
...
@@ -889,11 +889,11 @@ const sal_Unicode* ScGlobal::FindUnquoted( const sal_Unicode* pString, sal_Unico
...
@@ -889,11 +889,11 @@ const sal_Unicode* ScGlobal::FindUnquoted( const sal_Unicode* pString, sal_Unico
//------------------------------------------------------------------------
//------------------------------------------------------------------------
sal_B
ool
ScGlobal
::
EETextObjEqual
(
const
EditTextObject
*
pObj1
,
b
ool
ScGlobal
::
EETextObjEqual
(
const
EditTextObject
*
pObj1
,
const
EditTextObject
*
pObj2
)
const
EditTextObject
*
pObj2
)
{
{
if
(
pObj1
==
pObj2
)
// both empty or the same object
if
(
pObj1
==
pObj2
)
// both empty or the same object
return
sal_T
rue
;
return
t
rue
;
if
(
pObj1
&&
pObj2
)
if
(
pObj1
&&
pObj2
)
{
{
...
@@ -912,7 +912,7 @@ sal_Bool ScGlobal::EETextObjEqual( const EditTextObject* pObj1,
...
@@ -912,7 +912,7 @@ sal_Bool ScGlobal::EETextObjEqual( const EditTextObject* pObj1,
sal_uLong
nSize
=
aStream1
.
Tell
();
sal_uLong
nSize
=
aStream1
.
Tell
();
if
(
aStream2
.
Tell
()
==
nSize
)
if
(
aStream2
.
Tell
()
==
nSize
)
if
(
!
memcmp
(
aStream1
.
GetData
(),
aStream2
.
GetData
(),
(
sal_uInt16
)
nSize
)
)
if
(
!
memcmp
(
aStream1
.
GetData
(),
aStream2
.
GetData
(),
(
sal_uInt16
)
nSize
)
)
return
sal_T
rue
;
return
t
rue
;
}
}
return
false
;
return
false
;
...
@@ -971,7 +971,7 @@ void ScGlobal::OpenURL( const OUString& rURL, const OUString& rTarget )
...
@@ -971,7 +971,7 @@ void ScGlobal::OpenURL( const OUString& rURL, const OUString& rTarget )
//------------------------------------------------------------------------
//------------------------------------------------------------------------
sal_B
ool
ScGlobal
::
IsSystemRTL
()
b
ool
ScGlobal
::
IsSystemRTL
()
{
{
return
MsLangId
::
isRightToLeft
(
Application
::
GetSettings
().
GetLanguageTag
().
getLanguageType
()
);
return
MsLangId
::
isRightToLeft
(
Application
::
GetSettings
().
GetLanguageTag
().
getLanguageType
()
);
}
}
...
...
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