diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-18 11:56:59 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-18 13:11:56 +0000 |
commit | 3b9f61ae2e25c4aa3f06c45fe2603a7a2fd41574 (patch) | |
tree | e3a10883cdaa3e9b73defd8b5f3b3625aa07cbaa /sw/source/core/inc | |
parent | 1a583283d6b58c8951cb52faac82ecb24fdbf1b3 (diff) |
Any.get<Any>() is Any
Change-Id: I0939163fb2180af319ff9828564126a7d8ad4788
Reviewed-on: https://gerrit.libreoffice.org/30002
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/core/inc')
-rw-r--r-- | sw/source/core/inc/wrong.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |