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
b566f08a
Kaydet (Commit)
b566f08a
authored
Eki 22, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ImplCalcSize etc can be const
Change-Id: Idd1e33b6da8be9575e74701735f0dbc742849c07
üst
7e322f2d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
menu.hxx
include/vcl/menu.hxx
+2
-2
menu.cxx
vcl/source/window/menu.cxx
+2
-2
No files found.
include/vcl/menu.hxx
Dosyayı görüntüle @
b566f08a
...
...
@@ -148,7 +148,7 @@ protected:
SAL_DLLPRIVATE
Menu
*
ImplGetStartMenu
();
SAL_DLLPRIVATE
Menu
*
ImplFindSelectMenu
();
SAL_DLLPRIVATE
Menu
*
ImplFindMenu
(
sal_uInt16
nId
);
SAL_DLLPRIVATE
Size
ImplCalcSize
(
Window
*
pWin
);
SAL_DLLPRIVATE
Size
ImplCalcSize
(
const
Window
*
pWin
);
SAL_DLLPRIVATE
sal_Bool
ImplIsVisible
(
sal_uInt16
nPos
)
const
;
SAL_DLLPRIVATE
sal_Bool
ImplIsSelectable
(
sal_uInt16
nPos
)
const
;
SAL_DLLPRIVATE
sal_uInt16
ImplGetVisibleItemCount
()
const
;
...
...
@@ -168,7 +168,7 @@ protected:
// returns native check and option menu symbol height in rCheckHeight and rRadioHeight
// return value is maximum width and height of checkboxes and radiobuttons
SAL_DLLPRIVATE
Size
ImplGetNativeCheckAndRadioSize
(
Window
*
,
long
&
rCheckHeight
,
long
&
rRadioHeight
)
const
;
SAL_DLLPRIVATE
Size
ImplGetNativeCheckAndRadioSize
(
const
Window
*
,
long
&
rCheckHeight
,
long
&
rRadioHeight
)
const
;
// returns native submenu arrow size and spacing from right border
// return value is whether it's supported natively
...
...
vcl/source/window/menu.cxx
Dosyayı görüntüle @
b566f08a
...
...
@@ -2252,7 +2252,7 @@ void Menu::SetAccessible( const ::com::sun::star::uno::Reference< ::com::sun::st
mxAccessible
=
rxAccessible
;
}
Size
Menu
::
ImplGetNativeCheckAndRadioSize
(
Window
*
pWin
,
long
&
rCheckHeight
,
long
&
rRadioHeight
)
const
Size
Menu
::
ImplGetNativeCheckAndRadioSize
(
const
Window
*
pWin
,
long
&
rCheckHeight
,
long
&
rRadioHeight
)
const
{
long
nCheckWidth
=
0
,
nRadioWidth
=
0
;
rCheckHeight
=
rRadioHeight
=
0
;
...
...
@@ -2367,7 +2367,7 @@ void Menu::ImplRemoveDel( ImplMenuDelData& rDel )
// -----------------------------------------------------------------------
Size
Menu
::
ImplCalcSize
(
Window
*
pWin
)
Size
Menu
::
ImplCalcSize
(
const
Window
*
pWin
)
{
// | Check/Radio/Image| Text| Accel/Popup|
...
...
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