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
e710c1db
Kaydet (Commit)
e710c1db
authored
Nis 24, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:simplifybool
Change-Id: Ib238714477fdeadad07c470e1d9ed64b2b18f25d
üst
746a717e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
vclxfont.cxx
toolkit/source/awt/vclxfont.cxx
+1
-1
vclxwindows.cxx
toolkit/source/awt/vclxwindows.cxx
+3
-3
unocontrolmodel.cxx
toolkit/source/controls/unocontrolmodel.cxx
+1
-1
property.cxx
toolkit/source/helper/property.cxx
+1
-1
unopropertyarrayhelper.cxx
toolkit/source/helper/unopropertyarrayhelper.cxx
+1
-1
unowrapper.cxx
toolkit/source/helper/unowrapper.cxx
+1
-1
No files found.
toolkit/source/awt/vclxfont.cxx
Dosyayı görüntüle @
e710c1db
...
...
@@ -66,7 +66,7 @@ bool VCLXFont::ImplAssertValidFontMetric()
pOutDev
->
SetFont
(
aOldFont
);
}
}
return
mpFontMetric
?
true
:
false
;
return
mpFontMetric
!=
nullptr
;
}
...
...
toolkit/source/awt/vclxwindows.cxx
Dosyayı görüntüle @
e710c1db
...
...
@@ -1140,7 +1140,7 @@ void VCLXRadioButton::setProperty( const OUString& PropertyName, const ::com::su
sal_Int16
n
=
sal_Int16
();
if
(
Value
>>=
n
)
{
bool
b
=
n
?
true
:
false
;
bool
b
=
n
!=
0
;
if
(
pButton
->
IsRadioCheckEnabled
()
)
pButton
->
Check
(
b
);
else
...
...
@@ -1807,7 +1807,7 @@ void VCLXListBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
if
(
pListBox
)
{
bool
bDropDown
=
(
pListBox
->
GetStyle
()
&
WB_DROPDOWN
)
?
true
:
false
;
bool
bDropDown
=
(
pListBox
->
GetStyle
()
&
WB_DROPDOWN
)
!=
0
;
if
(
bDropDown
&&
!
IsSynthesizingVCLEvent
()
&&
maActionListeners
.
getLength
()
)
{
// Call ActionListener on DropDown event
...
...
@@ -4690,7 +4690,7 @@ void VCLXFormattedSpinField::setStrictFormat( bool bStrict )
bool
VCLXFormattedSpinField
::
isStrictFormat
()
{
FormatterBase
*
pFormatter
=
GetFormatter
();
return
pFormatter
?
pFormatter
->
IsStrictFormat
()
:
false
;
return
pFormatter
&&
pFormatter
->
IsStrictFormat
()
;
}
...
...
toolkit/source/controls/unocontrolmodel.cxx
Dosyayı görüntüle @
e710c1db
...
...
@@ -150,7 +150,7 @@ bool UnoControlModel::ImplHasProperty( sal_uInt16 nPropId ) const
if
(
(
nPropId
>=
BASEPROPERTY_FONTDESCRIPTORPART_START
)
&&
(
nPropId
<=
BASEPROPERTY_FONTDESCRIPTORPART_END
)
)
nPropId
=
BASEPROPERTY_FONTDESCRIPTOR
;
return
maData
.
find
(
nPropId
)
!=
maData
.
end
()
?
true
:
false
;
return
maData
.
find
(
nPropId
)
!=
maData
.
end
();
}
::
com
::
sun
::
star
::
uno
::
Any
UnoControlModel
::
ImplGetDefaultValue
(
sal_uInt16
nPropId
)
const
...
...
toolkit/source/helper/property.cxx
Dosyayı görüntüle @
e710c1db
...
...
@@ -385,7 +385,7 @@ bool DoesDependOnOthers( sal_uInt16 nPropertyId )
{
const
ImplPropertyInfo
*
pImplPropertyInfo
=
ImplGetImplPropertyInfo
(
nPropertyId
);
DBG_ASSERT
(
pImplPropertyInfo
,
"Invalid PropertyId!"
);
return
pImplPropertyInfo
?
pImplPropertyInfo
->
bDependsOnOthers
:
false
;
return
pImplPropertyInfo
&&
pImplPropertyInfo
->
bDependsOnOthers
;
}
bool
CompareProperties
(
const
::
com
::
sun
::
star
::
uno
::
Any
&
r1
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
r2
)
...
...
toolkit/source/helper/unopropertyarrayhelper.cxx
Dosyayı görüntüle @
e710c1db
...
...
@@ -46,7 +46,7 @@ bool UnoPropertyArrayHelper::ImplHasProperty( sal_uInt16 nPropId ) const
if
(
(
nPropId
>=
BASEPROPERTY_FONTDESCRIPTORPART_START
)
&&
(
nPropId
<=
BASEPROPERTY_FONTDESCRIPTORPART_END
)
)
nPropId
=
BASEPROPERTY_FONTDESCRIPTOR
;
return
maIDs
.
find
(
nPropId
)
!=
maIDs
.
end
()
?
true
:
false
;
return
maIDs
.
find
(
nPropId
)
!=
maIDs
.
end
();
}
// ::cppu::IPropertyArrayHelper
...
...
toolkit/source/helper/unowrapper.cxx
Dosyayı görüntüle @
e710c1db
...
...
@@ -212,7 +212,7 @@ static bool lcl_ImplIsParent( vcl::Window* pParentWindow, vcl::Window* pPossible
while
(
pWindow
&&
(
pWindow
!=
pParentWindow
)
)
pWindow
=
pWindow
->
GetParent
();
return
pWindow
?
true
:
false
;
return
pWindow
!=
nullptr
;
}
void
UnoWrapper
::
WindowDestroyed
(
vcl
::
Window
*
pWindow
)
...
...
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