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
2855009f
Kaydet (Commit)
2855009f
authored
Eyl 19, 2012
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SwCrsrShell::Combine: this can be assert
Change-Id: Ia23804f213f80f4b31f1e31491dfc87d2d49f46a
üst
af4b6c94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
crsrsh.cxx
sw/source/core/crsr/crsrsh.cxx
+6
-7
No files found.
sw/source/core/crsr/crsrsh.cxx
Dosyayı görüntüle @
2855009f
...
...
@@ -1987,13 +1987,10 @@ void SwCrsrShell::Combine()
// rhbz#689053: IsSelOvr must restore the saved stack position, not the
// current one, because current point + stack mark may be invalid PaM
SwCrsrSaveState
aSaveState
(
*
pCrsrStk
);
if
(
pCrsrStk
->
HasMark
()
)
// only if GetMark was set
{
bool
const
bResult
=
CheckNodesRange
(
pCrsrStk
->
GetMark
()
->
nNode
,
pCurCrsr
->
GetPoint
()
->
nNode
,
sal_True
);
OSL_ENSURE
(
bResult
,
"StackCrsr & current Crsr not in same Section."
);
(
void
)
bResult
;
// non-debug: unused
}
// stack cursor & current cursor in same Section?
assert
(
!
pCrsrStk
->
HasMark
()
||
CheckNodesRange
(
pCrsrStk
->
GetMark
()
->
nNode
,
pCurCrsr
->
GetPoint
()
->
nNode
,
true
));
*
pCrsrStk
->
GetPoint
()
=
*
pCurCrsr
->
GetPoint
();
pCrsrStk
->
GetPtPos
()
=
pCurCrsr
->
GetPtPos
();
...
...
@@ -2009,7 +2006,9 @@ void SwCrsrShell::Combine()
if
(
!
pCurCrsr
->
IsInProtectTable
(
sal_True
)
&&
!
pCurCrsr
->
IsSelOvr
(
nsSwCursorSelOverFlags
::
SELOVER_TOGGLE
|
nsSwCursorSelOverFlags
::
SELOVER_CHANGEPOS
)
)
{
UpdateCrsr
();
// update current cursor
}
}
...
...
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