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
bf7240d0
Kaydet (Commit)
bf7240d0
authored
Eki 27, 2012
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: fdo#56473 IDE: Crash when inserting a simple macro
Change-Id: I7bb6fe0005b9afa2d853a13a30d5b0c48ba8bdf2
üst
cf0453d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
textwindowaccessibility.cxx
accessibility/source/extended/textwindowaccessibility.cxx
+8
-2
No files found.
accessibility/source/extended/textwindowaccessibility.cxx
Dosyayı görüntüle @
bf7240d0
...
...
@@ -2126,8 +2126,14 @@ void Document::notifySelectionChange( sal_Int32 nFirst, sal_Int32 nLast )
{
if
(
nFirst
<
nLast
)
{
Paragraphs
::
iterator
aEnd
(
::
std
::
min
(
m_xParagraphs
->
begin
()
+
nLast
,
m_aVisibleEnd
)
);
for
(
Paragraphs
::
iterator
aIt
=
::
std
::
max
(
m_xParagraphs
->
begin
()
+
nFirst
,
m_aVisibleBegin
);
aIt
<
aEnd
;
++
aIt
)
Paragraphs
::
iterator
aItBound1
=
m_xParagraphs
->
begin
();
for
(
sal_Int32
i
=
0
;
i
<
nLast
&&
aItBound1
!=
m_xParagraphs
->
end
()
;
++
aItBound1
);
Paragraphs
::
iterator
aEnd
(
::
std
::
min
(
aItBound1
,
m_aVisibleEnd
)
);
Paragraphs
::
iterator
aItBound2
=
m_xParagraphs
->
begin
();
for
(
sal_Int32
i
=
0
;
i
<
nFirst
&&
aItBound2
!=
m_xParagraphs
->
end
()
;
++
aItBound2
);
for
(
Paragraphs
::
iterator
aIt
=
::
std
::
max
(
aItBound2
,
m_aVisibleBegin
);
aIt
!=
aEnd
;
++
aIt
)
{
::
rtl
::
Reference
<
ParagraphImpl
>
xParagraph
(
getParagraph
(
aIt
)
);
if
(
xParagraph
.
is
()
)
...
...
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