diff options
Diffstat (limited to 'oox/source/export')
-rw-r--r-- | oox/source/export/chartexport.cxx | 12 | ||||
-rw-r--r-- | oox/source/export/shapes.cxx | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index bbf0cf113f14..e3b69806df07 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -185,7 +185,7 @@ Reference< chart2::data::XLabeledDataSequence > lcl_getCategories( const Referen } catch( const uno::Exception & ex ) { - SAL_WARN( "oox", "Exception caught. " << ex.Message); + SAL_WARN( "oox", "Exception caught. " << ex); } return xResult; @@ -232,7 +232,7 @@ bool lcl_isSeriesAttachedToFirstAxis( } catch( const uno::Exception & ex ) { - SAL_WARN( "oox", "Exception caught. " << ex.Message); + SAL_WARN( "oox", "Exception caught. " << ex); } return bResult; @@ -540,7 +540,7 @@ void ChartExport::InitRangeSegmentationProperties( const Reference< chart2::XCha } catch( const uno::Exception & ex ) { - SAL_WARN( "oox", "Exception caught. " << ex.Message); + SAL_WARN( "oox", "Exception caught. " << ex); } } @@ -1289,7 +1289,7 @@ void ChartExport::exportBitmapFill( const Reference< XPropertySet >& xPropSet ) } catch (const uno::Exception & rEx) { - SAL_INFO("oox", "ChartExport::exportBitmapFill " << rEx.Message); + SAL_INFO("oox", "ChartExport::exportBitmapFill " << rEx); } } @@ -1318,7 +1318,7 @@ void ChartExport::exportGradientFill( const Reference< XPropertySet >& xPropSet catch (const uno::Exception & rEx) { SAL_INFO("oox", - "ChartExport::exportGradientFill " << rEx.Message); + "ChartExport::exportGradientFill " << rEx); } } @@ -3036,7 +3036,7 @@ void ChartExport::exportDataPoints( } catch( const uno::Exception & rEx ) { - SAL_WARN( "oox", "Exception caught during Export of data point: " << rEx.Message ); + SAL_WARN( "oox", "Exception caught during Export of data point: " << rEx ); } } else diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index f1073262da70..b5a44c754c11 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -289,7 +289,7 @@ static uno::Reference<io::XInputStream> lcl_StoreOwnAsOOXML( } catch (uno::Exception const& e) { - SAL_WARN("oox.shape", "oox::GetOLEObjectStream: exception: \"" << e.Message << "\""); + SAL_WARN("oox.shape", "oox::GetOLEObjectStream: " << e); return nullptr; } xTempStream->getOutputStream()->closeOutput(); @@ -329,7 +329,7 @@ uno::Reference<io::XInputStream> GetOLEObjectStream( } catch (uno::Exception const& e) { - SAL_WARN("oox.shape", "oox::GetOLEObjectStream: exception: " << e.Message); + SAL_WARN("oox.shape", "oox::GetOLEObjectStream: " << e); } return xInStream; } @@ -1968,7 +1968,7 @@ ShapeExport& ShapeExport::WriteOLE2Shape( const Reference< XShape >& xShape ) } catch (uno::Exception const& e) { - SAL_WARN("oox.shape", "ShapeExport::WriteOLE2Shape: exception: " << e.Message); + SAL_WARN("oox.shape", "ShapeExport::WriteOLE2Shape: " << e); return *this; } @@ -2037,7 +2037,7 @@ ShapeExport& ShapeExport::WriteOLE2Shape( const Reference< XShape >& xShape ) try { ::comphelper::OStorageHelper::CopyInputToOutput(xInStream, xOutStream); } catch (uno::Exception const& e) { - SAL_WARN("oox.shape", "ShapeExport::WriteOLEObject: exception: " << e.Message); + SAL_WARN("oox.shape", "ShapeExport::WriteOLEObject: " << e); } OUString const sRelId = mpFB->addRelation( |