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
5e4aec90
Kaydet (Commit)
5e4aec90
authored
Mar 16, 2016
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
getTypes/queryInterface/getEvents: remove superfluous getArray() and simplify
Change-Id: I5b19d01d2760c95d9c52b15f8d6174dc4aafb4e3
üst
47b62399
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
unostyle.cxx
sw/source/core/unocore/unostyle.cxx
+11
-11
No files found.
sw/source/core/unocore/unostyle.cxx
Dosyayı görüntüle @
5e4aec90
...
...
@@ -3202,28 +3202,28 @@ const SfxPoolItem* SwXFrameStyle::GetItem(enum RES_FRMATR eAtr)
return
&
xStyle
->
GetItemSet
().
Get
(
eAtr
);
}
uno
::
Sequence
<
uno
::
Type
>
SwXFrameStyle
::
getTypes
(
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
uno
::
Sequence
<
uno
::
Type
>
SwXFrameStyle
::
getTypes
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
uno
::
Sequence
<
uno
::
Type
>
aTypes
=
SwXStyle
::
getTypes
();
uno
::
Sequence
<
uno
::
Type
>
aTypes
=
SwXStyle
::
getTypes
();
sal_Int32
nLen
=
aTypes
.
getLength
();
aTypes
.
realloc
(
nLen
+
1
);
aTypes
.
getArray
()
[
nLen
]
=
cppu
::
UnoType
<
XEventsSupplier
>::
get
();
aTypes
[
nLen
]
=
cppu
::
UnoType
<
XEventsSupplier
>::
get
();
return
aTypes
;
}
uno
::
Any
SwXFrameStyle
::
queryInterface
(
const
uno
::
Type
&
rType
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
uno
::
Any
SwXFrameStyle
::
queryInterface
(
const
uno
::
Type
&
rType
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
uno
::
Any
aRet
;
if
(
rType
==
cppu
::
UnoType
<
XEventsSupplier
>::
get
())
aRet
<<=
uno
::
Reference
<
XEventsSupplier
>
(
this
);
else
aRet
=
SwXStyle
::
queryInterface
(
rType
);
return
aRet
;
return
uno
::
makeAny
(
uno
::
Reference
<
XEventsSupplier
>
(
this
));
return
SwXStyle
::
queryInterface
(
rType
);
}
uno
::
Reference
<
container
::
XNameReplace
>
SwXFrameStyle
::
getEvents
(
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
uno
::
Reference
<
container
::
XNameReplace
>
SwXFrameStyle
::
getEvents
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
return
new
SwFrameStyleEventDescriptor
(
*
this
);
return
new
SwFrameStyleEventDescriptor
(
*
this
);
}
// Already implemented autostyle families: 3
...
...
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