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
5aebf4e7
Kaydet (Commit)
5aebf4e7
authored
Kas 16, 2000
tarafından
Frank Schönheit
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#80066# getEventMethods: un-qualify the method names if necessary
üst
d5299d27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
fmtools.cxx
svx/source/form/fmtools.cxx
+16
-2
No files found.
svx/source/form/fmtools.cxx
Dosyayı görüntüle @
5aebf4e7
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: fmtools.cxx,v $
*
* $Revision: 1.
8
$
* $Revision: 1.
9
$
*
* last change: $Author:
oj $ $Date: 2000-11-15 14:53:28
$
* last change: $Author:
fs $ $Date: 2000-11-16 15:07:20
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -1388,9 +1388,23 @@ Sequence< ::rtl::OUString> getEventMethods(const Type& type)
Sequence
<
::
rtl
::
OUString
>
aNames
(
pType
->
nMembers
);
::
rtl
::
OUString
*
pNames
=
aNames
.
getArray
();
#if (SUPD<615) || defined(DBG_UTIL)
static
const
::
rtl
::
OUString
sInterfaceSeparator
(
RTL_CONSTASCII_USTRINGPARAM
(
"::"
));
#endif
for
(
sal_Int32
i
=
0
;
i
<
pType
->
nMembers
;
i
++
,
++
pNames
)
{
*
pNames
=
pType
->
ppMembers
[
i
]
->
pTypeName
;
// currently, there may be method names which are fully qualified, though I think this is wrong. I hope
// for a fix in the type lib which will give us unqualified method names, again (like it was at least in
// 569).
// But perhaps this code here has to become permanent if MM states that qualified names are correct ...
// 80066 - 00/11/16 - FS
#if SUPD<615
if
(
sal_Int32
nSeparatorPos
=
pNames
->
indexOf
(
sInterfaceSeparator
))
*
pNames
=
pNames
->
copy
(
nSeparatorPos
+
sInterfaceSeparator
.
getLength
());
#else
DBG_ASSERT
(
0
==
pNames
->
indexOf
(
sInterfaceSeparator
),
"getEventMethods: detected a qualified event name!"
);
#endif
}
typelib_typedescription_release
(
(
typelib_TypeDescription
*
)
pType
);
...
...
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