summaryrefslogtreecommitdiff
path: root/oox/source/drawingml
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml')
-rw-r--r--oox/source/drawingml/shape.cxx6
-rw-r--r--oox/source/drawingml/textfield.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 292f2a2be8d0..6064220e602c 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -276,7 +276,7 @@ void Shape::addShape(
}
catch( const Exception& e )
{
- SAL_WARN( "oox.drawingml", "Shape::addShape: Exception: " << e.Message );
+ SAL_WARN( "oox.drawingml", "Shape::addShape: " << e );
}
}
@@ -1229,7 +1229,7 @@ void Shape::keepDiagramCompatibilityInfo( XmlFilterBase const & rFilterBase )
}
catch( const Exception& e )
{
- SAL_WARN( "oox.drawingml", "Shape::keepDiagramCompatibilityInfo: Exception: " << e.Message );
+ SAL_WARN( "oox.drawingml", "Shape::keepDiagramCompatibilityInfo: " << e );
}
}
@@ -1298,7 +1298,7 @@ Reference < XShape > Shape::renderDiagramToGraphic( XmlFilterBase const & rFilte
}
catch( const Exception& e )
{
- SAL_WARN( "oox.drawingml", "Shape::renderDiagramToGraphic: Exception: " << e.Message );
+ SAL_WARN( "oox.drawingml", "Shape::renderDiagramToGraphic: " << e );
}
return xShape;
diff --git a/oox/source/drawingml/textfield.cxx b/oox/source/drawingml/textfield.cxx
index 2a3527779e41..3fed73ce56d9 100644
--- a/oox/source/drawingml/textfield.cxx
+++ b/oox/source/drawingml/textfield.cxx
@@ -130,7 +130,7 @@ void lclCreateTextFields( std::list< Reference< XTextField > > & aFields,
}
catch(Exception & e)
{
- SAL_WARN("oox", "Exception " << e.Message );
+ SAL_WARN("oox", e );
}
}
else if ( sType == "slidenum" )