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
32d5fa2c
Kaydet (Commit)
32d5fa2c
authored
Şub 10, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool to bool
Change-Id: I3aa78011065bcdfa834b810966c6542aa70e0112
üst
4e36974d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
portab.hxx
sw/source/core/text/portab.hxx
+3
-3
txttab.cxx
sw/source/core/text/txttab.cxx
+4
-4
No files found.
sw/source/core/text/portab.hxx
Dosyayı görüntüle @
32d5fa2c
...
@@ -32,14 +32,14 @@ class SwTabPortion : public SwFixPortion
...
@@ -32,14 +32,14 @@ class SwTabPortion : public SwFixPortion
const
bool
bAutoTabStop
;
const
bool
bAutoTabStop
;
// Format() branches either into PreFormat() or PostFormat()
// Format() branches either into PreFormat() or PostFormat()
sal_B
ool
PreFormat
(
SwTxtFormatInfo
&
rInf
);
b
ool
PreFormat
(
SwTxtFormatInfo
&
rInf
);
public
:
public
:
SwTabPortion
(
const
KSHORT
nTabPos
,
const
sal_Unicode
cFill
=
'\0'
,
const
bool
bAutoTab
=
true
);
SwTabPortion
(
const
KSHORT
nTabPos
,
const
sal_Unicode
cFill
=
'\0'
,
const
bool
bAutoTab
=
true
);
virtual
void
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
;
virtual
void
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
;
virtual
bool
Format
(
SwTxtFormatInfo
&
rInf
);
virtual
bool
Format
(
SwTxtFormatInfo
&
rInf
);
virtual
void
FormatEOL
(
SwTxtFormatInfo
&
rInf
);
virtual
void
FormatEOL
(
SwTxtFormatInfo
&
rInf
);
sal_B
ool
PostFormat
(
SwTxtFormatInfo
&
rInf
);
b
ool
PostFormat
(
SwTxtFormatInfo
&
rInf
);
inline
sal_B
ool
IsFilled
()
const
{
return
0
!=
cFill
;
}
inline
b
ool
IsFilled
()
const
{
return
0
!=
cFill
;
}
inline
KSHORT
GetTabPos
()
const
{
return
nTabPos
;
}
inline
KSHORT
GetTabPos
()
const
{
return
nTabPos
;
}
inline
bool
IsAutoTabStop
()
const
{
return
bAutoTabStop
;
}
inline
bool
IsAutoTabStop
()
const
{
return
bAutoTabStop
;
}
...
...
sw/source/core/text/txttab.cxx
Dosyayı görüntüle @
32d5fa2c
...
@@ -359,7 +359,7 @@ void SwTabPortion::FormatEOL( SwTxtFormatInfo &rInf )
...
@@ -359,7 +359,7 @@ void SwTabPortion::FormatEOL( SwTxtFormatInfo &rInf )
sal_B
ool
SwTabPortion
::
PreFormat
(
SwTxtFormatInfo
&
rInf
)
b
ool
SwTabPortion
::
PreFormat
(
SwTxtFormatInfo
&
rInf
)
{
{
OSL_ENSURE
(
rInf
.
X
()
<=
GetTabPos
(),
"SwTabPortion::PreFormat: rush hour"
);
OSL_ENSURE
(
rInf
.
X
()
<=
GetTabPos
(),
"SwTabPortion::PreFormat: rush hour"
);
...
@@ -462,14 +462,14 @@ sal_Bool SwTabPortion::PreFormat( SwTxtFormatInfo &rInf )
...
@@ -462,14 +462,14 @@ sal_Bool SwTabPortion::PreFormat( SwTxtFormatInfo &rInf )
SetAscent
(
0
);
SetAscent
(
0
);
SetPortion
(
NULL
);
//?????
SetPortion
(
NULL
);
//?????
}
}
return
sal_T
rue
;
return
t
rue
;
}
}
else
else
{
{
// A trick with impact: The new Tabportions now behave like
// A trick with impact: The new Tabportions now behave like
// FlyFrms, located in the line - including adjustment !
// FlyFrms, located in the line - including adjustment !
SetFixWidth
(
PrtWidth
()
);
SetFixWidth
(
PrtWidth
()
);
return
sal_F
alse
;
return
f
alse
;
}
}
}
}
...
@@ -479,7 +479,7 @@ sal_Bool SwTabPortion::PreFormat( SwTxtFormatInfo &rInf )
...
@@ -479,7 +479,7 @@ sal_Bool SwTabPortion::PreFormat( SwTxtFormatInfo &rInf )
sal_B
ool
SwTabPortion
::
PostFormat
(
SwTxtFormatInfo
&
rInf
)
b
ool
SwTabPortion
::
PostFormat
(
SwTxtFormatInfo
&
rInf
)
{
{
const
bool
bTabOverMargin
=
rInf
.
GetTxtFrm
()
->
GetTxtNode
()
->
getIDocumentSettingAccess
()
->
get
(
IDocumentSettingAccess
::
TAB_OVER_MARGIN
);
const
bool
bTabOverMargin
=
rInf
.
GetTxtFrm
()
->
GetTxtNode
()
->
getIDocumentSettingAccess
()
->
get
(
IDocumentSettingAccess
::
TAB_OVER_MARGIN
);
// If the tab position is larger than the right margin, it gets scaled down by default.
// If the tab position is larger than the right margin, it gets scaled down by default.
...
...
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