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
7cd65eef
Kaydet (Commit)
7cd65eef
authored
Eyl 15, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Simplify expression to fix bool/sal_Bool ambiguity
Change-Id: I249262779519934c3dacc9df76028a994187e3d6
üst
40036fc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Button.cxx
forms/source/component/Button.cxx
+1
-1
No files found.
forms/source/component/Button.cxx
Dosyayı görüntüle @
7cd65eef
...
@@ -713,7 +713,7 @@ void OButtonControl::featureStateChanged( sal_Int16 _nFeatureId, bool _bEnabled
...
@@ -713,7 +713,7 @@ void OButtonControl::featureStateChanged( sal_Int16 _nFeatureId, bool _bEnabled
// enable or disable our peer, according to the new state
// enable or disable our peer, according to the new state
Reference
<
XVclWindowPeer
>
xPeer
(
getPeer
(),
UNO_QUERY
);
Reference
<
XVclWindowPeer
>
xPeer
(
getPeer
(),
UNO_QUERY
);
if
(
xPeer
.
is
()
)
if
(
xPeer
.
is
()
)
xPeer
->
setProperty
(
PROPERTY_ENABLED
,
makeAny
(
m_bEnabledByPropertyValue
?
_bEnabled
:
sal_False
)
);
xPeer
->
setProperty
(
PROPERTY_ENABLED
,
makeAny
(
m_bEnabledByPropertyValue
&&
_bEnabled
)
);
// if we're disabled according to our model's property, then
// if we're disabled according to our model's property, then
// we don't care for the feature state, but *are* disabled.
// we don't care for the feature state, but *are* disabled.
// If the model's property states that we're enabled, then we *do*
// If the model's property states that we're enabled, then we *do*
...
...
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