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
3dfcc045
Kaydet (Commit)
3dfcc045
authored
Ara 12, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
pyuno: Use appropriate OUString functions on string constants
Change-Id: Ib507da6fc85d8bc81fd48108a98ef96d188643ac
üst
fe20b3d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pyuno_adapter.cxx
pyuno/source/module/pyuno_adapter.cxx
+3
-3
No files found.
pyuno/source/module/pyuno_adapter.cxx
Dosyayı görüntüle @
3dfcc045
...
@@ -182,7 +182,7 @@ Any Adapter::invoke( const OUString &aFunctionName,
...
@@ -182,7 +182,7 @@ Any Adapter::invoke( const OUString &aFunctionName,
// special hack for the uno object identity concept. The XUnoTunnel.getSomething() call is
// special hack for the uno object identity concept. The XUnoTunnel.getSomething() call is
// always handled by the adapter directly.
// always handled by the adapter directly.
if
(
aParams
.
getLength
()
==
1
&&
aFunctionName
.
equalsAscii
(
"getSomething"
)
)
if
(
aParams
.
getLength
()
==
1
&&
aFunctionName
==
"getSomething"
)
{
{
Sequence
<
sal_Int8
>
id
;
Sequence
<
sal_Int8
>
id
;
if
(
aParams
[
0
]
>>=
id
)
if
(
aParams
[
0
]
>>=
id
)
...
@@ -244,8 +244,8 @@ Any Adapter::invoke( const OUString &aFunctionName,
...
@@ -244,8 +244,8 @@ Any Adapter::invoke( const OUString &aFunctionName,
if
(
ret
.
hasValue
()
&&
if
(
ret
.
hasValue
()
&&
ret
.
getValueTypeClass
()
==
com
::
sun
::
star
::
uno
::
TypeClass_SEQUENCE
&&
ret
.
getValueTypeClass
()
==
com
::
sun
::
star
::
uno
::
TypeClass_SEQUENCE
&&
!
aFunctionName
.
equalsAscii
(
"getTypes"
)
&&
// needed by introspection itself !
aFunctionName
!=
"getTypes"
&&
// needed by introspection itself !
!
aFunctionName
.
equalsAscii
(
"getImplementationId"
)
)
// needed by introspection itself !
aFunctionName
!=
"getImplementationId"
)
// needed by introspection itself !
{
{
// the sequence can either be
// the sequence can either be
// 1) a simple sequence return value
// 1) a simple sequence return value
...
...
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