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
c5e114c0
Kaydet (Commit)
c5e114c0
authored
May 19, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
valgrind: memory leak
Change-Id: Ica30df49caf79117bbce36ec461ec5ef37bef20c
üst
48ea499a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
fltfnc.cxx
sfx2/source/bastyp/fltfnc.cxx
+20
-4
No files found.
sfx2/source/bastyp/fltfnc.cxx
Dosyayı görüntüle @
c5e114c0
...
@@ -112,7 +112,25 @@ using namespace com::sun::star;
...
@@ -112,7 +112,25 @@ using namespace com::sun::star;
namespace
namespace
{
{
class
theSfxFilterListener
:
public
rtl
::
Static
<
SfxFilterListener
,
theSfxFilterListener
>
{};
class
theSfxFilterListener
:
public
rtl
::
Static
<
SfxFilterListener
,
theSfxFilterListener
>
{};
class
theSfxFilterArray
:
public
rtl
::
Static
<
SfxFilterList_Impl
,
theSfxFilterArray
>
{};
class
SfxFilterArray
{
SfxFilterList_Impl
aList
;
public
:
~
SfxFilterArray
()
{
SfxFilterList_Impl
::
iterator
aEnd
=
aList
.
end
();
for
(
SfxFilterList_Impl
::
iterator
aI
=
aList
.
begin
();
aI
!=
aEnd
;
++
aI
)
{
SfxFilter
*
pFilter
=
*
aI
;
delete
pFilter
;
}
}
SfxFilterList_Impl
*
getList
()
{
return
&
aList
;
}
};
class
theSfxFilterArray
:
public
rtl
::
Static
<
SfxFilterArray
,
theSfxFilterArray
>
{};
}
}
static
SfxFilterList_Impl
*
pFilterArr
=
0
;
static
SfxFilterList_Impl
*
pFilterArr
=
0
;
...
@@ -120,17 +138,15 @@ static bool bFirstRead = true;
...
@@ -120,17 +138,15 @@ static bool bFirstRead = true;
static
void
CreateFilterArr
()
static
void
CreateFilterArr
()
{
{
pFilterArr
=
&
theSfxFilterArray
::
ge
t
();
pFilterArr
=
theSfxFilterArray
::
get
().
getLis
t
();
theSfxFilterListener
::
get
();
theSfxFilterListener
::
get
();
}
}
inline
OUString
ToUpper_Impl
(
const
OUString
&
rStr
)
inline
OUString
ToUpper_Impl
(
const
OUString
&
rStr
)
{
{
return
SvtSysLocale
().
GetCharClass
().
uppercase
(
rStr
);
return
SvtSysLocale
().
GetCharClass
().
uppercase
(
rStr
);
}
}
class
SfxFilterContainer_Impl
class
SfxFilterContainer_Impl
{
{
public
:
public
:
...
...
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