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
3d652128
Kaydet (Commit)
3d652128
authored
Tem 31, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix memory leak around function descriptions
Found by Lsan. Change-Id: Ia443ed6eb2a20854998a615f3c2bd9fdac156a8c
üst
53e4b24c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
FormulaHelper.cxx
formula/source/ui/dlg/FormulaHelper.cxx
+3
-1
IFunctionDescription.hxx
include/formula/IFunctionDescription.hxx
+2
-3
No files found.
formula/source/ui/dlg/FormulaHelper.cxx
Dosyayı görüntüle @
3d652128
...
...
@@ -21,6 +21,8 @@
#include <unotools/charclass.hxx>
#include <unotools/syslocale.hxx>
#include <boost/scoped_ptr.hpp>
namespace
formula
{
...
...
@@ -91,7 +93,7 @@ bool FormulaHelper::GetNextFunc( const OUString& rFormula,
const
sal_uInt32
nCategoryCount
=
m_pFunctionManager
->
getCount
();
for
(
sal_uInt32
j
=
0
;
j
<
nCategoryCount
&&
!*
ppFDesc
;
++
j
)
{
const
IFunctionCategory
*
pCategory
=
m_pFunctionManager
->
getCategory
(
j
);
boost
::
scoped_ptr
<
const
IFunctionCategory
>
pCategory
(
m_pFunctionManager
->
getCategory
(
j
)
);
const
sal_uInt32
nCount
=
pCategory
->
getCount
();
for
(
sal_uInt32
i
=
0
;
i
<
nCount
;
++
i
)
{
...
...
include/formula/IFunctionDescription.hxx
Dosyayı görüntüle @
3d652128
...
...
@@ -60,7 +60,7 @@ namespace formula
~
IFunctionManager
()
{}
};
class
SAL_NO_VTABLE
IFunctionCategory
class
IFunctionCategory
{
public
:
IFunctionCategory
(){}
...
...
@@ -70,8 +70,7 @@ namespace formula
virtual
sal_uInt32
getNumber
()
const
=
0
;
virtual
OUString
getName
()
const
=
0
;
protected
:
~
IFunctionCategory
()
{}
virtual
~
IFunctionCategory
()
{}
};
class
SAL_NO_VTABLE
IFunctionDescription
...
...
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