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
019458b1
Kaydet (Commit)
019458b1
authored
Şub 18, 2012
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
partial revert of unused code removal, and add LINUX guards
üst
140c90f4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
mnuitem.hxx
sfx2/inc/sfx2/mnuitem.hxx
+1
-0
mnuitem.cxx
sfx2/source/menu/mnuitem.cxx
+8
-0
lazydelete.cxx
vcl/source/helper/lazydelete.cxx
+10
-0
No files found.
sfx2/inc/sfx2/mnuitem.hxx
Dosyayı görüntüle @
019458b1
...
...
@@ -56,6 +56,7 @@ public:
SfxMenuControl
(
sal_uInt16
,
SfxBindings
&
);
static
SfxMenuControl
*
CreateImpl
(
sal_uInt16
nId
,
Menu
&
rMenu
,
SfxBindings
&
rBindings
);
static
void
RegisterControl
(
sal_uInt16
nSlotId
=
0
,
SfxModule
*
pMod
=
NULL
);
~
SfxMenuControl
();
...
...
sfx2/source/menu/mnuitem.cxx
Dosyayı görüntüle @
019458b1
...
...
@@ -246,6 +246,14 @@ SfxMenuControl* SfxMenuControl::CreateImpl( sal_uInt16 /*nId*/, Menu& /*rMenu*/,
return
new
SfxMenuControl
(
sal_True
);
}
#ifndef LINUX
void
SfxMenuControl
::
RegisterControl
(
sal_uInt16
nSlotId
,
SfxModule
*
pMod
)
{
RegisterMenuControl
(
pMod
,
new
SfxMenuCtrlFactory
(
SfxMenuControl
::
CreateImpl
,
TYPE
(
SfxStringItem
),
nSlotId
)
);
}
#endif
//--------------------------------------------------------------------
void
SfxMenuControl
::
RegisterMenuControl
(
SfxModule
*
pMod
,
SfxMenuCtrlFactory
*
pFact
)
{
...
...
vcl/source/helper/lazydelete.cxx
Dosyayı görüntüle @
019458b1
...
...
@@ -70,6 +70,16 @@ template<> bool LazyDeletor<Window>::is_less( Window* left, Window* right )
return
(
left
!=
right
&&
right
->
IsChild
(
left
,
sal_True
))
?
true
:
false
;
}
#ifndef LINUX
// specialized is_less function for Menu
template
<>
bool
LazyDeletor
<
Menu
>::
is_less
(
Menu
*
left
,
Menu
*
right
)
{
while
(
left
&&
left
!=
right
)
left
=
left
->
ImplGetStartedFrom
();
return
left
!=
NULL
;
}
#endif
DeleteOnDeinitBase
::~
DeleteOnDeinitBase
()
{
ImplSVData
*
pSVData
=
ImplGetSVData
();
...
...
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