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
039913c3
Kaydet (Commit)
039913c3
authored
May 19, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:stringcopy: toolkit
Change-Id: I6725d1f1e447d37de2de6442c66a9942b05d2dbf
üst
2dda43ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
vclxwindows.cxx
toolkit/source/awt/vclxwindows.cxx
+4
-4
formattedcontrol.cxx
toolkit/source/controls/formattedcontrol.cxx
+1
-1
No files found.
toolkit/source/awt/vclxwindows.cxx
Dosyayı görüntüle @
039913c3
...
...
@@ -2094,7 +2094,7 @@ void SAL_CALL VCLXListBox::listItemModified( const ItemListEvent& i_rEvent )
// VCL's ListBox does not support changing an entry's text or image, so remove and re-insert
const
OUString
sNewText
=
i_rEvent
.
ItemText
.
IsPresent
?
i_rEvent
.
ItemText
.
Value
:
OUString
(
pListBox
->
GetEntry
(
i_rEvent
.
ItemPosition
)
);
const
OUString
sNewText
=
i_rEvent
.
ItemText
.
IsPresent
?
i_rEvent
.
ItemText
.
Value
:
pListBox
->
GetEntry
(
i_rEvent
.
ItemPosition
);
const
Image
aNewImage
(
i_rEvent
.
ItemImageURL
.
IsPresent
?
TkResMgr
::
getImageFromURL
(
i_rEvent
.
ItemImageURL
.
Value
)
:
pListBox
->
GetEntryImage
(
i_rEvent
.
ItemPosition
)
);
pListBox
->
RemoveEntry
(
i_rEvent
.
ItemPosition
);
...
...
@@ -4536,7 +4536,7 @@ void SAL_CALL VCLXComboBox::listItemModified( const ItemListEvent& i_rEvent )
// VCL's ComboBox does not support changing an entry's text or image, so remove and re-insert
const
OUString
sNewText
=
i_rEvent
.
ItemText
.
IsPresent
?
i_rEvent
.
ItemText
.
Value
:
OUString
(
pComboBox
->
GetEntry
(
i_rEvent
.
ItemPosition
)
);
const
OUString
sNewText
=
i_rEvent
.
ItemText
.
IsPresent
?
i_rEvent
.
ItemText
.
Value
:
pComboBox
->
GetEntry
(
i_rEvent
.
ItemPosition
);
const
Image
aNewImage
(
i_rEvent
.
ItemImageURL
.
IsPresent
?
lcl_getImageFromURL
(
i_rEvent
.
ItemImageURL
.
Value
)
:
pComboBox
->
GetEntryImage
(
i_rEvent
.
ItemPosition
)
);
pComboBox
->
RemoveEntryAt
(
i_rEvent
.
ItemPosition
);
...
...
@@ -5940,7 +5940,7 @@ css::uno::Any VCLXMetricField::getProperty( const OUString& PropertyName )
aProp
<<=
(
sal_uInt16
)
(
GetAs
<
MetricField
>
()
->
GetUnit
());
break
;
case
BASEPROPERTY_CUSTOMUNITTEXT
:
aProp
<<=
OUString
(
GetAs
<
MetricField
>
()
->
GetCustomUnitText
()
);
aProp
<<=
GetAs
<
MetricField
>
()
->
GetCustomUnitText
(
);
break
;
default
:
{
...
...
@@ -6292,7 +6292,7 @@ css::uno::Any VCLXCurrencyField::getProperty( const OUString& PropertyName )
break
;
case
BASEPROPERTY_CURRENCYSYMBOL
:
{
aProp
<<=
OUString
(
GetAs
<
LongCurrencyField
>
()
->
GetCurrencySymbol
()
);
aProp
<<=
GetAs
<
LongCurrencyField
>
()
->
GetCurrencySymbol
(
);
}
break
;
case
BASEPROPERTY_NUMSHOWTHOUSANDSEP
:
...
...
toolkit/source/controls/formattedcontrol.cxx
Dosyayı görüntüle @
039913c3
...
...
@@ -379,7 +379,7 @@ namespace toolkit
Any
aReturn
;
switch
(
nPropId
)
{
case
BASEPROPERTY_DEFAULTCONTROL
:
aReturn
<<=
OUString
(
OUString
::
createFromAscii
(
szServiceName_UnoControlFormattedField
)
);
break
;
case
BASEPROPERTY_DEFAULTCONTROL
:
aReturn
<<=
OUString
::
createFromAscii
(
szServiceName_UnoControlFormattedField
);
break
;
case
BASEPROPERTY_TREATASNUMBER
:
aReturn
<<=
true
;
break
;
...
...
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