Kaydet (Commit) 3b9f61ae authored tarafından Jochen Nitschke's avatar Jochen Nitschke

Any.get<Any>() is Any

Change-Id: I0939163fb2180af319ff9828564126a7d8ad4788
Reviewed-on: https://gerrit.libreoffice.org/30002Reviewed-by: 's avatarJochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 1a583283
...@@ -82,7 +82,7 @@ private: ...@@ -82,7 +82,7 @@ private:
if (xPropertyBag.is()) if (xPropertyBag.is())
{ {
const OUString colorKey("LineColor"); 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; css::util::Color lineColor = 0;
if (aLineColor >>= lineColor) if (aLineColor >>= lineColor)
...@@ -108,7 +108,7 @@ private: ...@@ -108,7 +108,7 @@ private:
if (xPropertyBag.is()) if (xPropertyBag.is())
{ {
const OUString typeKey("LineType"); 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; ::sal_Int16 lineType = 0;
if (!(aLineType >>= lineType)) if (!(aLineType >>= lineType))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment