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
006a5d5b
Kaydet (Commit)
006a5d5b
authored
Eyl 17, 2014
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use MediaDescriptor to get input stream
Change-Id: Iecc7f373d0d352281b53324ef8824c5d7073fe8a
üst
a23a51af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
ImportFilter.hxx
writerperfect/inc/writerperfect/ImportFilter.hxx
+2
-8
No files found.
writerperfect/inc/writerperfect/ImportFilter.hxx
Dosyayı görüntüle @
006a5d5b
...
@@ -68,14 +68,9 @@ public:
...
@@ -68,14 +68,9 @@ public:
virtual
sal_Bool
SAL_CALL
filter
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>
&
rDescriptor
)
virtual
sal_Bool
SAL_CALL
filter
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>
&
rDescriptor
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
{
{
sal_Int32
nLength
=
rDescriptor
.
getLength
();
utl
::
MediaDescriptor
aDescriptor
(
rDescriptor
);
const
css
::
beans
::
PropertyValue
*
pValue
=
rDescriptor
.
getConstArray
();
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
xInputStream
;
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>
xInputStream
;
for
(
sal_Int32
i
=
0
;
i
<
nLength
;
i
++
)
aDescriptor
[
utl
::
MediaDescriptor
::
PROP_INPUTSTREAM
()]
>>=
xInputStream
;
{
if
(
pValue
[
i
].
Name
==
"InputStream"
)
pValue
[
i
].
Value
>>=
xInputStream
;
}
if
(
!
xInputStream
.
is
())
if
(
!
xInputStream
.
is
())
{
{
OSL_ASSERT
(
false
);
OSL_ASSERT
(
false
);
...
@@ -103,7 +98,6 @@ public:
...
@@ -103,7 +98,6 @@ public:
this
->
doRegisterHandlers
(
exporter
);
this
->
doRegisterHandlers
(
exporter
);
utl
::
MediaDescriptor
aDescriptor
(
rDescriptor
);
return
this
->
doImportDocument
(
input
,
exporter
,
aDescriptor
);
return
this
->
doImportDocument
(
input
,
exporter
,
aDescriptor
);
}
}
...
...
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