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
f11701d2
Kaydet (Commit)
f11701d2
authored
Tem 18, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uInt16/MSHORT to SwTwips/sal_Int32
Change-Id: Ie069f5203591e90210850bc7e5d3f03609df144c
üst
bb9a13db
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
9 deletions
+8
-9
ndtxt.hxx
sw/inc/ndtxt.hxx
+2
-2
itratr.cxx
sw/source/core/text/itratr.cxx
+4
-5
txtdrop.cxx
sw/source/core/text/txtdrop.cxx
+1
-1
wrtw8nds.cxx
sw/source/filter/ww8/wrtw8nds.cxx
+1
-1
No files found.
sw/inc/ndtxt.hxx
Dosyayı görüntüle @
f11701d2
...
@@ -608,7 +608,7 @@ public:
...
@@ -608,7 +608,7 @@ public:
@return the width of the leading whitespace
@return the width of the leading whitespace
*/
*/
sal_uInt16
GetWidthOfLeadingTabs
()
const
;
SwTwips
GetWidthOfLeadingTabs
()
const
;
/**
/**
Returns if the paragraph has a visible numbering or bullet.
Returns if the paragraph has a visible numbering or bullet.
...
@@ -695,7 +695,7 @@ public:
...
@@ -695,7 +695,7 @@ public:
/** @return actual count of initial chars for initial-function.
/** @return actual count of initial chars for initial-function.
If nWishLen == 0 that of first word. */
If nWishLen == 0 that of first word. */
sal_
uInt16
GetDropLen
(
sal_uInt16
nWishLen
)
const
;
sal_
Int32
GetDropLen
(
sal_Int32
nWishLen
)
const
;
/// Passes back info needed on the dropcap dimensions
/// Passes back info needed on the dropcap dimensions
bool
GetDropSize
(
int
&
rFontHeight
,
int
&
rDropHeight
,
int
&
rDropDescent
)
const
;
bool
GetDropSize
(
int
&
rFontHeight
,
int
&
rDropHeight
,
int
&
rDropDescent
)
const
;
...
...
sw/source/core/text/itratr.cxx
Dosyayı görüntüle @
f11701d2
...
@@ -980,9 +980,9 @@ sal_uInt16 SwTxtNode::GetScalingOfSelectedText( sal_Int32 nStt, sal_Int32 nEnd )
...
@@ -980,9 +980,9 @@ sal_uInt16 SwTxtNode::GetScalingOfSelectedText( sal_Int32 nStt, sal_Int32 nEnd )
(
nWidth
?
((
100
*
aIter
.
GetFnt
()
->
_GetTxtSize
(
aDrawInf
).
Height
())
/
nWidth
)
:
0
);
(
nWidth
?
((
100
*
aIter
.
GetFnt
()
->
_GetTxtSize
(
aDrawInf
).
Height
())
/
nWidth
)
:
0
);
}
}
sal_uInt16
SwTxtNode
::
GetWidthOfLeadingTabs
()
const
SwTwips
SwTxtNode
::
GetWidthOfLeadingTabs
()
const
{
{
sal_uInt16
nRet
=
0
;
SwTwips
nRet
=
0
;
sal_Int32
nIdx
=
0
;
sal_Int32
nIdx
=
0
;
...
@@ -1011,10 +1011,9 @@ sal_uInt16 SwTxtNode::GetWidthOfLeadingTabs() const
...
@@ -1011,10 +1011,9 @@ sal_uInt16 SwTxtNode::GetWidthOfLeadingTabs() const
SWRECTFN
(
pFrm
)
SWRECTFN
(
pFrm
)
SwRect
aRect
;
SwRect
aRect
;
pFrm
->
GetCharRect
(
aRect
,
aPos
);
pFrm
->
GetCharRect
(
aRect
,
aPos
);
nRet
=
(
sal_uInt16
)
nRet
=
pFrm
->
IsRightToLeft
()
?
(
pFrm
->
IsRightToLeft
()
?
(
pFrm
->*
fnRect
->
fnGetPrtRight
)()
-
(
aRect
.
*
fnRect
->
fnGetRight
)()
:
(
pFrm
->*
fnRect
->
fnGetPrtRight
)()
-
(
aRect
.
*
fnRect
->
fnGetRight
)()
:
(
aRect
.
*
fnRect
->
fnGetLeft
)()
-
(
pFrm
->*
fnRect
->
fnGetPrtLeft
)()
)
;
(
aRect
.
*
fnRect
->
fnGetLeft
)()
-
(
pFrm
->*
fnRect
->
fnGetPrtLeft
)();
break
;
break
;
}
}
}
}
...
...
sw/source/core/text/txtdrop.cxx
Dosyayı görüntüle @
f11701d2
...
@@ -120,7 +120,7 @@ SwDropPortion::~SwDropPortion()
...
@@ -120,7 +120,7 @@ SwDropPortion::~SwDropPortion()
}
}
// nWishLen = 0 indicates that we want a whole word
// nWishLen = 0 indicates that we want a whole word
MSHORT
SwTxtNode
::
GetDropLen
(
MSHORT
nWishLen
)
const
sal_Int32
SwTxtNode
::
GetDropLen
(
sal_Int32
nWishLen
)
const
{
{
sal_Int32
nEnd
=
GetTxt
().
getLength
();
sal_Int32
nEnd
=
GetTxt
().
getLength
();
if
(
nWishLen
&&
nWishLen
<
nEnd
)
if
(
nWishLen
&&
nWishLen
<
nEnd
)
...
...
sw/source/filter/ww8/wrtw8nds.cxx
Dosyayı görüntüle @
f11701d2
...
@@ -634,7 +634,7 @@ bool SwWW8AttrIter::IsDropCap( int nSwPos )
...
@@ -634,7 +634,7 @@ bool SwWW8AttrIter::IsDropCap( int nSwPos )
bool
bWholeWord
=
mrSwFmtDrop
.
GetWholeWord
();
bool
bWholeWord
=
mrSwFmtDrop
.
GetWholeWord
();
if
(
bWholeWord
)
if
(
bWholeWord
)
{
{
short
nWordLen
=
rNd
.
GetDropLen
(
0
);
const
sal_Int32
nWordLen
=
rNd
.
GetDropLen
(
0
);
if
(
nSwPos
==
nWordLen
&&
nSwPos
!=
0
)
if
(
nSwPos
==
nWordLen
&&
nSwPos
!=
0
)
return
true
;
return
true
;
}
}
...
...
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