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
9deb4ff1
Kaydet (Commit)
9deb4ff1
authored
Eyl 15, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Mark template member fns that are supposed to override as SAL_OVERRIDE
Change-Id: I712f352635a2e258bfaf60dc30ed764666a51f15
üst
4a96ee8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
vbacollectionimpl.hxx
include/vbahelper/vbacollectionimpl.hxx
+6
-6
No files found.
include/vbahelper/vbacollectionimpl.hxx
Dosyayı görüntüle @
9deb4ff1
...
@@ -281,13 +281,13 @@ public:
...
@@ -281,13 +281,13 @@ public:
ScVbaCollectionBase
(
const
css
::
uno
::
Reference
<
ov
::
XHelperInterface
>&
xParent
,
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
,
const
css
::
uno
::
Reference
<
css
::
container
::
XIndexAccess
>&
xIndexAccess
,
bool
bIgnoreCase
=
false
)
:
BaseColBase
(
xParent
,
xContext
),
m_xIndexAccess
(
xIndexAccess
),
mbIgnoreCase
(
bIgnoreCase
)
{
m_xNameAccess
.
set
(
m_xIndexAccess
,
css
::
uno
::
UNO_QUERY
);
}
ScVbaCollectionBase
(
const
css
::
uno
::
Reference
<
ov
::
XHelperInterface
>&
xParent
,
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
,
const
css
::
uno
::
Reference
<
css
::
container
::
XIndexAccess
>&
xIndexAccess
,
bool
bIgnoreCase
=
false
)
:
BaseColBase
(
xParent
,
xContext
),
m_xIndexAccess
(
xIndexAccess
),
mbIgnoreCase
(
bIgnoreCase
)
{
m_xNameAccess
.
set
(
m_xIndexAccess
,
css
::
uno
::
UNO_QUERY
);
}
//XCollection
//XCollection
virtual
::
sal_Int32
SAL_CALL
getCount
()
throw
(
css
::
uno
::
RuntimeException
)
virtual
::
sal_Int32
SAL_CALL
getCount
()
throw
(
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
{
{
return
m_xIndexAccess
->
getCount
();
return
m_xIndexAccess
->
getCount
();
}
}
virtual
css
::
uno
::
Any
SAL_CALL
Item
(
const
css
::
uno
::
Any
&
Index1
,
const
css
::
uno
::
Any
&
/*not processed in this base class*/
)
virtual
css
::
uno
::
Any
SAL_CALL
Item
(
const
css
::
uno
::
Any
&
Index1
,
const
css
::
uno
::
Any
&
/*not processed in this base class*/
)
throw
(
css
::
lang
::
IndexOutOfBoundsException
,
css
::
script
::
BasicErrorException
,
css
::
uno
::
RuntimeException
)
throw
(
css
::
lang
::
IndexOutOfBoundsException
,
css
::
script
::
BasicErrorException
,
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
{
{
if
(
Index1
.
getValueTypeClass
()
!=
css
::
uno
::
TypeClass_STRING
)
if
(
Index1
.
getValueTypeClass
()
!=
css
::
uno
::
TypeClass_STRING
)
{
{
...
@@ -306,17 +306,17 @@ public:
...
@@ -306,17 +306,17 @@ public:
}
}
// XDefaultMethod
// XDefaultMethod
OUString
SAL_CALL
getDefaultMethodName
(
)
throw
(
css
::
uno
::
RuntimeException
)
OUString
SAL_CALL
getDefaultMethodName
(
)
throw
(
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
{
{
return
OUString
(
"Item"
);
return
OUString
(
"Item"
);
}
}
// XEnumerationAccess
// XEnumerationAccess
virtual
css
::
uno
::
Reference
<
css
::
container
::
XEnumeration
>
SAL_CALL
createEnumeration
()
throw
(
css
::
uno
::
RuntimeException
)
=
0
;
virtual
css
::
uno
::
Reference
<
css
::
container
::
XEnumeration
>
SAL_CALL
createEnumeration
()
throw
(
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
=
0
;
// XElementAccess
// XElementAccess
virtual
css
::
uno
::
Type
SAL_CALL
getElementType
()
throw
(
css
::
uno
::
RuntimeException
)
=
0
;
virtual
css
::
uno
::
Type
SAL_CALL
getElementType
()
throw
(
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
=
0
;
// XElementAccess
// XElementAccess
virtual
sal_Bool
SAL_CALL
hasElements
()
throw
(
css
::
uno
::
RuntimeException
)
virtual
sal_Bool
SAL_CALL
hasElements
()
throw
(
css
::
uno
::
RuntimeException
)
SAL_OVERRIDE
{
{
return
(
m_xIndexAccess
->
getCount
()
>
0
);
return
(
m_xIndexAccess
->
getCount
()
>
0
);
}
}
...
...
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