[Libreoffice-commits] core.git: sw/source

Jochen Nitschke j.nitschke+logerrit at ok.de
Tue Oct 18 13:12:17 UTC 2016


 sw/source/core/inc/wrong.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3b9f61ae2e25c4aa3f06c45fe2603a7a2fd41574
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Tue Oct 18 11:56:59 2016 +0200

    Any.get<Any>() is Any
    
    Change-Id: I0939163fb2180af319ff9828564126a7d8ad4788
    Reviewed-on: https://gerrit.libreoffice.org/30002
    Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/sw/source/core/inc/wrong.hxx b/sw/source/core/inc/wrong.hxx
index 375de4f..0c1df35 100644
--- a/sw/source/core/inc/wrong.hxx
+++ b/sw/source/core/inc/wrong.hxx
@@ -82,7 +82,7 @@ private:
             if (xPropertyBag.is())
             {
                 const OUString colorKey("LineColor");
-                css::uno::Any aLineColor = xPropertyBag->getValue(colorKey).get< css::uno::Any>();
+                css::uno::Any aLineColor = xPropertyBag->getValue(colorKey);
                 css::util::Color lineColor = 0;
 
                 if (aLineColor >>= lineColor)
@@ -108,7 +108,7 @@ private:
             if (xPropertyBag.is())
             {
                 const OUString typeKey("LineType");
-                css::uno::Any aLineType = xPropertyBag->getValue(typeKey).get< css::uno::Any>();
+                css::uno::Any aLineType = xPropertyBag->getValue(typeKey);
                 ::sal_Int16 lineType = 0;
 
                 if (!(aLineType >>= lineType))


More information about the Libreoffice-commits mailing list