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
b0d9184a
Kaydet (Commit)
b0d9184a
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: I3a5554b73c6e9f39a4a903eecf6c59bd3a9a9883
üst
94da7fda
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
16 deletions
+12
-16
menuoptions.cxx
svtools/source/config/menuoptions.cxx
+2
-2
imivctl1.cxx
svtools/source/contnr/imivctl1.cxx
+1
-1
filectrl.cxx
svtools/source/control/filectrl.cxx
+4
-6
templatefoldercache.cxx
svtools/source/misc/templatefoldercache.cxx
+1
-3
tablecontrol.cxx
svtools/source/table/tablecontrol.cxx
+1
-1
toolboxcontroller.cxx
svtools/source/uno/toolboxcontroller.cxx
+1
-1
treecontrolpeer.cxx
svtools/source/uno/treecontrolpeer.cxx
+2
-2
No files found.
svtools/source/config/menuoptions.cxx
Dosyayı görüntüle @
b0d9184a
...
...
@@ -176,7 +176,7 @@ SvtMenuOptions_Impl::SvtMenuOptions_Impl()
else
{
bSystemMenuIcons
=
false
;
bMenuIcons
=
m_eMenuIcons
?
true
:
false
;
bMenuIcons
=
m_eMenuIcons
!=
TRISTATE_FALSE
;
}
// Copy values from list in right order to our internal member.
...
...
@@ -249,7 +249,7 @@ void SvtMenuOptions_Impl::Notify( const Sequence< OUString >& seqPropertyNames )
else
{
bSystemMenuIcons
=
false
;
bMenuIcons
=
m_eMenuIcons
?
true
:
false
;
bMenuIcons
=
m_eMenuIcons
!=
TRISTATE_FALSE
;
}
// Step over list of property names and get right value from coreesponding value list to set it on internal members!
...
...
svtools/source/contnr/imivctl1.cxx
Dosyayı görüntüle @
b0d9184a
...
...
@@ -2676,7 +2676,7 @@ void SvxIconChoiceCtrl_Impl::SelectRect( const Rectangle& rRect, bool bAdd,
return
;
// set flag, so ToTop won't be called in Select
bool
bAlreadySelectingRect
=
nFlags
&
F_SELECTING_RECT
?
true
:
false
;
bool
bAlreadySelectingRect
=
(
nFlags
&
F_SELECTING_RECT
)
!=
0
;
nFlags
|=
F_SELECTING_RECT
;
CheckBoundingRects
();
...
...
svtools/source/control/filectrl.cxx
Dosyayı görüntüle @
b0d9184a
...
...
@@ -157,12 +157,10 @@ void FileControl::Resize()
Size
aOutSz
=
GetOutputSizePixel
();
long
nButtonTextWidth
=
maButton
.
GetTextWidth
(
maButtonText
);
if
(
!
(
mnInternalFlags
&
FileControlMode_Internal
::
ORIGINALBUTTONTEXT
)
||
(
nButtonTextWidth
<
aOutSz
.
Width
()
/
3
&&
(
mnFlags
&
FileControlMode
::
RESIZEBUTTONBYPATHLEN
?
(
maEdit
.
GetTextWidth
(
maEdit
.
GetText
()
)
<=
aOutSz
.
Width
()
-
nButtonTextWidth
-
ButtonBorder
)
:
true
)
)
)
(
nButtonTextWidth
<
aOutSz
.
Width
()
/
3
&&
(
!
(
mnFlags
&
FileControlMode
::
RESIZEBUTTONBYPATHLEN
)
||
(
maEdit
.
GetTextWidth
(
maEdit
.
GetText
()
)
<=
aOutSz
.
Width
()
-
nButtonTextWidth
-
ButtonBorder
)
)
)
)
{
maButton
.
SetText
(
maButtonText
);
}
...
...
svtools/source/misc/templatefoldercache.cxx
Dosyayı görüntüle @
b0d9184a
...
...
@@ -186,9 +186,7 @@ namespace svt
{
bool
operator
()
(
const
::
rtl
::
Reference
<
TemplateContent
>&
_rxLHS
,
const
::
rtl
::
Reference
<
TemplateContent
>&
_rxRHS
)
const
{
return
_rxLHS
->
getURL
()
<
_rxRHS
->
getURL
()
?
true
:
false
;
return
_rxLHS
->
getURL
()
<
_rxRHS
->
getURL
();
}
};
...
...
svtools/source/table/tablecontrol.cxx
Dosyayı görüntüle @
b0d9184a
...
...
@@ -628,7 +628,7 @@ namespace svt { namespace table
Rectangle
TableControl
::
calcHeaderRect
(
bool
_bIsColumnBar
,
bool
_bOnScreen
)
{
(
void
)
_bOnScreen
;
return
m_pImpl
->
calcHeaderRect
(
_bIsColumnBar
?
false
:
true
);
return
m_pImpl
->
calcHeaderRect
(
!
_bIsColumnBar
);
}
...
...
svtools/source/uno/toolboxcontroller.cxx
Dosyayı görüntüle @
b0d9184a
...
...
@@ -776,7 +776,7 @@ void ToolboxController::enable( bool bEnable )
sal_uInt16
nItemId
=
0
;
if
(
getToolboxId
(
nItemId
,
&
pToolBox
)
)
{
pToolBox
->
EnableItem
(
nItemId
,
bEnable
?
true
:
false
);
pToolBox
->
EnableItem
(
nItemId
,
bEnable
);
}
}
...
...
svtools/source/uno/treecontrolpeer.cxx
Dosyayı görüntüle @
b0d9184a
...
...
@@ -506,7 +506,7 @@ void TreeControlPeer::ChangeNodesSelection( const Any& rSelection, bool bSelect,
while
(
nCount
--
)
{
UnoTreeListEntry
*
pEntry
=
getEntry
(
*
pNodes
++
);
rTree
.
Select
(
pEntry
,
bSelect
?
true
:
false
);
rTree
.
Select
(
pEntry
,
bSelect
);
}
}
}
...
...
@@ -1329,7 +1329,7 @@ void TreeControlPeer::setProperty( const OUString& PropertyName, const Any& aVal
{
bool
bEnabled
=
false
;
if
(
aValue
>>=
bEnabled
)
rTree
.
EnableInplaceEditing
(
bEnabled
?
true
:
false
);
rTree
.
EnableInplaceEditing
(
bEnabled
);
break
;
}
case
BASEPROPERTY_TREE_INVOKESSTOPNODEEDITING
:
...
...
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