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
0c316e70
Kaydet (Commit)
0c316e70
authored
Şub 15, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity: fix memory leak
Change-Id: Ie7ba893ed08ca6ba0083db20e4c887866d0b6642
üst
8063ede1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
viewfun4.cxx
sc/source/ui/view/viewfun4.cxx
+2
-4
No files found.
sc/source/ui/view/viewfun4.cxx
Dosyayı görüntüle @
0c316e70
...
...
@@ -315,7 +315,7 @@ void ScViewFunc::DoThesaurus( sal_Bool bRecord )
const
EditTextObject
*
pTObject
=
NULL
;
ScBaseCell
*
pCell
=
NULL
;
EditView
*
pEditView
=
NULL
;
ESelection
*
pEditSel
=
NULL
;
boost
::
scoped_ptr
<
ESelection
>
pEditSel
;
ScEditEngineDefaulter
*
pThesaurusEngine
;
sal_Bool
bIsEditMode
=
GetViewData
()
->
HasEditView
(
eWhich
);
if
(
bRecord
&&
!
pDoc
->
IsUndoEnabled
())
...
...
@@ -323,7 +323,7 @@ void ScViewFunc::DoThesaurus( sal_Bool bRecord )
if
(
bIsEditMode
)
// Edit-Mode aktiv
{
GetViewData
()
->
GetEditView
(
eWhich
,
pEditView
,
nCol
,
nRow
);
pEditSel
=
new
ESelection
(
pEditView
->
GetSelection
(
));
pEditSel
.
reset
(
new
ESelection
(
pEditView
->
GetSelection
()
));
SC_MOD
()
->
InputEnterHandler
();
GetViewData
()
->
GetBindings
().
Update
();
// sonst kommt der Sfx durcheinander...
}
...
...
@@ -338,7 +338,6 @@ void ScViewFunc::DoThesaurus( sal_Bool bRecord )
if
(
!
aTester
.
IsEditable
())
{
ErrorMessage
(
aTester
.
GetMessageId
());
delete
pEditSel
;
return
;
}
pDoc
->
GetCellType
(
nCol
,
nRow
,
nTab
,
eCellType
);
...
...
@@ -440,7 +439,6 @@ void ScViewFunc::DoThesaurus( sal_Bool bRecord )
delete
pEditDefaults
;
delete
pThesaurusEngine
;
delete
pOldTObj
;
delete
pEditSel
;
pDocSh
->
PostPaintGridAll
();
}
...
...
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