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
25b11683
Kaydet (Commit)
25b11683
authored
May 01, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uInt16 to sal_uInt32/size_t + constify
Change-Id: I948990f551b4096aa5575090315ab66fc4eb368d
üst
8481a0bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
viewsh.cxx
sw/source/core/view/viewsh.cxx
+6
-6
No files found.
sw/source/core/view/viewsh.cxx
Dosyayı görüntüle @
25b11683
...
@@ -964,8 +964,8 @@ void SwViewShell::SizeChgNotify()
...
@@ -964,8 +964,8 @@ void SwViewShell::SizeChgNotify()
const
SwPageFrm
*
pPage
;
const
SwPageFrm
*
pPage
;
if
(
pCnt
&&
0
!=
(
pPage
=
pCnt
->
FindPageFrm
())
)
if
(
pCnt
&&
0
!=
(
pPage
=
pCnt
->
FindPageFrm
())
)
{
{
sal_uInt16
nVirtNum
=
pPage
->
GetVirtPageNum
();
const
sal_uInt16
nVirtNum
=
pPage
->
GetVirtPageNum
();
const
SvxNumberType
&
rNum
=
pPage
->
GetPageDesc
()
->
GetNumType
();
const
SvxNumberType
&
rNum
=
pPage
->
GetPageDesc
()
->
GetNumType
();
OUString
sDisplay
=
rNum
.
GetNumStr
(
nVirtNum
);
OUString
sDisplay
=
rNum
.
GetNumStr
(
nVirtNum
);
PageNumNotify
(
this
,
pCnt
->
GetPhyPageNum
(),
nVirtNum
,
sDisplay
);
PageNumNotify
(
this
,
pCnt
->
GetPhyPageNum
(),
nVirtNum
,
sDisplay
);
}
}
...
@@ -1073,7 +1073,7 @@ void SwViewShell::VisPortChgd( const SwRect &rRect)
...
@@ -1073,7 +1073,7 @@ void SwViewShell::VisPortChgd( const SwRect &rRect)
{
{
const
long
nOfst
=
GetOut
()
->
PixelToLogic
(
const
long
nOfst
=
GetOut
()
->
PixelToLogic
(
Size
(
Imp
()
->
GetDrawView
()
->
GetMarkHdlSizePixel
()
/
2
,
0
)).
Width
();
Size
(
Imp
()
->
GetDrawView
()
->
GetMarkHdlSizePixel
()
/
2
,
0
)).
Width
();
for
(
sal_uInt
16
i
=
0
;
for
(
sal_uInt
32
i
=
0
;
i
<
pPage
->
GetSortedObjs
()
->
Count
();
++
i
)
i
<
pPage
->
GetSortedObjs
()
->
Count
();
++
i
)
{
{
SwAnchoredObject
*
pObj
=
(
*
pPage
->
GetSortedObjs
())[
i
];
SwAnchoredObject
*
pObj
=
(
*
pPage
->
GetSortedObjs
())[
i
];
...
@@ -1555,7 +1555,7 @@ bool SwViewShell::CheckInvalidForPaint( const SwRect &rRect )
...
@@ -1555,7 +1555,7 @@ bool SwViewShell::CheckInvalidForPaint( const SwRect &rRect )
{
{
//only of interest when something has changed in the visible range
//only of interest when something has changed in the visible range
bool
bStop
=
true
;
bool
bStop
=
true
;
for
(
s
al_uInt16
i
=
0
;
i
<
pRegion
->
size
();
++
i
)
for
(
s
ize_t
i
=
0
;
i
<
pRegion
->
size
();
++
i
)
{
{
const
SwRect
&
rTmp
=
(
*
pRegion
)[
i
];
const
SwRect
&
rTmp
=
(
*
pRegion
)[
i
];
if
(
false
==
(
bStop
=
rTmp
.
IsOver
(
VisArea
()
))
)
if
(
false
==
(
bStop
=
rTmp
.
IsOver
(
VisArea
()
))
)
...
@@ -1577,7 +1577,7 @@ bool SwViewShell::CheckInvalidForPaint( const SwRect &rRect )
...
@@ -1577,7 +1577,7 @@ bool SwViewShell::CheckInvalidForPaint( const SwRect &rRect )
if
(
!
pRegion
->
empty
()
)
if
(
!
pRegion
->
empty
()
)
{
{
SwRegionRects
aRegion
(
rRect
);
SwRegionRects
aRegion
(
rRect
);
for
(
s
al_uInt16
i
=
0
;
i
<
pRegion
->
size
();
++
i
)
for
(
s
ize_t
i
=
0
;
i
<
pRegion
->
size
();
++
i
)
{
const
SwRect
&
rTmp
=
(
*
pRegion
)[
i
];
{
const
SwRect
&
rTmp
=
(
*
pRegion
)[
i
];
if
(
!
rRect
.
IsInside
(
rTmp
)
)
if
(
!
rRect
.
IsInside
(
rTmp
)
)
{
{
...
@@ -1590,7 +1590,7 @@ bool SwViewShell::CheckInvalidForPaint( const SwRect &rRect )
...
@@ -1590,7 +1590,7 @@ bool SwViewShell::CheckInvalidForPaint( const SwRect &rRect )
}
}
if
(
bRet
)
if
(
bRet
)
{
{
for
(
s
al_uInt16
i
=
0
;
i
<
aRegion
.
size
();
++
i
)
for
(
s
ize_t
i
=
0
;
i
<
aRegion
.
size
();
++
i
)
GetWin
()
->
Invalidate
(
aRegion
[
i
].
SVRect
()
);
GetWin
()
->
Invalidate
(
aRegion
[
i
].
SVRect
()
);
if
(
rRect
!=
VisArea
()
)
if
(
rRect
!=
VisArea
()
)
...
...
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