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
215d0764
Kaydet (Commit)
215d0764
authored
May 17, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
valgrind: remove leaks
üst
3f547089
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
appinit.cxx
sfx2/source/appl/appinit.cxx
+4
-5
appquit.cxx
sfx2/source/appl/appquit.cxx
+5
-0
No files found.
sfx2/source/appl/appinit.cxx
Dosyayı görüntüle @
215d0764
...
@@ -257,17 +257,16 @@ bool SfxApplication::Initialize_Impl()
...
@@ -257,17 +257,16 @@ bool SfxApplication::Initialize_Impl()
// not processed are given to SFX as Errorcode 1.
// not processed are given to SFX as Errorcode 1.
new
SimpleErrorHandler
;
new
SimpleErrorHandler
;
#endif
#endif
new
SfxErrorHandler
(
RID_ERRHDL
,
ERRCODE_AREA_TOOLS
,
ERRCODE_AREA_LIB1
);
pAppData_Impl
->
m_pToolsErrorHdl
=
new
SfxErrorHandler
(
RID_ERRHDL
,
ERRCODE_AREA_TOOLS
,
ERRCODE_AREA_LIB1
);
new
SfxErrorHandler
(
pAppData_Impl
->
m_pSoErrorHdl
=
new
SfxErrorHandler
(
RID_SO_ERROR_HANDLER
,
ERRCODE_AREA_SO
,
ERRCODE_AREA_SO_END
);
RID_SO_ERROR_HANDLER
,
ERRCODE_AREA_SO
,
ERRCODE_AREA_SO_END
);
new
SfxErrorHandler
(
pAppData_Impl
->
m_pSbxErrorHdl
=
new
SfxErrorHandler
(
RID_BASIC_START
,
ERRCODE_AREA_SBX
,
ERRCODE_AREA_SBX_END
);
RID_BASIC_START
,
ERRCODE_AREA_SBX
,
ERRCODE_AREA_SBX_END
);
// diverse Pointer
// diverse Pointer
SfxPickList
::
GetOrCreate
(
SvtHistoryOptions
().
GetSize
(
ePICKLIST
)
);
SfxPickList
::
GetOrCreate
(
SvtHistoryOptions
().
GetSize
(
ePICKLIST
)
);
DBG_ASSERT
(
!
pAppData_Impl
->
pAppDispat
,
"AppDispatcher already exists"
);
DBG_ASSERT
(
!
pAppData_Impl
->
pAppDispat
,
"AppDispatcher already exists"
);
pAppData_Impl
->
pAppDispat
=
new
SfxDispatcher
((
SfxDispatcher
*
)
0
);
pAppData_Impl
->
pAppDispat
=
new
SfxDispatcher
((
SfxDispatcher
*
)
0
);
pAppData_Impl
->
pSlotPool
=
new
SfxSlotPool
;
pAppData_Impl
->
pSlotPool
=
new
SfxSlotPool
;
...
...
sfx2/source/appl/appquit.cxx
Dosyayı görüntüle @
215d0764
...
@@ -154,6 +154,11 @@ void SfxApplication::Deinitialize()
...
@@ -154,6 +154,11 @@ void SfxApplication::Deinitialize()
//TODO/CLEANTUP
//TODO/CLEANTUP
//ReleaseArgs could be used instead!
//ReleaseArgs could be used instead!
pAppData_Impl
->
pPool
=
NULL
;
pAppData_Impl
->
pPool
=
NULL
;
NoChaos
::
ReleaseItemPool
();
delete
pAppData_Impl
->
m_pSbxErrorHdl
;
delete
pAppData_Impl
->
m_pSoErrorHdl
;
delete
pAppData_Impl
->
m_pToolsErrorHdl
;
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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