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
87214657
Kaydet (Commit)
87214657
authored
Şub 15, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool to bool
Change-Id: I5f09b1832fa453299c4f8a455d2f3499225550a1
üst
ace25568
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
13 deletions
+11
-13
editsh.cxx
sw/source/core/edit/editsh.cxx
+1
-2
scriptinfo.hxx
sw/source/core/inc/scriptinfo.hxx
+2
-2
porlay.cxx
sw/source/core/text/porlay.cxx
+8
-9
No files found.
sw/source/core/edit/editsh.cxx
Dosyayı görüntüle @
87214657
...
...
@@ -128,8 +128,7 @@ void SwEditShell::Insert2(const OUString &rStr, const bool bForceExpandHints )
if
(
nPrevPos
)
--
nPrevPos
;
SwScriptInfo
*
pSI
=
SwScriptInfo
::
GetScriptInfo
(
((
SwTxtNode
&
)
rNode
),
sal_True
);
SwScriptInfo
*
pSI
=
SwScriptInfo
::
GetScriptInfo
(
((
SwTxtNode
&
)
rNode
),
true
);
sal_uInt8
nLevel
=
0
;
if
(
!
pSI
)
...
...
sw/source/core/inc/scriptinfo.hxx
Dosyayı görüntüle @
87214657
...
...
@@ -91,7 +91,7 @@ public:
~
SwScriptInfo
();
// determines script changes
void
InitScriptInfo
(
const
SwTxtNode
&
rNode
,
sal_B
ool
bRTL
);
void
InitScriptInfo
(
const
SwTxtNode
&
rNode
,
b
ool
bRTL
);
void
InitScriptInfo
(
const
SwTxtNode
&
rNode
);
// set/get position from which data is invalid
...
...
@@ -361,7 +361,7 @@ public:
long
nSpaceAdd
=
0
);
static
SwScriptInfo
*
GetScriptInfo
(
const
SwTxtNode
&
rNode
,
sal_Bool
bAllowInvalid
=
sal_F
alse
);
bool
bAllowInvalid
=
f
alse
);
static
sal_uInt8
WhichFont
(
sal_Int32
nIdx
,
const
OUString
*
pTxt
,
const
SwScriptInfo
*
pSI
);
};
...
...
sw/source/core/text/porlay.cxx
Dosyayı görüntüle @
87214657
...
...
@@ -293,7 +293,7 @@ void SwLineLayout::CalcLine( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf )
bool
bOnlyPostIts
=
true
;
SetHanging
(
false
);
sal_Bool
bTmpDummy
=
(
0
==
GetLen
()
);
bool
bTmpDummy
=
!
GetLen
(
);
SwFlyCntPortion
*
pFlyCnt
=
0
;
if
(
bTmpDummy
)
{
...
...
@@ -316,7 +316,7 @@ void SwLineLayout::CalcLine( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf )
{
SetLen
(
pPortion
->
GetLen
()
);
if
(
GetLen
()
)
bTmpDummy
=
sal_F
alse
;
bTmpDummy
=
f
alse
;
}
else
{
...
...
@@ -464,7 +464,7 @@ void SwLineLayout::CalcLine( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf )
}
}
else
if
(
pPos
->
GetLen
()
)
bTmpDummy
=
sal_F
alse
;
bTmpDummy
=
f
alse
;
if
(
!
HasCntnt
()
&&
!
pPos
->
InNumberGrp
()
)
{
...
...
@@ -479,8 +479,7 @@ void SwLineLayout::CalcLine( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf )
SetCntnt
();
}
bTmpDummy
=
bTmpDummy
&&
!
HasCntnt
()
&&
(
!
pPos
->
Width
()
||
pPos
->
IsFlyPortion
()
);
bTmpDummy
&=
!
HasCntnt
()
&&
(
!
pPos
->
Width
()
||
pPos
->
IsFlyPortion
()
);
pLast
=
pPos
;
pPos
=
pPos
->
GetPortion
();
...
...
@@ -582,7 +581,7 @@ void SwLineLayout::MaxAscentDescent( SwTwips& _orAscent,
SwTwips
nPortionDesc
=
static_cast
<
SwTwips
>
(
pTmpPortion
->
Height
())
-
nPortionAsc
;
const
sal_B
ool
bFlyCmp
=
pTmpPortion
->
IsFlyCntPortion
()
?
const
b
ool
bFlyCmp
=
pTmpPortion
->
IsFlyCntPortion
()
?
static_cast
<
const
SwFlyCntPortion
*>
(
pTmpPortion
)
->
IsMax
()
:
!
(
pTmpPortion
==
_pDontConsiderPortion
);
...
...
@@ -672,7 +671,7 @@ void SwScriptInfo::InitScriptInfo( const SwTxtNode& rNode )
InitScriptInfo
(
rNode
,
nDefaultDir
==
UBIDI_RTL
);
}
void
SwScriptInfo
::
InitScriptInfo
(
const
SwTxtNode
&
rNode
,
sal_B
ool
bRTL
)
void
SwScriptInfo
::
InitScriptInfo
(
const
SwTxtNode
&
rNode
,
b
ool
bRTL
)
{
if
(
!
g_pBreakIt
->
GetBreakIter
().
is
()
)
return
;
...
...
@@ -2056,7 +2055,7 @@ sal_Int32 SwScriptInfo::ThaiJustify( const OUString& rTxt, sal_Int32* pKernArray
}
SwScriptInfo
*
SwScriptInfo
::
GetScriptInfo
(
const
SwTxtNode
&
rTNd
,
sal_B
ool
bAllowInvalid
)
b
ool
bAllowInvalid
)
{
SwIterator
<
SwTxtFrm
,
SwTxtNode
>
aIter
(
rTNd
);
SwScriptInfo
*
pScriptInfo
=
0
;
...
...
@@ -2181,7 +2180,7 @@ void SwScriptInfo::selectHiddenTextProperty(const SwTxtNode& rNode, MultiSelecti
||
(
rNode
.
GetTxt
().
getLength
()
==
rHiddenMulti
.
GetTotalRange
().
Len
()));
const
SfxPoolItem
*
pItem
=
0
;
if
(
SFX_ITEM_SET
==
rNode
.
GetSwAttrSet
().
GetItemState
(
RES_CHRATR_HIDDEN
,
sal_T
rue
,
&
pItem
)
&&
if
(
SFX_ITEM_SET
==
rNode
.
GetSwAttrSet
().
GetItemState
(
RES_CHRATR_HIDDEN
,
t
rue
,
&
pItem
)
&&
((
SvxCharHiddenItem
*
)
pItem
)
->
GetValue
()
)
{
rHiddenMulti
.
SelectAll
();
...
...
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