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
4d322444
Kaydet (Commit)
4d322444
authored
Agu 26, 2014
tarafından
Takeshi Abe
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid possible memory leaks in case of exceptions
Change-Id: Ib4a87cab2729e18b2c830cbd7e7a34d62b5f0f45
üst
37b9ea92
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
11 deletions
+6
-11
optsolver.cxx
sc/source/ui/miscdlgs/optsolver.cxx
+2
-3
scripthandler.cxx
scripting/source/protocolhandler/scripthandler.cxx
+3
-6
textidx.cxx
sw/source/uibase/shells/textidx.cxx
+1
-2
No files found.
sc/source/ui/miscdlgs/optsolver.cxx
Dosyayı görüntüle @
4d322444
...
...
@@ -543,14 +543,13 @@ IMPL_LINK( ScOptSolverDlg, BtnHdl, PushButton*, pBtn )
else
if
(
pBtn
==
m_pBtnOpt
)
{
//! move options dialog to UI lib?
ScSolverOptionsDialog
*
pOptDlg
=
new
ScSolverOptionsDialog
(
this
,
maImplNames
,
maDescriptions
,
maEngine
,
maProperties
);
boost
::
scoped_ptr
<
ScSolverOptionsDialog
>
pOptDlg
(
new
ScSolverOptionsDialog
(
this
,
maImplNames
,
maDescriptions
,
maEngine
,
maProperties
)
)
;
if
(
pOptDlg
->
Execute
()
==
RET_OK
)
{
maEngine
=
pOptDlg
->
GetEngine
();
maProperties
=
pOptDlg
->
GetProperties
();
}
delete
pOptDlg
;
}
return
0
;
...
...
scripting/source/protocolhandler/scripthandler.cxx
Dosyayı görüntüle @
4d322444
...
...
@@ -273,14 +273,11 @@ void SAL_CALL ScriptProtocolHandler::dispatchWithNotification(
if
(
pFact
!=
NULL
)
{
VclAbstractDialog
*
pDlg
=
pFact
->
CreateScriptErrorDialog
(
NULL
,
aException
);
boost
::
scoped_ptr
<
VclAbstractDialog
>
pDlg
(
pFact
->
CreateScriptErrorDialog
(
NULL
,
aException
)
)
;
if
(
pDlg
!=
NULL
)
{
if
(
pDlg
)
pDlg
->
Execute
();
delete
pDlg
;
}
}
}
...
...
sw/source/uibase/shells/textidx.cxx
Dosyayı görüntüle @
4d322444
...
...
@@ -84,10 +84,9 @@ void SwTextShell::ExecIdx(SfxRequest &rReq)
{
// Several marks, which should it be?
SwAbstractDialogFactory
*
pFact
=
SwAbstractDialogFactory
::
Create
();
OSL_ENSURE
(
pFact
,
"Dialog creation failed!"
);
VclAbstractDialog
*
pMultDlg
=
pFact
->
CreateMultiTOXMarkDlg
(
pMDI
,
aMgr
);
boost
::
scoped_ptr
<
VclAbstractDialog
>
pMultDlg
(
pFact
->
CreateMultiTOXMarkDlg
(
pMDI
,
aMgr
)
);
OSL_ENSURE
(
pMultDlg
,
"Dialog creation failed!"
);
nRet
=
pMultDlg
->
Execute
();
delete
pMultDlg
;
}
if
(
nRet
==
RET_OK
)
{
...
...
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