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
cb27a805
Kaydet (Commit)
cb27a805
authored
Nis 19, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SfxHelp leaks, make sure it goes away at the right time
üst
c6e5c7ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
app.cxx
sfx2/source/appl/app.cxx
+6
-1
No files found.
sfx2/source/appl/app.cxx
Dosyayı görüntüle @
cb27a805
...
@@ -153,6 +153,7 @@ using namespace ::com::sun::star;
...
@@ -153,6 +153,7 @@ using namespace ::com::sun::star;
// Static member
// Static member
SfxApplication
*
SfxApplication
::
pApp
=
NULL
;
SfxApplication
*
SfxApplication
::
pApp
=
NULL
;
static
BasicDLL
*
pBasic
=
NULL
;
static
BasicDLL
*
pBasic
=
NULL
;
static
SfxHelp
*
pSfxHelp
=
NULL
;
class
SfxPropertyHandler
:
public
PropertyHandler
class
SfxPropertyHandler
:
public
PropertyHandler
{
{
...
@@ -305,7 +306,6 @@ SfxApplication* SfxApplication::GetOrCreate()
...
@@ -305,7 +306,6 @@ SfxApplication* SfxApplication::GetOrCreate()
::
framework
::
SetIsDockingWindowVisible
(
IsDockingWindowVisible
);
::
framework
::
SetIsDockingWindowVisible
(
IsDockingWindowVisible
);
::
framework
::
SetActivateToolPanel
(
&
SfxViewFrame
::
ActivateToolPanel
);
::
framework
::
SetActivateToolPanel
(
&
SfxViewFrame
::
ActivateToolPanel
);
SfxHelp
*
pSfxHelp
=
new
SfxHelp
;
Application
::
SetHelp
(
pSfxHelp
);
Application
::
SetHelp
(
pSfxHelp
);
if
(
SvtHelpOptions
().
IsHelpTips
()
)
if
(
SvtHelpOptions
().
IsHelpTips
()
)
Help
::
EnableQuickHelp
();
Help
::
EnableQuickHelp
();
...
@@ -351,6 +351,8 @@ SfxApplication::SfxApplication()
...
@@ -351,6 +351,8 @@ SfxApplication::SfxApplication()
#endif
#endif
#endif
#endif
pSfxHelp
=
new
SfxHelp
;
pBasic
=
new
BasicDLL
;
pBasic
=
new
BasicDLL
;
StarBASIC
::
SetGlobalErrorHdl
(
LINK
(
this
,
SfxApplication
,
GlobalBasicErrorHdl_Impl
)
);
StarBASIC
::
SetGlobalErrorHdl
(
LINK
(
this
,
SfxApplication
,
GlobalBasicErrorHdl_Impl
)
);
RTL_LOGFILE_CONTEXT_TRACE
(
aLog
,
"} initialize DDE"
);
RTL_LOGFILE_CONTEXT_TRACE
(
aLog
,
"} initialize DDE"
);
...
@@ -364,6 +366,9 @@ SfxApplication::~SfxApplication()
...
@@ -364,6 +366,9 @@ SfxApplication::~SfxApplication()
SfxModule
::
DestroyModules_Impl
();
SfxModule
::
DestroyModules_Impl
();
delete
pSfxHelp
;
Application
::
SetHelp
(
NULL
);
// delete global options
// delete global options
SvtViewOptions
::
ReleaseOptions
();
SvtViewOptions
::
ReleaseOptions
();
delete
pBasic
;
delete
pBasic
;
...
...
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