Clean up now unnecessary boost::bind() magic in RTFSdrImport::initShape()
Change-Id: Ie373098959f8b3e04fe955a08031a4221faab3cc
This commit is contained in:
@@ -234,12 +234,10 @@ int RTFSdrImport::initShape(uno::Reference<drawing::XShape>& o_xShape,
|
|||||||
|
|
||||||
// first, find the shape type
|
// first, find the shape type
|
||||||
int nType = -1;
|
int nType = -1;
|
||||||
std::vector< std::pair<OUString, OUString> >::const_iterator const iter(
|
auto iter = std::find_if(rShape.aProperties.begin(), rShape.aProperties.end(), [](std::pair<OUString, OUString> aProperty)
|
||||||
std::find_if(rShape.aProperties.begin(),
|
{
|
||||||
rShape.aProperties.end(),
|
return aProperty.first == "shapeType";
|
||||||
boost::bind(&OUString::equals,
|
});
|
||||||
boost::bind(&std::pair<OUString, OUString>::first, _1),
|
|
||||||
OUString("shapeType"))));
|
|
||||||
|
|
||||||
if (iter == rShape.aProperties.end())
|
if (iter == rShape.aProperties.end())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user