summaryrefslogtreecommitdiff
path: root/svtools/source/config
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 /svtools/source/config
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 'svtools/source/config')
-rw-r--r--svtools/source/config/accessibilityoptions.cxx24
-rw-r--r--svtools/source/config/itemholder2.cxx2
-rw-r--r--svtools/source/config/printoptions.cxx28
3 files changed, 27 insertions, 27 deletions
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx
index 9ec4c798572e..4f00f2b73a44 100644
--- a/svtools/source/config/accessibilityoptions.cxx
+++ b/svtools/source/config/accessibilityoptions.cxx
@@ -95,7 +95,7 @@ SvtAccessibilityOptions_Impl::SvtAccessibilityOptions_Impl()
catch(const css::uno::Exception& ex)
{
m_xCfg.clear();
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
}
@@ -111,7 +111,7 @@ bool SvtAccessibilityOptions_Impl::GetIsForPagePreviews() const
}
catch(const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return bRet;
}
@@ -128,7 +128,7 @@ bool SvtAccessibilityOptions_Impl::GetIsHelpTipsDisappear() const
}
catch(const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return bRet;
@@ -146,7 +146,7 @@ bool SvtAccessibilityOptions_Impl::GetIsAllowAnimatedGraphics() const
}
catch(const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return bRet;
@@ -164,7 +164,7 @@ bool SvtAccessibilityOptions_Impl::GetIsAllowAnimatedText() const
}
catch(const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return bRet;
@@ -182,7 +182,7 @@ bool SvtAccessibilityOptions_Impl::GetIsAutomaticFontColor() const
}
catch(const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return bRet;
@@ -200,7 +200,7 @@ sal_Int16 SvtAccessibilityOptions_Impl::GetHelpTipSeconds() const
}
catch(const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return nRet;
@@ -218,7 +218,7 @@ bool SvtAccessibilityOptions_Impl::IsSelectionInReadonly() const
}
catch(const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return bRet;
@@ -236,7 +236,7 @@ sal_Int16 SvtAccessibilityOptions_Impl::GetEdgeBlending() const
}
catch(const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return nRet;
@@ -254,7 +254,7 @@ sal_Int16 SvtAccessibilityOptions_Impl::GetListBoxMaximumLineCount() const
}
catch(const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return nRet;
@@ -272,7 +272,7 @@ sal_Int16 SvtAccessibilityOptions_Impl::GetColorValueSetColumnCount() const
}
catch(const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return nRet;
@@ -290,7 +290,7 @@ bool SvtAccessibilityOptions_Impl::GetPreviewUsesCheckeredBackground() const
}
catch(const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return bRet;
diff --git a/svtools/source/config/itemholder2.cxx b/svtools/source/config/itemholder2.cxx
index 2512715caab8..e9a18b21054a 100644
--- a/svtools/source/config/itemholder2.cxx
+++ b/svtools/source/config/itemholder2.cxx
@@ -59,7 +59,7 @@ ItemHolder2::ItemHolder2()
if(bMessage)
{
bMessage = false;
- SAL_WARN( "svtools", "CreateInstance with arguments exception: " << rEx.Message );
+ SAL_WARN( "svtools", "CreateInstance with arguments: " << rEx );
}
}
#else
diff --git a/svtools/source/config/printoptions.cxx b/svtools/source/config/printoptions.cxx
index 2e3cc7d7642a..81d7c7a275d3 100644
--- a/svtools/source/config/printoptions.cxx
+++ b/svtools/source/config/printoptions.cxx
@@ -138,7 +138,7 @@ SvtPrintOptions_Impl::SvtPrintOptions_Impl(const OUString& rConfigRoot)
{
m_xNode.clear();
m_xCfg.clear();
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
}
@@ -156,7 +156,7 @@ bool SvtPrintOptions_Impl::IsReduceTransparency() const
}
catch (const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return bRet;
@@ -176,7 +176,7 @@ sal_Int16 SvtPrintOptions_Impl::GetReducedTransparencyMode() const
}
catch (const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return nRet;
@@ -198,7 +198,7 @@ bool SvtPrintOptions_Impl::IsReduceGradients() const
}
catch (const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return bRet;
@@ -220,7 +220,7 @@ sal_Int16 SvtPrintOptions_Impl::GetReducedGradientMode() const
}
catch (const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return nRet;
@@ -242,7 +242,7 @@ sal_Int16 SvtPrintOptions_Impl::GetReducedGradientStepCount() const
}
catch (const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return nRet;
@@ -264,7 +264,7 @@ bool SvtPrintOptions_Impl::IsReduceBitmaps() const
}
catch (const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return bRet;
@@ -286,7 +286,7 @@ sal_Int16 SvtPrintOptions_Impl::GetReducedBitmapMode() const
}
catch (const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return nRet;
@@ -308,7 +308,7 @@ sal_Int16 SvtPrintOptions_Impl::GetReducedBitmapResolution() const
}
catch (const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return nRet;
@@ -330,7 +330,7 @@ bool SvtPrintOptions_Impl::IsReducedBitmapIncludesTransparency() const
}
catch (const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return bRet;
@@ -352,7 +352,7 @@ bool SvtPrintOptions_Impl::IsConvertToGreyscales() const
}
catch (const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return bRet;
@@ -375,7 +375,7 @@ bool SvtPrintOptions_Impl::IsPDFAsStandardPrintJobFormat() const
}
catch (const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
return bRet;
@@ -465,7 +465,7 @@ void SvtPrintOptions_Impl::impl_setValue (const OUString& sProp, bool bNew )
}
catch(const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
}
@@ -493,7 +493,7 @@ void SvtPrintOptions_Impl::impl_setValue (const OUString& sProp,
}
catch(const css::uno::Exception& ex)
{
- SAL_WARN("svtools.config", "Caught unexpected: " << ex.Message);
+ SAL_WARN("svtools.config", "Caught unexpected: " << ex);
}
}