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
a602a1ce
Kaydet (Commit)
a602a1ce
authored
Nis 27, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
operator == return type wants to be bool
Change-Id: I7ef0a09b718ca701ed2b6f4a50593f8ef1421dd3
üst
99d4b08d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
15 deletions
+15
-15
numitem.cxx
editeng/source/items/numitem.cxx
+4
-4
numitem.hxx
include/editeng/numitem.hxx
+1
-1
macitem.hxx
include/svl/macitem.hxx
+1
-1
xbitmap.hxx
include/svx/xbitmap.hxx
+1
-1
macitem.cxx
svl/source/items/macitem.cxx
+4
-4
xattrbmp.cxx
svx/source/xoutdev/xattrbmp.cxx
+4
-4
No files found.
editeng/source/items/numitem.cxx
Dosyayı görüntüle @
a602a1ce
...
@@ -740,13 +740,13 @@ SvxNumRule& SvxNumRule::operator=( const SvxNumRule& rCopy )
...
@@ -740,13 +740,13 @@ SvxNumRule& SvxNumRule::operator=( const SvxNumRule& rCopy )
return
*
this
;
return
*
this
;
}
}
int
SvxNumRule
::
operator
==
(
const
SvxNumRule
&
rCopy
)
const
bool
SvxNumRule
::
operator
==
(
const
SvxNumRule
&
rCopy
)
const
{
{
if
(
nLevelCount
!=
rCopy
.
nLevelCount
||
if
(
nLevelCount
!=
rCopy
.
nLevelCount
||
nFeatureFlags
!=
rCopy
.
nFeatureFlags
||
nFeatureFlags
!=
rCopy
.
nFeatureFlags
||
bContinuousNumbering
!=
rCopy
.
bContinuousNumbering
||
bContinuousNumbering
!=
rCopy
.
bContinuousNumbering
||
eNumberingType
!=
rCopy
.
eNumberingType
)
eNumberingType
!=
rCopy
.
eNumberingType
)
return
sal_F
alse
;
return
f
alse
;
for
(
sal_uInt16
i
=
0
;
i
<
nLevelCount
;
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<
nLevelCount
;
i
++
)
{
{
if
(
if
(
...
@@ -756,10 +756,10 @@ int SvxNumRule::operator==( const SvxNumRule& rCopy) const
...
@@ -756,10 +756,10 @@ int SvxNumRule::operator==( const SvxNumRule& rCopy) const
(
aFmts
[
i
]
&&
*
aFmts
[
i
]
!=
*
rCopy
.
aFmts
[
i
])
(
aFmts
[
i
]
&&
*
aFmts
[
i
]
!=
*
rCopy
.
aFmts
[
i
])
)
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
}
}
return
sal_T
rue
;
return
t
rue
;
}
}
const
SvxNumberFormat
*
SvxNumRule
::
Get
(
sal_uInt16
nLevel
)
const
const
SvxNumberFormat
*
SvxNumRule
::
Get
(
sal_uInt16
nLevel
)
const
...
...
include/editeng/numitem.hxx
Dosyayı görüntüle @
a602a1ce
...
@@ -262,7 +262,7 @@ public:
...
@@ -262,7 +262,7 @@ public:
SvxNumRule
(
SvStream
&
rStream
);
SvxNumRule
(
SvStream
&
rStream
);
virtual
~
SvxNumRule
();
virtual
~
SvxNumRule
();
int
operator
==
(
const
SvxNumRule
&
)
const
;
bool
operator
==
(
const
SvxNumRule
&
)
const
;
bool
operator
!=
(
const
SvxNumRule
&
rRule
)
const
{
return
!
(
*
this
==
rRule
);}
bool
operator
!=
(
const
SvxNumRule
&
rRule
)
const
{
return
!
(
*
this
==
rRule
);}
SvxNumRule
&
operator
=
(
const
SvxNumRule
&
);
SvxNumRule
&
operator
=
(
const
SvxNumRule
&
);
...
...
include/svl/macitem.hxx
Dosyayı görüntüle @
a602a1ce
...
@@ -86,7 +86,7 @@ public:
...
@@ -86,7 +86,7 @@ public:
inline
SvxMacroTableDtor
(
const
SvxMacroTableDtor
&
rCpy
)
:
aSvxMacroTable
(
rCpy
.
aSvxMacroTable
)
{
}
inline
SvxMacroTableDtor
(
const
SvxMacroTableDtor
&
rCpy
)
:
aSvxMacroTable
(
rCpy
.
aSvxMacroTable
)
{
}
SvxMacroTableDtor
&
operator
=
(
const
SvxMacroTableDtor
&
rCpy
);
SvxMacroTableDtor
&
operator
=
(
const
SvxMacroTableDtor
&
rCpy
);
int
operator
==
(
const
SvxMacroTableDtor
&
rOther
)
const
;
bool
operator
==
(
const
SvxMacroTableDtor
&
rOther
)
const
;
// deletes all entries
// deletes all entries
void
clear
()
{
aSvxMacroTable
.
clear
();
}
void
clear
()
{
aSvxMacroTable
.
clear
();
}
...
...
include/svx/xbitmap.hxx
Dosyayı görüntüle @
a602a1ce
...
@@ -45,7 +45,7 @@ public:
...
@@ -45,7 +45,7 @@ public:
~
XOBitmap
();
~
XOBitmap
();
XOBitmap
&
operator
=
(
const
XOBitmap
&
rXOBitmap
);
XOBitmap
&
operator
=
(
const
XOBitmap
&
rXOBitmap
);
int
operator
==
(
const
XOBitmap
&
rXOBitmap
)
const
;
bool
operator
==
(
const
XOBitmap
&
rXOBitmap
)
const
;
void
Bitmap2Array
();
void
Bitmap2Array
();
void
Array2Bitmap
();
void
Array2Bitmap
();
...
...
svl/source/items/macitem.cxx
Dosyayı görüntüle @
a602a1ce
...
@@ -77,11 +77,11 @@ SvxMacroTableDtor& SvxMacroTableDtor::operator=( const SvxMacroTableDtor& rTbl )
...
@@ -77,11 +77,11 @@ SvxMacroTableDtor& SvxMacroTableDtor::operator=( const SvxMacroTableDtor& rTbl )
return
*
this
;
return
*
this
;
}
}
int
SvxMacroTableDtor
::
operator
==
(
const
SvxMacroTableDtor
&
rOther
)
const
bool
SvxMacroTableDtor
::
operator
==
(
const
SvxMacroTableDtor
&
rOther
)
const
{
{
// Count different => odd in any case
// Count different => odd in any case
if
(
aSvxMacroTable
.
size
()
!=
rOther
.
aSvxMacroTable
.
size
()
)
if
(
aSvxMacroTable
.
size
()
!=
rOther
.
aSvxMacroTable
.
size
()
)
return
sal_F
alse
;
return
f
alse
;
// Compare single ones; the sequence matters due to performance reasons
// Compare single ones; the sequence matters due to performance reasons
SvxMacroTable
::
const_iterator
it1
=
aSvxMacroTable
.
begin
();
SvxMacroTable
::
const_iterator
it1
=
aSvxMacroTable
.
begin
();
...
@@ -93,10 +93,10 @@ int SvxMacroTableDtor::operator==( const SvxMacroTableDtor& rOther ) const
...
@@ -93,10 +93,10 @@ int SvxMacroTableDtor::operator==( const SvxMacroTableDtor& rOther ) const
if
(
it1
->
first
!=
it2
->
first
||
if
(
it1
->
first
!=
it2
->
first
||
rOwnMac
.
GetLibName
()
!=
rOtherMac
.
GetLibName
()
||
rOwnMac
.
GetLibName
()
!=
rOtherMac
.
GetLibName
()
||
rOwnMac
.
GetMacName
()
!=
rOtherMac
.
GetMacName
()
)
rOwnMac
.
GetMacName
()
!=
rOtherMac
.
GetMacName
()
)
return
sal_F
alse
;
return
f
alse
;
}
}
return
sal_T
rue
;
return
t
rue
;
}
}
SvStream
&
SvxMacroTableDtor
::
Read
(
SvStream
&
rStrm
,
sal_uInt16
nVersion
)
SvStream
&
SvxMacroTableDtor
::
Read
(
SvStream
&
rStrm
,
sal_uInt16
nVersion
)
...
...
svx/source/xoutdev/xattrbmp.cxx
Dosyayı görüntüle @
a602a1ce
...
@@ -101,7 +101,7 @@ XOBitmap& XOBitmap::operator=( const XOBitmap& rXBmp )
...
@@ -101,7 +101,7 @@ XOBitmap& XOBitmap::operator=( const XOBitmap& rXBmp )
return
*
this
;
return
*
this
;
}
}
int
XOBitmap
::
operator
==
(
const
XOBitmap
&
rXOBitmap
)
const
bool
XOBitmap
::
operator
==
(
const
XOBitmap
&
rXOBitmap
)
const
{
{
if
(
eType
!=
rXOBitmap
.
eType
||
if
(
eType
!=
rXOBitmap
.
eType
||
aGraphicObject
!=
rXOBitmap
.
aGraphicObject
||
aGraphicObject
!=
rXOBitmap
.
aGraphicObject
||
...
@@ -110,7 +110,7 @@ int XOBitmap::operator==( const XOBitmap& rXOBitmap ) const
...
@@ -110,7 +110,7 @@ int XOBitmap::operator==( const XOBitmap& rXOBitmap ) const
aBckgrColor
!=
rXOBitmap
.
aBckgrColor
||
aBckgrColor
!=
rXOBitmap
.
aBckgrColor
||
bGraphicDirty
!=
rXOBitmap
.
bGraphicDirty
)
bGraphicDirty
!=
rXOBitmap
.
bGraphicDirty
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
if
(
pPixelArray
&&
rXOBitmap
.
pPixelArray
)
if
(
pPixelArray
&&
rXOBitmap
.
pPixelArray
)
...
@@ -119,10 +119,10 @@ int XOBitmap::operator==( const XOBitmap& rXOBitmap ) const
...
@@ -119,10 +119,10 @@ int XOBitmap::operator==( const XOBitmap& rXOBitmap ) const
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
{
{
if
(
*
(
pPixelArray
+
i
)
!=
*
(
rXOBitmap
.
pPixelArray
+
i
)
)
if
(
*
(
pPixelArray
+
i
)
!=
*
(
rXOBitmap
.
pPixelArray
+
i
)
)
return
sal_F
alse
;
return
f
alse
;
}
}
}
}
return
sal_T
rue
;
return
t
rue
;
}
}
Bitmap
XOBitmap
::
GetBitmap
()
const
Bitmap
XOBitmap
::
GetBitmap
()
const
...
...
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