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
d41747cb
Kaydet (Commit)
d41747cb
authored
Eyl 12, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
editeng: sal_Bool -> bool
Change-Id: I27296a1a7fdf2ceb89db9e6674a45908fe7d0841
üst
23248ed8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
svxfont.cxx
editeng/source/items/svxfont.cxx
+17
-17
No files found.
editeng/source/items/svxfont.cxx
Dosyayı görüntüle @
d41747cb
...
...
@@ -176,18 +176,18 @@ public:
virtual
~
SvxDoCapitals
()
{}
virtual
void
DoSpace
(
const
sal_B
ool
bDraw
);
virtual
void
DoSpace
(
const
b
ool
bDraw
);
virtual
void
SetSpace
();
virtual
void
Do
(
const
OUString
&
rTxt
,
const
sal_Int32
nIdx
,
const
sal_Int32
nLen
,
const
sal_B
ool
bUpper
)
=
0
;
const
b
ool
bUpper
)
=
0
;
const
OUString
&
GetTxt
()
const
{
return
rTxt
;
}
sal_Int32
GetIdx
()
const
{
return
nIdx
;
}
sal_Int32
GetLen
()
const
{
return
nLen
;
}
};
void
SvxDoCapitals
::
DoSpace
(
const
sal_B
ool
/*bDraw*/
)
{
}
void
SvxDoCapitals
::
DoSpace
(
const
b
ool
/*bDraw*/
)
{
}
void
SvxDoCapitals
::
SetSpace
()
{
}
...
...
@@ -247,11 +247,11 @@ void SvxFont::DoOnCapitals(SvxDoCapitals &rDo) const
const
OUString
aSnippet
=
rTxt
.
copy
(
nIdx
+
nOldPos
,
nPos
-
nOldPos
);
OUString
aNewText
=
CalcCaseMap
(
aSnippet
);
rDo
.
Do
(
aNewText
,
0
,
aNewText
.
getLength
(),
sal_T
rue
);
rDo
.
Do
(
aNewText
,
0
,
aNewText
.
getLength
(),
t
rue
);
}
else
{
rDo
.
Do
(
aTxt
,
nIdx
+
nOldPos
,
nPos
-
nOldPos
,
sal_T
rue
);
rDo
.
Do
(
aTxt
,
nIdx
+
nOldPos
,
nPos
-
nOldPos
,
t
rue
);
}
nOldPos
=
nPos
;
...
...
@@ -277,11 +277,11 @@ void SvxFont::DoOnCapitals(SvxDoCapitals &rDo) const
const
OUString
aSnippet
=
rTxt
.
copy
(
nIdx
+
nOldPos
,
nPos
-
nOldPos
);
OUString
aNewText
=
CalcCaseMap
(
aSnippet
);
rDo
.
Do
(
aNewText
,
0
,
aNewText
.
getLength
(),
sal_F
alse
);
rDo
.
Do
(
aNewText
,
0
,
aNewText
.
getLength
(),
f
alse
);
}
else
{
rDo
.
Do
(
aTxt
,
nIdx
+
nOldPos
,
nPos
-
nOldPos
,
sal_F
alse
);
rDo
.
Do
(
aTxt
,
nIdx
+
nOldPos
,
nPos
-
nOldPos
,
f
alse
);
}
nOldPos
=
nPos
;
...
...
@@ -292,7 +292,7 @@ void SvxFont::DoOnCapitals(SvxDoCapitals &rDo) const
if
(
nOldPos
!=
nPos
)
{
rDo
.
DoSpace
(
sal_F
alse
);
rDo
.
DoSpace
(
f
alse
);
if
(
bCaseMapLengthDiffers
)
{
...
...
@@ -302,18 +302,18 @@ void SvxFont::DoOnCapitals(SvxDoCapitals &rDo) const
const
OUString
aSnippet
=
rTxt
.
copy
(
nIdx
+
nOldPos
,
nPos
-
nOldPos
);
OUString
aNewText
=
CalcCaseMap
(
aSnippet
);
rDo
.
Do
(
aNewText
,
0
,
aNewText
.
getLength
(),
sal_F
alse
);
rDo
.
Do
(
aNewText
,
0
,
aNewText
.
getLength
(),
f
alse
);
}
else
{
rDo
.
Do
(
aTxt
,
nIdx
+
nOldPos
,
nPos
-
nOldPos
,
sal_F
alse
);
rDo
.
Do
(
aTxt
,
nIdx
+
nOldPos
,
nPos
-
nOldPos
,
f
alse
);
}
nOldPos
=
nPos
;
rDo
.
SetSpace
();
}
}
rDo
.
DoSpace
(
sal_T
rue
);
rDo
.
DoSpace
(
t
rue
);
}
...
...
@@ -600,13 +600,13 @@ public:
virtual
~
SvxDoGetCapitalSize
()
{}
virtual
void
Do
(
const
OUString
&
rTxt
,
const
sal_Int32
nIdx
,
const
sal_Int32
nLen
,
const
sal_B
ool
bUpper
)
SAL_OVERRIDE
;
const
sal_Int32
nLen
,
const
b
ool
bUpper
)
SAL_OVERRIDE
;
const
Size
&
GetSize
()
const
{
return
aTxtSize
;
};
};
void
SvxDoGetCapitalSize
::
Do
(
const
OUString
&
_rTxt
,
const
sal_Int32
_nIdx
,
const
sal_Int32
_nLen
,
const
sal_B
ool
bUpper
)
const
sal_Int32
_nLen
,
const
b
ool
bUpper
)
{
Size
aPartSize
;
if
(
!
bUpper
)
...
...
@@ -663,13 +663,13 @@ public:
aSpacePos
(
rPos
),
nKern
(
nKrn
)
{
}
virtual
void
DoSpace
(
const
sal_B
ool
bDraw
)
SAL_OVERRIDE
;
virtual
void
DoSpace
(
const
b
ool
bDraw
)
SAL_OVERRIDE
;
virtual
void
SetSpace
()
SAL_OVERRIDE
;
virtual
void
Do
(
const
OUString
&
rTxt
,
const
sal_Int32
nIdx
,
const
sal_Int32
nLen
,
const
sal_B
ool
bUpper
)
SAL_OVERRIDE
;
const
sal_Int32
nLen
,
const
b
ool
bUpper
)
SAL_OVERRIDE
;
};
void
SvxDoDrawCapital
::
DoSpace
(
const
sal_B
ool
bDraw
)
void
SvxDoDrawCapital
::
DoSpace
(
const
b
ool
bDraw
)
{
if
(
bDraw
||
pFont
->
IsWordLineMode
()
)
{
...
...
@@ -696,7 +696,7 @@ void SvxDoDrawCapital::SetSpace()
}
void
SvxDoDrawCapital
::
Do
(
const
OUString
&
_rTxt
,
const
sal_Int32
_nIdx
,
const
sal_Int32
_nLen
,
const
sal_B
ool
bUpper
)
const
sal_Int32
_nLen
,
const
b
ool
bUpper
)
{
sal_uInt8
nProp
=
0
;
Size
aPartSize
;
...
...
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