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
66d19e8f
Kaydet (Commit)
66d19e8f
authored
Tem 02, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:casttovoid: linguistic
Change-Id: I9d3a91a15dc748567b03709750e416f5f54cb579
üst
124ed93a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
gciterator.cxx
linguistic/source/gciterator.cxx
+1
-5
No files found.
linguistic/source/gciterator.cxx
Dosyayı görüntüle @
66d19e8f
...
...
@@ -353,7 +353,6 @@ void GrammarCheckingIterator::ProcessResult(
0
<=
rRes
.
nStartOfNextSentencePosition
&&
rRes
.
nStartOfNextSentencePosition
<=
nTextLen
&&
rRes
.
nStartOfSentencePosition
<=
rRes
.
nBehindEndOfSentencePosition
&&
rRes
.
nBehindEndOfSentencePosition
<=
rRes
.
nStartOfNextSentencePosition
;
(
void
)
bBoundariesOk
;
DBG_ASSERT
(
bBoundariesOk
,
"inconsistent sentence boundaries"
);
uno
::
Reference
<
text
::
XMultiTextMarkup
>
xMulti
(
rRes
.
xFlatParagraph
,
uno
::
UNO_QUERY
);
...
...
@@ -430,7 +429,6 @@ void GrammarCheckingIterator::ProcessResult(
uno
::
Reference
<
linguistic2
::
XProofreader
>
GrammarCheckingIterator
::
GetGrammarChecker
(
const
lang
::
Locale
&
rLocale
)
{
(
void
)
rLocale
;
uno
::
Reference
<
linguistic2
::
XProofreader
>
xRes
;
// ---- THREAD SAFE START ----
...
...
@@ -674,13 +672,11 @@ linguistic2::ProofreadingResult SAL_CALL GrammarCheckingIterator::checkSentenceA
const
uno
::
Reference
<
uno
::
XInterface
>&
xDoc
,
const
uno
::
Reference
<
text
::
XFlatParagraph
>&
xFlatPara
,
const
OUString
&
rText
,
const
lang
::
Locale
&
rLocale
,
const
lang
::
Locale
&
,
sal_Int32
nStartOfSentencePos
,
sal_Int32
nSuggestedEndOfSentencePos
,
sal_Int32
nErrorPosInPara
)
{
(
void
)
rLocale
;
// for the context menu...
linguistic2
::
ProofreadingResult
aRes
;
...
...
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