summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unomtabl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/unodraw/unomtabl.cxx')
-rw-r--r--svx/source/unodraw/unomtabl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unomtabl.cxx b/svx/source/unodraw/unomtabl.cxx
index 227433a792ed..a6d56f20d479 100644
--- a/svx/source/unodraw/unomtabl.cxx
+++ b/svx/source/unodraw/unomtabl.cxx
@@ -188,7 +188,7 @@ void SAL_CALL SvxUnoMarkerTable::removeByName( const OUString& aApiName )
auto aIter = std::find_if(maItemSetVector.begin(), maItemSetVector.end(),
[&aName](const std::unique_ptr<SfxItemSet>& rpItem) {
- const NameOrIndex *pItem = static_cast<const NameOrIndex *>(&(rpItem->Get( XATTR_LINEEND ) ));
+ const NameOrIndex *pItem = &(rpItem->Get( XATTR_LINEEND ) );
return pItem->GetName() == aName;
});
if (aIter != maItemSetVector.end())
@@ -210,7 +210,7 @@ void SAL_CALL SvxUnoMarkerTable::replaceByName( const OUString& aApiName, const
auto aIter = std::find_if(maItemSetVector.begin(), maItemSetVector.end(),
[&aName](const std::unique_ptr<SfxItemSet>& rpItem) {
- const NameOrIndex *pItem = static_cast<const NameOrIndex *>(&(rpItem->Get( XATTR_LINEEND ) ));
+ const NameOrIndex *pItem = &(rpItem->Get( XATTR_LINEEND ) );
return pItem->GetName() == aName;
});
if (aIter != maItemSetVector.end())