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
f9a41236
Kaydet (Commit)
f9a41236
authored
Eyl 10, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1323752 Logically dead code
Change-Id: Ic7b0e9c6a1e4e1ce37d49358828a660fdfc63a1d
üst
5094b783
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
texteng.cxx
vcl/source/edit/texteng.cxx
+1
-6
No files found.
vcl/source/edit/texteng.cxx
Dosyayı görüntüle @
f9a41236
...
...
@@ -2203,7 +2203,6 @@ bool TextEngine::CreateLines( sal_uInt32 nPara )
// format all lines starting here
size_t
nDelFromLine
=
std
::
numeric_limits
<
size_t
>::
max
();
bool
bLineBreak
=
false
;
sal_Int32
nIndex
=
pLine
->
GetStart
();
TextLine
aSaveLine
(
*
pLine
);
...
...
@@ -2227,7 +2226,6 @@ bool TextEngine::CreateLines( sal_uInt32 nPara )
// search for Portion that does not fit anymore into line
TETextPortion
*
pPortion
=
0
;
bool
bBrokenLine
=
false
;
bLineBreak
=
false
;
while
(
(
nTmpWidth
<=
nXWidth
)
&&
!
bEOL
&&
(
nTmpPortion
<
pTEParaPortion
->
GetTextPortions
().
size
()
)
)
{
...
...
@@ -2296,7 +2294,7 @@ bool TextEngine::CreateLines( sal_uInt32 nPara )
pLine
->
SetEnd
(
nPortionStart
);
pLine
->
SetEndPortion
(
nTmpPortion
-
1
);
}
else
if
(
b
LineBreak
||
b
BrokenLine
)
else
if
(
bBrokenLine
)
{
pLine
->
SetEnd
(
nPortionStart
+
1
);
pLine
->
SetEndPortion
(
nTmpPortion
-
1
);
...
...
@@ -2421,9 +2419,6 @@ bool TextEngine::CreateLines( sal_uInt32 nPara )
DBG_ASSERT
(
pTEParaPortion
->
GetLines
().
size
(),
"CreateLines: No Line!"
);
if
(
bLineBreak
)
CreateAndInsertEmptyLine
(
nPara
);
pTEParaPortion
->
SetValid
();
return
nOldLineCount
!=
pTEParaPortion
->
GetLines
().
size
();
...
...
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