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
89420ff3
Kaydet (Commit)
89420ff3
authored
Şub 06, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix spelling errror
Change-Id: Ie5fc19fa223942e31899408324beb2e15c1d7bef
üst
5ce1d877
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
SpellDialog.cxx
cui/source/dialogs/SpellDialog.cxx
+2
-2
errorhandler.cxx
idlc/source/errorhandler.cxx
+1
-1
xmlerror.cxx
xmloff/source/core/xmlerror.cxx
+1
-1
No files found.
cui/source/dialogs/SpellDialog.cxx
Dosyayı görüntüle @
89420ff3
...
...
@@ -1148,7 +1148,7 @@ bool SpellDialog::GetNextSentence_Impl(bool bUseSavedSentence, bool bRecheck)
return
bRet
;
}
/*-------------------------------------------------------------------------
replace err
r
ors that have a replacement in the ChangeAllList
replace errors that have a replacement in the ChangeAllList
returns false if the result doesn't contain errors after the replacement
-----------------------------------------------------------------------*/
bool
SpellDialog
::
ApplyChangeAllList_Impl
(
SpellPortions
&
rSentence
,
bool
&
bHasReplaced
)
...
...
@@ -1654,7 +1654,7 @@ void SentenceEditWindow_Impl::ChangeMarkedWord(const OUString& rNewWord, Languag
//calculate length changes
long
nDiffLen
=
rNewWord
.
getLength
()
-
m_nErrorEnd
+
m_nErrorStart
;
TextSelection
aSel
(
TextPaM
(
0
,
m_nErrorStart
),
TextPaM
(
0
,
m_nErrorEnd
));
//Remove spell err
r
or attribute
//Remove spell error attribute
ExtTextEngine
*
pTextEngine
=
GetTextEngine
();
pTextEngine
->
UndoActionStart
();
const
TextCharAttrib
*
pErrorAttrib
=
pTextEngine
->
FindCharAttrib
(
TextPaM
(
0
,
m_nErrorStart
),
TEXTATTR_SPELL_ERROR
);
...
...
idlc/source/errorhandler.cxx
Dosyayı görüntüle @
89420ff3
...
...
@@ -140,7 +140,7 @@ static const sal_Char* errorCodeToMessage(ErrorCode eCode)
case
EIDL_SIMILAR_CONSTRUCTORS
:
return
"two constructors have identical lists of parameter types"
;
}
return
"unknown err
r
or"
;
return
"unknown error"
;
}
static
const
sal_Char
*
warningCodeToMessage
(
WarningCode
wCode
)
...
...
xmloff/source/core/xmlerror.cxx
Dosyayı görüntüle @
89420ff3
...
...
@@ -127,7 +127,7 @@ void XMLErrors::AddRecord(
if
(
(
nFlags
&
XMLERROR_FLAG_WARNING
)
!=
0
)
sMessage
.
appendAscii
(
" WARNING"
);
if
(
(
nFlags
&
XMLERROR_FLAG_ERROR
)
!=
0
)
sMessage
.
appendAscii
(
" ERR
R
OR"
);
sMessage
.
appendAscii
(
" ERROR"
);
if
(
(
nFlags
&
XMLERROR_FLAG_SEVERE
)
!=
0
)
sMessage
.
appendAscii
(
" SEVERE"
);
sMessage
.
appendAscii
(
"
\n
Class: "
);
...
...
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