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
3228cb20
Kaydet (Commit)
3228cb20
authored
Şub 02, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove redundant checks and unnecessary variables
Change-Id: I8552102550898e63468d64f8c2b93577b4f420b4
üst
49cda4d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
15 deletions
+4
-15
itrpaint.cxx
sw/source/core/text/itrpaint.cxx
+4
-15
No files found.
sw/source/core/text/itrpaint.cxx
Dosyayı görüntüle @
3228cb20
...
...
@@ -512,33 +512,22 @@ void SwTxtPainter::CheckSpecialUnderline( const SwLinePortion* pPor,
if
(
HasHints
()
)
{
bool
bUnder
=
false
;
for
(
MSHORT
nTmp
=
0
;
nTmp
<
pHints
->
GetStartCount
();
++
nTmp
)
{
SwTxtAttr
*
const
pTxtAttr
=
pHints
->
GetStart
(
nTmp
);
bool
bUnderSelect
=
false
;
const
SvxUnderlineItem
*
pItem
=
static_cast
<
const
SvxUnderlineItem
*>
(
CharFmt
::
GetItem
(
*
pTxtAttr
,
RES_CHRATR_UNDERLINE
));
if
(
pItem
)
{
bUnder
=
true
;
bUnderSelect
=
pFnt
->
GetUnderline
()
==
pItem
->
GetLineStyle
();
}
if
(
bUnder
)
{
sal_Int32
nSt
=
*
pTxtAttr
->
GetStart
();
sal_Int32
nEnd
=
*
pTxtAttr
->
GetEnd
();
const
sal_Int32
nSt
=
*
pTxtAttr
->
GetStart
();
const
sal_Int32
nEnd
=
*
pTxtAttr
->
GetEnd
();
if
(
nEnd
>
nSt
)
{
Range
aTmp
(
nSt
,
nEnd
-
1
);
if
(
bUnder
)
aUnderMulti
.
Select
(
aTmp
,
bUnderSelect
);
const
bool
bUnderSelect
=
pFnt
->
GetUnderline
()
==
pItem
->
GetLineStyle
();
aUnderMulti
.
Select
(
Range
(
nSt
,
nEnd
-
1
),
bUnderSelect
);
}
bUnder
=
false
;
}
}
}
...
...
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