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
a7a9919b
Kaydet (Commit)
a7a9919b
authored
Ock 30, 2018
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
No apparent reason to limit nYStart to sal_uInt16 instead of long
Change-Id: I471eca407cb45daba62d679c8c43fb37d98dd762
üst
1ad38d06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
numpages.cxx
cui/source/tabpages/numpages.cxx
+1
-1
No files found.
cui/source/tabpages/numpages.cxx
Dosyayı görüntüle @
a7a9919b
...
@@ -2325,7 +2325,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool
...
@@ -2325,7 +2325,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool
sal_uInt16
nXStep
=
sal
::
static_int_cast
<
sal_uInt16
>
(
aSize
.
Width
()
/
(
3
*
pActNum
->
GetLevelCount
()));
sal_uInt16
nXStep
=
sal
::
static_int_cast
<
sal_uInt16
>
(
aSize
.
Width
()
/
(
3
*
pActNum
->
GetLevelCount
()));
if
(
pActNum
->
GetLevelCount
()
<
10
)
if
(
pActNum
->
GetLevelCount
()
<
10
)
nXStep
/=
2
;
nXStep
/=
2
;
sal_uInt16
nYStart
=
4
;
long
nYStart
=
4
;
// the whole height mustn't be used for a single level
// the whole height mustn't be used for a single level
sal_uInt16
nYStep
=
sal
::
static_int_cast
<
sal_uInt16
>
((
aSize
.
Height
()
-
6
)
/
(
pActNum
->
GetLevelCount
()
>
1
?
pActNum
->
GetLevelCount
()
:
5
));
sal_uInt16
nYStep
=
sal
::
static_int_cast
<
sal_uInt16
>
((
aSize
.
Height
()
-
6
)
/
(
pActNum
->
GetLevelCount
()
>
1
?
pActNum
->
GetLevelCount
()
:
5
));
...
...
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