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
4ce12cf8
Kaydet (Commit)
4ce12cf8
authored
Tem 03, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#738958 Unused pointer value
Change-Id: Ic0c7f1c3ccb17f11135facda9197f8dc82436549
üst
aa356e60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
impedit2.cxx
editeng/source/editeng/impedit2.cxx
+2
-3
No files found.
editeng/source/editeng/impedit2.cxx
Dosyayı görüntüle @
4ce12cf8
...
@@ -3303,12 +3303,11 @@ void ImpEditEngine::UpdateSelections()
...
@@ -3303,12 +3303,11 @@ void ImpEditEngine::UpdateSelections()
// taken into account!
// taken into account!
sal_Int32
nPara
=
rInf
.
GetPosition
();
sal_Int32
nPara
=
rInf
.
GetPosition
();
ParaPortion
*
pPPortion
=
GetParaPortions
().
SafeGetObject
(
nPara
);
ParaPortion
*
pPPortion
=
GetParaPortions
().
SafeGetObject
(
nPara
);
if
(
!
pPPortion
)
// Last paragraph
if
(
!
GetParaPortions
().
SafeGetObject
(
nPara
)
)
// Last paragraph
{
{
nPara
=
GetParaPortions
().
Count
()
-
1
;
nPara
=
GetParaPortions
().
Count
()
-
1
;
pPPortion
=
GetParaPortions
()[
nPara
];
}
}
OSL_ENSURE
(
pPPortion
,
"Empty Document in UpdateSelections ?"
);
assert
(
GetParaPortions
()[
nPara
]
&&
"Empty Document in UpdateSelections ?"
);
// Do not end up from a hidden paragraph:
// Do not end up from a hidden paragraph:
sal_Int32
nCurPara
=
nPara
;
sal_Int32
nCurPara
=
nPara
;
sal_Int32
nLastPara
=
GetParaPortions
().
Count
()
-
1
;
sal_Int32
nLastPara
=
GetParaPortions
().
Count
()
-
1
;
...
...
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