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
23eb3939
Kaydet (Commit)
23eb3939
authored
Agu 19, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: fdo#39026 SfxPickList singleton wasn't instantiated
üst
1c923dc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
appinit.cxx
sfx2/source/appl/appinit.cxx
+4
-0
sfxpicklist.hxx
sfx2/source/inc/sfxpicklist.hxx
+1
-0
No files found.
sfx2/source/appl/appinit.cxx
Dosyayı görüntüle @
23eb3939
...
...
@@ -267,6 +267,10 @@ bool SfxApplication::Initialize_Impl()
pAppData_Impl
->
m_pSbxErrorHdl
=
new
SfxErrorHandler
(
RID_BASIC_START
,
ERRCODE_AREA_SBX
,
ERRCODE_AREA_SBX_END
,
pAppData_Impl
->
pBasicResMgr
);
//ensure instantiation of listener that manages the internal recently-used
//list
SfxPickList
::
ensure
();
DBG_ASSERT
(
!
pAppData_Impl
->
pAppDispat
,
"AppDispatcher already exists"
);
pAppData_Impl
->
pAppDispat
=
new
SfxDispatcher
((
SfxDispatcher
*
)
0
);
pAppData_Impl
->
pSlotPool
=
new
SfxSlotPool
;
...
...
sfx2/source/inc/sfxpicklist.hxx
Dosyayı görüntüle @
23eb3939
...
...
@@ -68,6 +68,7 @@ class SfxPickList : public SfxListener
public
:
static
SfxPickList
&
Get
();
static
void
ensure
()
{
Get
();
}
sal_uInt32
GetAllowedMenuSize
()
{
return
m_nAllowedMenuSize
;
}
sal_uInt32
GetNumOfEntries
()
const
{
return
m_aPicklistVector
.
size
();
}
...
...
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