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
0842a270
Kaydet (Commit)
0842a270
authored
Agu 16, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use bool directly
Change-Id: I314e290b453c55e345559d8abef9b00622493ed3
üst
e7641433
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
15 deletions
+15
-15
filewriter.cxx
i18npool/source/localedata/filewriter.cxx
+1
-1
FValue.hxx
include/connectivity/FValue.hxx
+2
-2
frame.hxx
sw/source/core/inc/frame.hxx
+8
-8
findfrm.cxx
sw/source/core/layout/findfrm.cxx
+4
-4
No files found.
i18npool/source/localedata/filewriter.cxx
Dosyayı görüntüle @
0842a270
...
...
@@ -133,7 +133,7 @@ void OFileWriter::writeIntParameter(const sal_Char* pAsciiStr, const sal_Int16 c
bool
OFileWriter
::
writeDefaultParameter
(
const
sal_Char
*
pAsciiStr
,
const
OUString
&
str
,
sal_Int16
count
)
const
{
bool
bBool
=
(
str
==
"true"
?
1
:
0
)
;
bool
bBool
=
str
==
"true"
;
fprintf
(
m_f
,
"static const sal_Unicode default%s%d[] = {%d};
\n
"
,
pAsciiStr
,
count
,
bBool
);
return
bBool
;
}
...
...
include/connectivity/FValue.hxx
Dosyayı görüntüle @
0842a270
...
...
@@ -372,10 +372,10 @@ namespace connectivity
}
bool
isBound
()
const
{
return
m_bBound
;
}
void
setBound
(
bool
_bBound
)
{
m_bBound
=
_bBound
?
1
:
0
;
}
void
setBound
(
bool
_bBound
)
{
m_bBound
=
_bBound
;
}
bool
isModified
()
const
{
return
m_bModified
;
}
void
setModified
(
bool
_bMod
=
true
)
{
m_bModified
=
_bMod
?
1
:
0
;
}
void
setModified
(
bool
_bMod
=
true
)
{
m_bModified
=
_bMod
;
}
bool
isSigned
()
const
{
return
m_bSigned
;
}
void
setSigned
(
bool
_bSig
=
true
);
...
...
sw/source/core/inc/frame.hxx
Dosyayı görüntüle @
0842a270
...
...
@@ -549,21 +549,21 @@ public:
bool
IsInBalancedSection
()
const
;
inline
bool
IsReverse
()
const
{
return
mbReverse
;
}
inline
void
SetReverse
(
bool
bNew
){
mbReverse
=
bNew
?
1
:
0
;
}
inline
void
SetReverse
(
bool
bNew
){
mbReverse
;
}
inline
bool
IsVertical
()
const
;
inline
bool
IsVertLR
()
const
;
inline
bool
GetVerticalFlag
()
const
{
return
mbVertical
;
}
inline
void
SetVertical
(
bool
bNew
){
mbVertical
=
bNew
?
1
:
0
;
}
inline
void
SetVertical
(
bool
bNew
){
mbVertical
;
}
inline
void
SetbVertLR
(
bool
bNew
)
{
mbVertLR
=
bNew
?
1
:
0
;
}
inline
void
SetDerivedVert
(
bool
bNew
){
mbDerivedVert
=
bNew
?
1
:
0
;
}
inline
void
SetInvalidVert
(
bool
bNew
)
{
mbInvalidVert
=
bNew
?
1
:
0
;
}
inline
void
SetbVertLR
(
bool
bNew
)
{
mbVertLR
=
bNew
;
}
inline
void
SetDerivedVert
(
bool
bNew
){
mbDerivedVert
=
bNew
;
}
inline
void
SetInvalidVert
(
bool
bNew
)
{
mbInvalidVert
=
bNew
;
}
inline
bool
IsRightToLeft
()
const
;
inline
bool
GetRightToLeftFlag
()
const
{
return
mbRightToLeft
;
}
inline
void
SetRightToLeft
(
bool
bNew
){
mbRightToLeft
=
bNew
?
1
:
0
;
}
inline
void
SetDerivedR2L
(
bool
bNew
)
{
mbDerivedR2L
=
bNew
?
1
:
0
;
}
inline
void
SetInvalidR2L
(
bool
bNew
)
{
mbInvalidR2L
=
bNew
?
1
:
0
;
}
inline
void
SetRightToLeft
(
bool
bNew
){
mbRightToLeft
=
bNew
;
}
inline
void
SetDerivedR2L
(
bool
bNew
)
{
mbDerivedR2L
=
bNew
;
}
inline
void
SetInvalidR2L
(
bool
bNew
)
{
mbInvalidR2L
=
bNew
;
}
void
CheckDirChange
();
// returns upper left frame position for LTR and
...
...
sw/source/core/layout/findfrm.cxx
Dosyayı görüntüle @
0842a270
...
...
@@ -1310,10 +1310,10 @@ void SwFrm::SetDirFlags( bool bVert )
if
(
pAsk
)
{
mbVertical
=
pAsk
->
IsVertical
()
?
1
:
0
;
mbReverse
=
pAsk
->
IsReverse
()
?
1
:
0
;
mbVertical
=
pAsk
->
IsVertical
();
mbReverse
=
pAsk
->
IsReverse
();
mbVertLR
=
pAsk
->
IsVertLR
()
?
1
:
0
;
mbVertLR
=
pAsk
->
IsVertLR
();
if
(
!
pAsk
->
mbInvalidVert
)
mbInvalidVert
=
false
;
...
...
@@ -1335,7 +1335,7 @@ void SwFrm::SetDirFlags( bool bVert )
OSL_ENSURE
(
pAsk
!=
this
,
"Oops! Stack overflow is about to happen"
);
if
(
pAsk
)
mbRightToLeft
=
pAsk
->
IsRightToLeft
()
?
1
:
0
;
mbRightToLeft
=
pAsk
->
IsRightToLeft
();
if
(
!
pAsk
||
pAsk
->
mbInvalidR2L
)
bInv
=
mbInvalidR2L
;
}
...
...
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