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
ba0498a6
Kaydet (Commit)
ba0498a6
authored
Eyl 03, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use more suitable integer types, avoid conversions, constify
Change-Id: I6b7a3b763ea3e2dc6d327c61668fa413fbc60a07
üst
aaa5ed55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
frmcrsr.cxx
sw/source/core/text/frmcrsr.cxx
+3
-3
frmpaint.cxx
sw/source/core/text/frmpaint.cxx
+2
-2
No files found.
sw/source/core/text/frmcrsr.cxx
Dosyayı görüntüle @
ba0498a6
...
...
@@ -1348,7 +1348,7 @@ void SwTxtFrm::FillCrsrPos( SwFillData& rFill ) const
}
SwFont
*
pFnt
;
SwTxtFmtColl
*
pColl
=
GetTxtNode
()
->
GetTxtColl
();
sal_uInt16
nFirst
=
GetTxtNode
()
->
GetSwAttrSet
().
GetULSpace
().
GetLower
();
SwTwips
nFirst
=
GetTxtNode
()
->
GetSwAttrSet
().
GetULSpace
().
GetLower
();
SwTwips
nDiff
=
rFill
.
Y
()
-
Frm
().
Bottom
();
if
(
nDiff
<
nFirst
)
nDiff
=
-
1
;
...
...
@@ -1392,7 +1392,7 @@ void SwTxtFrm::FillCrsrPos( SwFillData& rFill ) const
nFirst
=
0
;
}
else
if
(
nDist
<
nFirst
)
nFirst
=
nFirst
-
(
sal_uInt16
)
nDist
;
nFirst
=
nFirst
-
nDist
;
else
nFirst
=
0
;
nDist
=
std
::
max
(
nDist
,
long
(
GetLineSpace
()
)
);
...
...
@@ -1522,7 +1522,7 @@ void SwTxtFrm::FillCrsrPos( SwFillData& rFill ) const
const
SvxTabStopItem
&
rTab
=
(
const
SvxTabStopItem
&
)
pSet
->
GetPool
()
->
GetDefaultItem
(
RES_PARATR_TABSTOP
);
sal_uInt16
nDefTabDist
=
(
sal_uInt16
)
rTab
[
0
].
GetTabPos
();
const
SwTwips
nDefTabDist
=
rTab
[
0
].
GetTabPos
();
nRightTab
=
nLeftTab
-
nTxtLeft
;
nRightTab
/=
nDefTabDist
;
nRightTab
=
nRightTab
*
nDefTabDist
+
nTxtLeft
;
...
...
sw/source/core/text/frmpaint.cxx
Dosyayı görüntüle @
ba0498a6
...
...
@@ -108,7 +108,7 @@ SwExtraPainter::SwExtraPainter( const SwTxtFrm *pFrm, SwViewShell *pVwSh,
if
(
aRect
.
Bottom
()
>
nBottom
)
aRect
.
Bottom
(
nBottom
);
}
sal_uInt16
nVirtPageNum
=
0
;
int
nVirtPageNum
=
0
;
if
(
bLineNum
)
{
/* Initializes the Members necessary for line numbering:
...
...
@@ -483,7 +483,7 @@ bool SwTxtFrm::PaintEmpty( const SwRect &rRect, bool bCheck ) const
const
IDocumentRedlineAccess
*
pIDRA
=
rTxtNode
.
getIDocumentRedlineAccess
();
if
(
IDocumentRedlineAccess
::
IsShowChanges
(
pIDRA
->
GetRedlineMode
()
)
)
{
sal_uInt16
nRedlPos
=
pIDRA
->
GetRedlinePos
(
rTxtNode
,
USHRT_MAX
);
const
sal_uInt16
nRedlPos
=
pIDRA
->
GetRedlinePos
(
rTxtNode
,
USHRT_MAX
);
if
(
USHRT_MAX
!=
nRedlPos
)
{
SwAttrHandler
aAttrHandler
;
...
...
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