diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-29 16:21:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-04 15:18:00 +0200 |
commit | 2c05d758b2b62c9df413e2514fb3cd233d0f3ec7 (patch) | |
tree | e0a23d3da6fb17ae97d18957fc14f4a4a8de2d3f /oox/source/helper | |
parent | a3088b1e72ef17babe3d3664c610afd02cfe0891 (diff) |
add << operator for css::uno::Exception
Change-Id: Ia23dafd07133779144965682df3b7125a3214235
Reviewed-on: https://gerrit.libreoffice.org/43046
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'oox/source/helper')
-rw-r--r-- | oox/source/helper/propertyset.cxx | 4 | ||||
-rw-r--r-- | oox/source/helper/zipstorage.cxx | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/oox/source/helper/propertyset.cxx b/oox/source/helper/propertyset.cxx index 52b44d79cbcd..ce36308eb425 100644 --- a/oox/source/helper/propertyset.cxx +++ b/oox/source/helper/propertyset.cxx @@ -119,7 +119,7 @@ bool PropertySet::implGetPropertyValue( Any& orValue, const OUString& rPropName catch( Exception& e) { SAL_WARN( "oox", "PropertySet::implGetPropertyValue - cannot get property \"" << - rPropName << "\" Error: " << e.Message); + rPropName << "\" Error: " << e); } return false; } @@ -134,7 +134,7 @@ bool PropertySet::implSetPropertyValue( const OUString& rPropName, const Any& rV catch( Exception& e) { SAL_WARN( "oox", "PropertySet::implSetPropertyValue - cannot set property \"" << - rPropName << "\" Error: " << e.Message); + rPropName << "\" Error: " << e); } return false; } diff --git a/oox/source/helper/zipstorage.cxx b/oox/source/helper/zipstorage.cxx index d60e24b8488b..90d38554c359 100644 --- a/oox/source/helper/zipstorage.cxx +++ b/oox/source/helper/zipstorage.cxx @@ -63,7 +63,7 @@ ZipStorage::ZipStorage( const Reference< XComponentContext >& rxContext, const R catch (Exception const& e) { SAL_WARN("oox.storage", "ZipStorage::ZipStorage " - "exception opening input storage: " << e.Message); + "exception opening input storage: " << e); } } @@ -81,7 +81,7 @@ ZipStorage::ZipStorage( const Reference< XComponentContext >& rxContext, const R catch (Exception const& e) { SAL_WARN("oox.storage", "ZipStorage::ZipStorage " - "exception opening output storage: " << e.Message); + "exception opening output storage: " << e); } } @@ -118,7 +118,7 @@ void ZipStorage::implGetElementNames( ::std::vector< OUString >& orElementNames } catch (Exception const& e) { - SAL_INFO("oox.storage", "getElementNames: exception: " << e.Message); + SAL_INFO("oox.storage", "getElementNames: " << e); } } @@ -139,7 +139,7 @@ StorageRef ZipStorage::implOpenSubStorage( const OUString& rElementName, bool bC } catch (Exception const& e) { - SAL_INFO("oox.storage", "openStorageElement: exception: " << e.Message); + SAL_INFO("oox.storage", "openStorageElement: " << e); } if( bMissing && bCreateMissing ) try @@ -149,7 +149,7 @@ StorageRef ZipStorage::implOpenSubStorage( const OUString& rElementName, bool bC } catch (Exception const& e) { - SAL_INFO("oox.storage", "openStorageElement: exception: " << e.Message); + SAL_INFO("oox.storage", "openStorageElement: " << e); } StorageRef xSubStorage; @@ -167,7 +167,7 @@ Reference< XInputStream > ZipStorage::implOpenInputStream( const OUString& rElem } catch (Exception const& e) { - SAL_INFO("oox.storage", "openStreamElement: exception: " << e.Message); + SAL_INFO("oox.storage", "openStreamElement: " << e); } return xInStream; } @@ -181,7 +181,7 @@ Reference< XOutputStream > ZipStorage::implOpenOutputStream( const OUString& rEl } catch (Exception const& e) { - SAL_INFO("oox.storage", "openStreamElement: exception: " << e.Message); + SAL_INFO("oox.storage", "openStreamElement: " << e); } return xOutStream; } @@ -194,7 +194,7 @@ void ZipStorage::implCommit() const } catch (Exception const& e) { - SAL_WARN("oox.storage", "commit: exception: " << e.Message); + SAL_WARN("oox.storage", "commit: " << e); } } |