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
4bad1a8e
Kaydet (Commit)
4bad1a8e
authored
Nis 23, 2013
tarafından
Noel Power
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
support api initiated change_event for combox & textbox
Change-Id: Iff51a184792e9d12accb902df1772fc07589443b
üst
3fb03cc8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
vbacombobox.cxx
vbahelper/source/msforms/vbacombobox.cxx
+4
-0
vbatextbox.cxx
vbahelper/source/msforms/vbatextbox.cxx
+3
-0
No files found.
vbahelper/source/msforms/vbacombobox.cxx
Dosyayı görüntüle @
4bad1a8e
...
...
@@ -120,7 +120,11 @@ void SAL_CALL
ScVbaComboBox
::
setValue
(
const
uno
::
Any
&
_value
)
throw
(
uno
::
RuntimeException
)
{
// booleans are converted to uppercase strings
OUString
oldValue
=
extractStringFromAny
(
getValue
(),
OUString
(),
true
);
m_xProps
->
setPropertyValue
(
sSourceName
,
uno
::
Any
(
extractStringFromAny
(
_value
,
OUString
(),
true
)
)
);
OUString
newValue
=
extractStringFromAny
(
getValue
(),
OUString
(),
true
);
if
(
oldValue
!=
newValue
)
fireChangeEvent
();
}
// see Value
...
...
vbahelper/source/msforms/vbatextbox.cxx
Dosyayı görüntüle @
4bad1a8e
...
...
@@ -59,6 +59,7 @@ ScVbaTextBox::getText() throw (css::uno::RuntimeException)
void
SAL_CALL
ScVbaTextBox
::
setText
(
const
OUString
&
_text
)
throw
(
css
::
uno
::
RuntimeException
)
{
OUString
oldText
(
getText
()
);
if
(
!
mbDialog
)
{
uno
::
Reference
<
text
::
XTextRange
>
xTextRange
(
m_xProps
,
uno
::
UNO_QUERY_THROW
);
...
...
@@ -66,6 +67,8 @@ ScVbaTextBox::setText( const OUString& _text ) throw (css::uno::RuntimeException
}
else
m_xProps
->
setPropertyValue
(
"Text"
,
uno
::
makeAny
(
_text
)
);
if
(
oldText
!=
_text
)
fireChangeEvent
();
}
sal_Int32
SAL_CALL
...
...
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