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
e110726b
Kaydet (Commit)
e110726b
authored
Tem 07, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
don't terminate via unhandled exception on loading rhbz1013280-2.ppt
Change-Id: Ie2bff125f6839d99280d441b823eb6e0a712844d
üst
24d20bce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
4 deletions
+19
-4
svgfilter.hxx
filter/source/svg/svgfilter.hxx
+1
-1
svgimport.cxx
filter/source/svg/svgimport.cxx
+18
-3
No files found.
filter/source/svg/svgfilter.hxx
Dosyayı görüntüle @
e110726b
...
@@ -266,7 +266,7 @@ private:
...
@@ -266,7 +266,7 @@ private:
Link
maOldFieldHdl
;
Link
maOldFieldHdl
;
bool
implImport
(
const
Sequence
<
PropertyValue
>&
rDescriptor
)
throw
(
RuntimeException
);
bool
implImport
(
const
Sequence
<
PropertyValue
>&
rDescriptor
)
throw
(
RuntimeException
,
std
::
exception
);
bool
implExport
(
const
Sequence
<
PropertyValue
>&
rDescriptor
)
throw
(
RuntimeException
);
bool
implExport
(
const
Sequence
<
PropertyValue
>&
rDescriptor
)
throw
(
RuntimeException
);
Reference
<
XWriter
>
implCreateExportDocumentHandler
(
const
Reference
<
XOutputStream
>&
rxOStm
);
Reference
<
XWriter
>
implCreateExportDocumentHandler
(
const
Reference
<
XOutputStream
>&
rxOStm
);
...
...
filter/source/svg/svgimport.cxx
Dosyayı görüntüle @
e110726b
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
#include <com/sun/star/xml/XImportFilter.hpp>
#include <com/sun/star/xml/XImportFilter.hpp>
#include <com/sun/star/io/XActiveDataSource.hpp>
#include <com/sun/star/io/XActiveDataSource.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <unotools/mediadescriptor.hxx>
#include <unotools/mediadescriptor.hxx>
...
@@ -45,8 +46,8 @@
...
@@ -45,8 +46,8 @@
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
svgi
;
using
namespace
::
svgi
;
bool
SVGFilter
::
implImport
(
const
Sequence
<
PropertyValue
>&
rDescriptor
)
bool
SVGFilter
::
implImport
(
const
Sequence
<
PropertyValue
>&
rDescriptor
)
throw
(
RuntimeException
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
utl
::
MediaDescriptor
aMediaDescriptor
(
rDescriptor
);
utl
::
MediaDescriptor
aMediaDescriptor
(
rDescriptor
);
uno
::
Reference
<
io
::
XInputStream
>
xInputStream
;
uno
::
Reference
<
io
::
XInputStream
>
xInputStream
;
...
@@ -95,8 +96,22 @@ bool SVGFilter::implImport( const Sequence< PropertyValue >& rDescriptor )
...
@@ -95,8 +96,22 @@ bool SVGFilter::implImport( const Sequence< PropertyValue >& rDescriptor )
uno
::
Reference
<
XImporter
>
xImporter
(
xInternalHandler
,
UNO_QUERY
);
uno
::
Reference
<
XImporter
>
xImporter
(
xInternalHandler
,
UNO_QUERY
);
xImporter
->
setTargetDocument
(
mxDstDoc
);
xImporter
->
setTargetDocument
(
mxDstDoc
);
bool
bRet
=
false
;
SVGReader
aReader
(
mxContext
,
xInputStream
,
xInternalHandler
);
SVGReader
aReader
(
mxContext
,
xInputStream
,
xInternalHandler
);
return
aReader
.
parseAndConvert
();
try
{
bRet
=
aReader
.
parseAndConvert
();
}
catch
(
const
RuntimeException
&
)
{
throw
;
}
catch
(
const
Exception
&
e
)
{
throw
css
::
lang
::
WrappedTargetRuntimeException
(
"SVGFilter::implImport non-RuntimeException"
,
static_cast
<
uno
::
XWeak
*>
(
this
),
uno
::
makeAny
(
e
));
}
return
bRet
;
}
}
...
...
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