summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba')
-rw-r--r--sc/source/ui/vba/vbachartobjects.cxx2
-rw-r--r--sc/source/ui/vba/vbarange.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbachartobjects.cxx b/sc/source/ui/vba/vbachartobjects.cxx
index 970c9802442d..656deb64de33 100644
--- a/sc/source/ui/vba/vbachartobjects.cxx
+++ b/sc/source/ui/vba/vbachartobjects.cxx
@@ -146,7 +146,7 @@ ScVbaChartObjects::Add( double _nX, double _nY, double _nWidth, double _nHeight
}
catch (const uno::Exception& ex)
{
- SAL_WARN("sc", "AddItem caught exception " << ex.Message );
+ SAL_WARN("sc", "AddItem caught " << ex );
}
return aNULL();
}
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index f0dd8bb376cc..b5c8573555f3 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -1556,7 +1556,7 @@ ScVbaRange::setValue( const uno::Any& aValue, ValueSetter& valueSetter )
}
catch ( const uno::Exception& e )
{
- SAL_WARN("sc", "Bahhh, caught exception " << e.Message );
+ SAL_WARN("sc", "Bahhh, caught " << e );
}
}
else