diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-08-06 18:51:16 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-08-06 18:53:39 +0200 |
commit | 998836222cc31aae9e36d695a911996f3972d6b2 (patch) | |
tree | 97a09ac07f5ce9965095c09e9165465840f3bc89 /sw | |
parent | 9c0e846cd75c1a56e4dec6d55a6d8a0ea591e299 (diff) |
fix C++11ism
Change-Id: I93f8bbdc9b0b326fa6334640e1d65b862dba6f22
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 92b7b1e4f436..7af991d86c1b 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -2787,7 +2787,7 @@ void DocxAttributeOutput::TableCellProperties( ww8::WW8TableNodeInfoInner::Point { const std::map<OUString, uno::Any>& rGrabBag = pItem->GetGrabBag(); std::map<OUString, uno::Any>::const_iterator it = rGrabBag.find("CellCnfStyle"); - if (it != rGrabBag.cend()) + if (it != rGrabBag.end()) { uno::Sequence<beans::PropertyValue> aAttributes = it->second.get< uno::Sequence<beans::PropertyValue> >(); m_pTableStyleExport->CnfStyle(aAttributes); @@ -2927,7 +2927,7 @@ void DocxAttributeOutput::StartTableRow( ww8::WW8TableNodeInfoInner::Pointer_t p { const std::map<OUString, uno::Any>& rGrabBag = pItem->GetGrabBag(); std::map<OUString, uno::Any>::const_iterator it = rGrabBag.find("RowCnfStyle"); - if (it != rGrabBag.cend()) + if (it != rGrabBag.end()) { uno::Sequence<beans::PropertyValue> aAttributes = it->second.get< uno::Sequence<beans::PropertyValue> >(); m_pTableStyleExport->CnfStyle(aAttributes); |