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
6b15221e
Kaydet (Commit)
6b15221e
authored
Tem 13, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
better error messages for exceptions in XShapeDumper.cxx
Change-Id: I37761931b9f8351036f360423f481f53a59855fb
üst
5b6123e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
XShapeDumper.cxx
drawinglayer/source/dumper/XShapeDumper.cxx
+12
-3
No files found.
drawinglayer/source/dumper/XShapeDumper.cxx
Dosyayı görüntüle @
6b15221e
...
...
@@ -35,6 +35,8 @@
#include <com/sun/star/text/XText.hpp>
#include <rtl/strbuf.hxx>
#include <libxml/xmlwriter.h>
#include <iostream>
#include <rtl/oustringostreaminserter.hxx>
#define DEBUG_DUMPER 0
...
...
@@ -1834,9 +1836,9 @@ void dumpXShape(uno::Reference< drawing::XShape > xShape, xmlTextWriterPtr xmlWr
enhancedDumper
.
dumpEnhancedCustomShapeTextPathService
(
xPropSet
);
}
}
// end of the 'try' block
catch
(
co
m
::
sun
::
star
::
beans
::
UnknownPropertyException
&
e
)
catch
(
co
nst
beans
::
UnknownPropertyException
&
e
)
{
printf
(
"Problem in the XShapeDumper"
)
;
std
::
cout
<<
"Exception caught in XShapeDumper.cxx: "
<<
e
.
Message
<<
std
::
endl
;
}
#if DEBUG_DUMPER
...
...
@@ -1877,7 +1879,14 @@ rtl::OUString XShapeDumper::dump(uno::Reference<drawing::XShapes> xPageShapes)
xmlTextWriterStartDocument
(
xmlWriter
,
NULL
,
NULL
,
NULL
);
dumpXShapes
(
xPageShapes
,
xmlWriter
);
try
{
dumpXShapes
(
xPageShapes
,
xmlWriter
);
}
catch
(
const
beans
::
UnknownPropertyException
&
e
)
{
std
::
cout
<<
"Exception caught in XShapeDumper: "
<<
e
.
Message
<<
std
::
endl
;
}
xmlTextWriterEndDocument
(
xmlWriter
);
xmlFreeTextWriter
(
xmlWriter
);
...
...
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