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
d6020179
Kaydet (Commit)
d6020179
authored
Mar 20, 2014
tarafından
Armin Le Grand
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i124425 corrected SvxMetricField::Down() behaviour
üst
bd17b89d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
itemwin.cxx
svx/source/tbxctrls/itemwin.cxx
+17
-3
No files found.
svx/source/tbxctrls/itemwin.cxx
Dosyayı görüntüle @
d6020179
...
...
@@ -544,12 +544,26 @@ void SvxMetricField::ReleaseFocus_Impl()
void
SvxMetricField
::
Down
()
{
sal_Int64
nValue
=
GetValue
();
nValue
-=
GetSpinSize
();
// #124425# make the OS2 case OS2-only (if still needed); under
// non-OS2 it prevents the value to go to zero on down presses,
// s do not use there. Also added a fix for OS2, but could not test
#ifdef OS2
const
sal_Int64
nValue
(
GetValue
()
-
GetSpinSize
());
//
Um unter OS/2 einen Sprung auf Max zu verhindern
//
prevent a jump to spin max on OS2
if
(
nValue
>=
GetMin
()
)
{
MetricField
::
Down
();
}
else
if
(
nValue
<
GetMin
()
)
{
// still set to GetMin() when spin min is reached
SetMetricValue
(
*
this
,
GetMin
(),
ePoolUnit
);
}
#else
MetricField
::
Down
();
#endif
}
// -----------------------------------------------------------------------
...
...
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