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
041f2fb1
Kaydet (Commit)
041f2fb1
authored
Kas 14, 2012
tarafından
Michael Meeks
Kaydeden (comit)
Bjoern Michaelsen
Kas 14, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove redundant commented code.
Change-Id: Ia311bdd148cf4c346c187d3b37964b12cded1212
üst
6bea834b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
salmenu.hxx
vcl/inc/salmenu.hxx
+1
-1
menu.cxx
vcl/source/window/menu.cxx
+0
-3
No files found.
vcl/inc/salmenu.hxx
Dosyayı görüntüle @
041f2fb1
...
...
@@ -82,7 +82,7 @@ public:
virtual
bool
AddMenuBarButton
(
const
SalMenuButtonItem
&
);
// return false if not implemented or failure
virtual
void
RemoveMenuBarButton
(
sal_uInt16
nId
);
//
FIXME: Make the other VCL native backends to work with these new methods.
//
TODO: implement show/hide for the Win/Mac VCL native backends
virtual
void
ShowItem
(
unsigned
nPos
,
sal_Bool
bShow
)
{
EnableItem
(
nPos
,
bShow
);
}
// return an empty rectangle if not implemented
...
...
vcl/source/window/menu.cxx
Dosyayı görüntüle @
041f2fb1
...
...
@@ -1797,10 +1797,7 @@ void Menu::ShowItem( sal_uInt16 nItemId, sal_Bool bVisible )
pData
->
bVisible
=
bVisible
;
// update native menu
// as long as there is no support to hide native menu entries, we just disable them
// TODO: add support to show/hide native menu entries
if
(
ImplGetSalMenu
()
)
// ImplGetSalMenu()->EnableItem( nPos, bVisible );
ImplGetSalMenu
()
->
ShowItem
(
nPos
,
bVisible
);
}
}
...
...
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