diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-02-10 00:11:01 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-02-10 02:10:04 +0100 |
commit | af8c7599148cf8c2bed567a8fdf5393fc3c16409 (patch) | |
tree | 058063b70541103214b38fb93e3df0c1b7ae448a /sfx2/source/view | |
parent | ca8ac449e3524f895de1e94a3c5d511591031b40 (diff) |
embeddedobj: log some exceptions
Change-Id: I2e565bc6e57f7bf59fdd6eb5fc577e0b3d58b9f6
Diffstat (limited to 'sfx2/source/view')
-rw-r--r-- | sfx2/source/view/ipclient.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index 1310df3b2add..ffed312864dd 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -971,8 +971,11 @@ ErrCode SfxInPlaceClient::DoVerb( long nVerb ) m_pImp->m_aScaleHeight = Fraction( aScaledArea.GetHeight(), aNewSize.Height() ); } } - catch ( uno::Exception& ) + catch (uno::Exception const& e) { + SAL_WARN("embeddedobj", "SfxInPlaceClient::DoVerb:" + " -9 fallback path: exception caught: " + << e.Message); nError = ERRCODE_SO_GENERALERROR; } } @@ -982,8 +985,10 @@ ErrCode SfxInPlaceClient::DoVerb( long nVerb ) // TODO/LATER: it would be nice to be able to provide the current target state outside nError = ERRCODE_SO_CANNOT_DOVERB_NOW; } - catch ( uno::Exception& ) + catch (uno::Exception const& e) { + SAL_WARN("embeddedobj", "SfxInPlaceClient::DoVerb:" + " exception caught: " << e.Message); nError = ERRCODE_SO_GENERALERROR; //TODO/LATER: better error handling } |