From 3b9f61ae2e25c4aa3f06c45fe2603a7a2fd41574 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Tue, 18 Oct 2016 11:56:59 +0200 Subject: Any.get() is Any Change-Id: I0939163fb2180af319ff9828564126a7d8ad4788 Reviewed-on: https://gerrit.libreoffice.org/30002 Reviewed-by: Jochen Nitschke Tested-by: Jenkins --- sw/source/core/inc/wrong.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/core/inc') diff --git a/sw/source/core/inc/wrong.hxx b/sw/source/core/inc/wrong.hxx index 375de4f6586e..0c1df35b11dd 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)) -- cgit v1.2.3