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
07d7a03b
Kaydet (Commit)
07d7a03b
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 ooo89328-1.sxc
Change-Id: If266fa0ebaf2c3c0cd54238879a858098066c03d
üst
86c6f18c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
3 deletions
+19
-3
xmleohlp.cxx
svx/source/xml/xmleohlp.cxx
+19
-3
No files found.
svx/source/xml/xmleohlp.cxx
Dosyayı görüntüle @
07d7a03b
...
...
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/embed/XTransactedObject.hpp>
#include <com/sun/star/embed/XEmbedObjectCreator.hpp>
#include <com/sun/star/embed/XEmbedObjectFactory.hpp>
...
...
@@ -29,7 +30,7 @@
#include <com/sun/star/embed/EntryInitModes.hpp>
#include <com/sun/star/embed/EmbedStates.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/
beans/XPropertySet
.hpp>
#include <com/sun/star/
lang/WrappedTargetRuntimeException
.hpp>
#include <tools/debug.hxx>
#include <unotools/streamwrap.hxx>
#include <unotools/tempfile.hxx>
...
...
@@ -605,12 +606,27 @@ void SvXMLEmbeddedObjectHelper::Flush()
}
// XGraphicObjectResolver: alien objects!
OUString
SAL_CALL
SvXMLEmbeddedObjectHelper
::
resolveEmbeddedObjectURL
(
const
OUString
&
aURL
)
OUString
SAL_CALL
SvXMLEmbeddedObjectHelper
::
resolveEmbeddedObjectURL
(
const
OUString
&
rURL
)
throw
(
RuntimeException
,
std
::
exception
)
{
MutexGuard
aGuard
(
maMutex
);
return
ImplInsertEmbeddedObjectURL
(
aURL
);
OUString
sRet
;
try
{
sRet
=
ImplInsertEmbeddedObjectURL
(
rURL
);
}
catch
(
const
RuntimeException
&
)
{
throw
;
}
catch
(
const
Exception
&
e
)
{
throw
WrappedTargetRuntimeException
(
"SvXMLEmbeddedObjectHelper::resolveEmbeddedObjectURL non-RuntimeException"
,
static_cast
<
uno
::
XWeak
*>
(
this
),
uno
::
makeAny
(
e
));
}
return
sRet
;
}
// XNameAccess: alien objects!
...
...
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