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
ad4e155f
Kaydet (Commit)
ad4e155f
authored
Mar 07, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#735418 Logically dead code
Change-Id: Iad5d984cd923758daee8d5d6d76694586a34b9e0
üst
b2c18b7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
editeng.cxx
editeng/source/editeng/editeng.cxx
+3
-4
No files found.
editeng/source/editeng/editeng.cxx
Dosyayı görüntüle @
ad4e155f
...
...
@@ -1835,7 +1835,7 @@ void EditEngine::SetControlWord( sal_uInt32 nWord )
if
(
bSpellingChanged
)
{
pImpEditEngine
->
StopOnlineSpellTimer
();
if
(
bSpellingChanged
&&
(
nWord
&
EE_CNTRL_ONLINESPELLING
)
)
if
(
nWord
&
EE_CNTRL_ONLINESPELLING
)
{
// Create WrongList, start timer...
sal_Int32
nNodes
=
pImpEditEngine
->
GetEditDoc
().
Count
();
...
...
@@ -1856,10 +1856,9 @@ void EditEngine::SetControlWord( sal_uInt32 nWord )
ContentNode
*
pNode
=
pImpEditEngine
->
GetEditDoc
().
GetObject
(
n
);
const
ParaPortion
*
pPortion
=
pImpEditEngine
->
GetParaPortions
()[
n
];
bool
bWrongs
=
false
;
if
(
pNode
->
GetWrongList
()
!=
NULL
&&
(
bSpellingChanged
||
(
nWord
&
EE_CNTRL_ONLINESPELLING
)
)
)
if
(
pNode
->
GetWrongList
()
!=
NULL
)
bWrongs
=
!
pNode
->
GetWrongList
()
->
empty
();
if
(
bSpellingChanged
)
pNode
->
DestroyWrongList
();
pNode
->
DestroyWrongList
();
if
(
bWrongs
)
{
pImpEditEngine
->
aInvalidRect
.
Left
()
=
0
;
...
...
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