summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-29 16:21:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-04 15:18:00 +0200
commit2c05d758b2b62c9df413e2514fb3cd233d0f3ec7 (patch)
treee0a23d3da6fb17ae97d18957fc14f4a4a8de2d3f /vcl/source/window
parenta3088b1e72ef17babe3d3664c610afd02cfe0891 (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 'vcl/source/window')
-rw-r--r--vcl/source/window/builder.cxx2
-rw-r--r--vcl/source/window/window.cxx8
2 files changed, 3 insertions, 7 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index d2bdc7f94146..abfce54a64dd 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -147,7 +147,7 @@ VclBuilder::VclBuilder(vcl::Window *pParent, const OUString& sUIDir, const OUStr
}
catch (const css::uno::Exception &rExcept)
{
- SAL_WARN("vcl.layout", "Unable to read .ui file: " << rExcept.Message);
+ SAL_WARN("vcl.layout", "Unable to read .ui file: " << rExcept);
CrashReporter::AddKeyValue("VclBuilderException", "Unable to read .ui file: " + rExcept.Message);
throw;
}
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 47153bce8a4b..0baa83b10176 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -3222,9 +3222,7 @@ Reference< XClipboard > Window::GetClipboard()
}
catch (DeploymentException & e)
{
- SAL_WARN(
- "vcl.window",
- "ignoring DeploymentException \"" << e.Message << "\"");
+ SAL_WARN("vcl.window", "ignoring " << e);
}
}
@@ -3265,9 +3263,7 @@ Reference< XClipboard > Window::GetPrimarySelection()
}
catch (RuntimeException & e)
{
- SAL_WARN(
- "vcl.window",
- "ignoring RuntimeException \"" << e.Message << "\"");
+ SAL_WARN("vcl.window", "ignoring " << e);
}
}