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
2220bf7f
Kaydet (Commit)
2220bf7f
authored
Eyl 11, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-Werror,-Wnon-literal-null-conversion (SpellStart(..., *pConvArgs = 0))
Change-Id: Ice0f4e4ae6f2e46fb130aded184ef91c7635660c
üst
0e0619c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
SwSpellDialogChildWindow.cxx
sw/source/ui/dialog/SwSpellDialogChildWindow.cxx
+7
-7
No files found.
sw/source/ui/dialog/SwSpellDialogChildWindow.cxx
Dosyayı görüntüle @
2220bf7f
...
@@ -242,7 +242,7 @@ svx::SpellPortions SwSpellDialogChildWindow::GetNextWrongSentence(bool bRecheck)
...
@@ -242,7 +242,7 @@ svx::SpellPortions SwSpellDialogChildWindow::GetNextWrongSentence(bool bRecheck)
{
{
m_pSpellState
->
pOtherCursor
=
new
SwPaM
(
*
pWrtShell
->
GetCrsr
()
->
GetPoint
());
m_pSpellState
->
pOtherCursor
=
new
SwPaM
(
*
pWrtShell
->
GetCrsr
()
->
GetPoint
());
m_pSpellState
->
m_bStartedInOther
=
true
;
m_pSpellState
->
m_bStartedInOther
=
true
;
pWrtShell
->
SpellStart
(
DOCPOS_OTHERSTART
,
DOCPOS_OTHEREND
,
DOCPOS_CURR
,
sal_False
);
pWrtShell
->
SpellStart
(
DOCPOS_OTHERSTART
,
DOCPOS_OTHEREND
,
DOCPOS_CURR
);
}
}
else
else
{
{
...
@@ -255,7 +255,7 @@ svx::SpellPortions SwSpellDialogChildWindow::GetNextWrongSentence(bool bRecheck)
...
@@ -255,7 +255,7 @@ svx::SpellPortions SwSpellDialogChildWindow::GetNextWrongSentence(bool bRecheck)
*
pWrtShell
->
GetDoc
(),
*
pWrtShell
->
GetDoc
(),
*
pCrsr
->
Start
(),
pCrsr
->
End
());
*
pCrsr
->
Start
(),
pCrsr
->
End
());
}
}
pWrtShell
->
SpellStart
(
DOCPOS_START
,
DOCPOS_END
,
DOCPOS_CURR
,
sal_False
);
pWrtShell
->
SpellStart
(
DOCPOS_START
,
DOCPOS_END
,
DOCPOS_CURR
);
}
}
}
}
else
else
...
@@ -300,7 +300,7 @@ The code below would only be part of the solution.
...
@@ -300,7 +300,7 @@ The code below would only be part of the solution.
//if there's any that has not been spelled yet
//if there's any that has not been spelled yet
if
(
!
m_pSpellState
->
m_bOtherSpelled
&&
pWrtShell
->
HasOtherCnt
())
if
(
!
m_pSpellState
->
m_bOtherSpelled
&&
pWrtShell
->
HasOtherCnt
())
{
{
pWrtShell
->
SpellStart
(
DOCPOS_OTHERSTART
,
DOCPOS_OTHEREND
,
DOCPOS_OTHERSTART
,
sal_False
);
pWrtShell
->
SpellStart
(
DOCPOS_OTHERSTART
,
DOCPOS_OTHEREND
,
DOCPOS_OTHERSTART
);
if
(
!
pWrtShell
->
SpellSentence
(
aRet
,
m_bIsGrammarCheckingOn
))
if
(
!
pWrtShell
->
SpellSentence
(
aRet
,
m_bIsGrammarCheckingOn
))
{
{
pWrtShell
->
SpellEnd
();
pWrtShell
->
SpellEnd
();
...
@@ -312,7 +312,7 @@ The code below would only be part of the solution.
...
@@ -312,7 +312,7 @@ The code below would only be part of the solution.
//if no result has been found try at the body text - completely
//if no result has been found try at the body text - completely
if
(
!
m_pSpellState
->
m_bBodySpelled
&&
!
aRet
.
size
())
if
(
!
m_pSpellState
->
m_bBodySpelled
&&
!
aRet
.
size
())
{
{
pWrtShell
->
SpellStart
(
DOCPOS_START
,
DOCPOS_END
,
DOCPOS_START
,
sal_False
);
pWrtShell
->
SpellStart
(
DOCPOS_START
,
DOCPOS_END
,
DOCPOS_START
);
if
(
!
pWrtShell
->
SpellSentence
(
aRet
,
m_bIsGrammarCheckingOn
))
if
(
!
pWrtShell
->
SpellSentence
(
aRet
,
m_bIsGrammarCheckingOn
))
{
{
m_pSpellState
->
m_bBodySpelled
=
true
;
m_pSpellState
->
m_bBodySpelled
=
true
;
...
@@ -341,7 +341,7 @@ The code below would only be part of the solution.
...
@@ -341,7 +341,7 @@ The code below would only be part of the solution.
pWrtShell
->
SpellEnd
();
pWrtShell
->
SpellEnd
();
delete
m_pSpellState
->
pOtherCursor
;
delete
m_pSpellState
->
pOtherCursor
;
m_pSpellState
->
pOtherCursor
=
0
;
m_pSpellState
->
pOtherCursor
=
0
;
pWrtShell
->
SpellStart
(
DOCPOS_OTHERSTART
,
DOCPOS_CURR
,
DOCPOS_OTHERSTART
,
sal_False
);
pWrtShell
->
SpellStart
(
DOCPOS_OTHERSTART
,
DOCPOS_CURR
,
DOCPOS_OTHERSTART
);
pWrtShell
->
SpellSentence
(
aRet
,
m_bIsGrammarCheckingOn
);
pWrtShell
->
SpellSentence
(
aRet
,
m_bIsGrammarCheckingOn
);
}
}
if
(
!
aRet
.
size
())
if
(
!
aRet
.
size
())
...
@@ -354,7 +354,7 @@ The code below would only be part of the solution.
...
@@ -354,7 +354,7 @@ The code below would only be part of the solution.
//has the body been spelled?
//has the body been spelled?
if
(
!
m_pSpellState
->
m_bBodySpelled
)
if
(
!
m_pSpellState
->
m_bBodySpelled
)
{
{
pWrtShell
->
SpellStart
(
DOCPOS_START
,
DOCPOS_END
,
DOCPOS_START
,
sal_False
);
pWrtShell
->
SpellStart
(
DOCPOS_START
,
DOCPOS_END
,
DOCPOS_START
);
if
(
!
pWrtShell
->
SpellSentence
(
aRet
,
m_bIsGrammarCheckingOn
))
if
(
!
pWrtShell
->
SpellSentence
(
aRet
,
m_bIsGrammarCheckingOn
))
{
{
m_pSpellState
->
m_bBodySpelled
=
true
;
m_pSpellState
->
m_bBodySpelled
=
true
;
...
@@ -367,7 +367,7 @@ The code below would only be part of the solution.
...
@@ -367,7 +367,7 @@ The code below would only be part of the solution.
m_pSpellState
->
m_bBodySpelled
=
true
;
m_pSpellState
->
m_bBodySpelled
=
true
;
if
(
!
m_pSpellState
->
m_bOtherSpelled
&&
pWrtShell
->
HasOtherCnt
())
if
(
!
m_pSpellState
->
m_bOtherSpelled
&&
pWrtShell
->
HasOtherCnt
())
{
{
pWrtShell
->
SpellStart
(
DOCPOS_OTHERSTART
,
DOCPOS_OTHEREND
,
DOCPOS_OTHERSTART
,
sal_False
);
pWrtShell
->
SpellStart
(
DOCPOS_OTHERSTART
,
DOCPOS_OTHEREND
,
DOCPOS_OTHERSTART
);
if
(
!
pWrtShell
->
SpellSentence
(
aRet
,
m_bIsGrammarCheckingOn
))
if
(
!
pWrtShell
->
SpellSentence
(
aRet
,
m_bIsGrammarCheckingOn
))
{
{
pWrtShell
->
SpellEnd
();
pWrtShell
->
SpellEnd
();
...
...
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