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
9dba6d07
Kaydet (Commit)
9dba6d07
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 nXStart to sal_uInt16 instead of long
Change-Id: I19e846905bda86bb00826d337ee681b121c67407
üst
0b560a3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
numpages.cxx
cui/source/tabpages/numpages.cxx
+2
-2
No files found.
cui/source/tabpages/numpages.cxx
Dosyayı görüntüle @
9dba6d07
...
@@ -2357,7 +2357,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool
...
@@ -2357,7 +2357,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool
const
SvxNumberFormat
&
rFmt
=
pActNum
->
GetLevel
(
nLevel
);
const
SvxNumberFormat
&
rFmt
=
pActNum
->
GetLevel
(
nLevel
);
aNum
.
GetLevelVal
()[
nLevel
]
=
rFmt
.
GetStart
();
aNum
.
GetLevelVal
()[
nLevel
]
=
rFmt
.
GetStart
();
sal_uInt16
nXStart
(
0
);
long
nXStart
(
0
);
short
nTextOffset
(
0
);
short
nTextOffset
(
0
);
long
nNumberXPos
(
0
);
long
nNumberXPos
(
0
);
if
(
rFmt
.
GetPositionAndSpaceMode
()
==
SvxNumberFormat
::
LABEL_WIDTH_AND_POSITION
)
if
(
rFmt
.
GetPositionAndSpaceMode
()
==
SvxNumberFormat
::
LABEL_WIDTH_AND_POSITION
)
...
@@ -2458,7 +2458,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool
...
@@ -2458,7 +2458,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool
break
;
break
;
}
}
nXStart
=
static_cast
<
sal_uInt16
>
(
rFmt
.
GetIndentAt
()
/
nWidthRelation
)
;
nXStart
=
rFmt
.
GetIndentAt
()
/
nWidthRelation
;
}
}
::
tools
::
Rectangle
aRect1
(
Point
(
nTextXPos
,
nYStart
+
nFontHeight
/
2
),
Size
(
aSize
.
Width
()
/
2
,
2
));
::
tools
::
Rectangle
aRect1
(
Point
(
nTextXPos
,
nYStart
+
nFontHeight
/
2
),
Size
(
aSize
.
Width
()
/
2
,
2
));
...
...
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