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
aa16ca73
Kaydet (Commit)
aa16ca73
authored
Nis 02, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: fdo#76905 long delay when changing font size from % to pt
Change-Id: I33d72b51536ab96653ccda64c6e058c497289327
üst
586612e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
ctrlbox.cxx
svtools/source/control/ctrlbox.cxx
+6
-3
No files found.
svtools/source/control/ctrlbox.cxx
Dosyayı görüntüle @
aa16ca73
...
...
@@ -1899,13 +1899,13 @@ void FontSizeBox::SetRelative( bool bNewRelative )
if
(
bPtRelative
)
{
Clear
();
//clear early because SetDecimalDigits is a slow recalc
SetDecimalDigits
(
1
);
SetMin
(
nPtRelMin
);
SetMax
(
nPtRelMax
);
SetUnit
(
FUNIT_POINT
);
Clear
();
short
i
=
nPtRelMin
,
n
=
0
;
// JP 30.06.98: more than 100 values are not useful
while
(
i
<=
nPtRelMax
&&
n
++
<
100
)
...
...
@@ -1916,12 +1916,13 @@ void FontSizeBox::SetRelative( bool bNewRelative )
}
else
{
Clear
();
//clear early because SetDecimalDigits is a slow recalc
SetDecimalDigits
(
0
);
SetMin
(
nRelMin
);
SetMax
(
nRelMax
);
SetUnit
(
FUNIT_PERCENT
);
Clear
();
sal_uInt16
i
=
nRelMin
;
while
(
i
<=
nRelMax
)
{
...
...
@@ -1932,6 +1933,8 @@ void FontSizeBox::SetRelative( bool bNewRelative )
}
else
{
if
(
pFontList
)
Clear
();
//clear early because SetDecimalDigits is a slow recalc
bRelative
=
bPtRelative
=
false
;
SetDecimalDigits
(
1
);
SetMin
(
20
);
...
...
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