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
402ae4c0
Kaydet (Commit)
402ae4c0
authored
Mar 26, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert ProminentEntry to enum class
Change-Id: I51578e83a6a44beece174792c9e3e59f7f8c5fef
üst
28c61871
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
wintypes.hxx
include/tools/wintypes.hxx
+1
-1
ctrlbox.cxx
svtools/source/control/ctrlbox.cxx
+1
-1
ilstbox.cxx
vcl/source/control/ilstbox.cxx
+2
-2
No files found.
include/tools/wintypes.hxx
Dosyayı görüntüle @
402ae4c0
...
@@ -312,7 +312,7 @@ typedef sal_uInt16 StandardButtonType;
...
@@ -312,7 +312,7 @@ typedef sal_uInt16 StandardButtonType;
// prominent place for ListBox window types
// prominent place for ListBox window types
enum
ProminentEntry
{
PROMINENT_TOP
,
PROMINENT_
MIDDLE
};
enum
class
ProminentEntry
{
TOP
,
MIDDLE
};
#endif
#endif
...
...
svtools/source/control/ctrlbox.cxx
Dosyayı görüntüle @
402ae4c0
...
@@ -1530,7 +1530,7 @@ void FontSizeBox::ImplInit()
...
@@ -1530,7 +1530,7 @@ void FontSizeBox::ImplInit()
SetDecimalDigits
(
1
);
SetDecimalDigits
(
1
);
SetMin
(
20
);
SetMin
(
20
);
SetMax
(
9999
);
SetMax
(
9999
);
SetProminentEntryType
(
P
ROMINENT_
MIDDLE
);
SetProminentEntryType
(
P
rominentEntry
::
MIDDLE
);
}
}
void
FontSizeBox
::
Reformat
()
void
FontSizeBox
::
Reformat
()
...
...
vcl/source/control/ilstbox.cxx
Dosyayı görüntüle @
402ae4c0
...
@@ -524,7 +524,7 @@ ImplListBoxWindow::ImplListBoxWindow( vcl::Window* pParent, WinBits nWinStyle )
...
@@ -524,7 +524,7 @@ ImplListBoxWindow::ImplListBoxWindow( vcl::Window* pParent, WinBits nWinStyle )
mnCurrentPos
=
LISTBOX_ENTRY_NOTFOUND
;
mnCurrentPos
=
LISTBOX_ENTRY_NOTFOUND
;
mnTrackingSaveSelection
=
LISTBOX_ENTRY_NOTFOUND
;
mnTrackingSaveSelection
=
LISTBOX_ENTRY_NOTFOUND
;
mnSeparatorPos
=
LISTBOX_ENTRY_NOTFOUND
;
mnSeparatorPos
=
LISTBOX_ENTRY_NOTFOUND
;
meProminentType
=
P
ROMINENT_
TOP
;
meProminentType
=
P
rominentEntry
::
TOP
;
SetLineColor
();
SetLineColor
();
SetTextFillColor
();
SetTextFillColor
();
...
@@ -1992,7 +1992,7 @@ void ImplListBoxWindow::SetTopEntry( sal_Int32 nTop )
...
@@ -1992,7 +1992,7 @@ void ImplListBoxWindow::SetTopEntry( sal_Int32 nTop )
void
ImplListBoxWindow
::
ShowProminentEntry
(
sal_Int32
nEntryPos
)
void
ImplListBoxWindow
::
ShowProminentEntry
(
sal_Int32
nEntryPos
)
{
{
if
(
meProminentType
==
P
ROMINENT_
MIDDLE
)
if
(
meProminentType
==
P
rominentEntry
::
MIDDLE
)
{
{
sal_Int32
nPos
=
nEntryPos
;
sal_Int32
nPos
=
nEntryPos
;
long
nWHeight
=
PixelToLogic
(
GetSizePixel
()
).
Height
();
long
nWHeight
=
PixelToLogic
(
GetSizePixel
()
).
Height
();
...
...
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