diff options
Diffstat (limited to 'vbahelper/source')
-rw-r--r-- | vbahelper/source/vbahelper/vbashape.cxx | 2 | ||||
-rw-r--r-- | vbahelper/source/vbahelper/vbashapes.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vbahelper/source/vbahelper/vbashape.cxx b/vbahelper/source/vbahelper/vbashape.cxx index 165d8d206dd0..4de5b71d947e 100644 --- a/vbahelper/source/vbahelper/vbashape.cxx +++ b/vbahelper/source/vbahelper/vbashape.cxx @@ -179,7 +179,7 @@ sal_Int32 ScVbaShape::getAutoShapeType(const css::uno::Reference< drawing::XShap uno::Sequence< beans::PropertyValue > aGeoPropSeq; if ( aGeoPropSet >>= aGeoPropSeq ) { - for( const auto& rProp : std::as_const(aGeoPropSeq) ) + for (const auto& rProp : aGeoPropSeq) { if( rProp.Name == "Type" ) { diff --git a/vbahelper/source/vbahelper/vbashapes.cxx b/vbahelper/source/vbahelper/vbashapes.cxx index e96cda4ac926..1300e998f79c 100644 --- a/vbahelper/source/vbahelper/vbashapes.cxx +++ b/vbahelper/source/vbahelper/vbashapes.cxx @@ -146,7 +146,7 @@ ScVbaShapes::getShapesByArrayIndices( const uno::Any& Index ) uno::Sequence< uno::Any > sIndices; aConverted >>= sIndices; XNamedObjectCollectionHelper< drawing::XShape >::XNamedVec aShapes; - for( const auto& rIndex : std::as_const(sIndices) ) + for (const auto& rIndex : sIndices) { uno::Reference< drawing::XShape > xShape; if ( rIndex.getValueTypeClass() == uno::TypeClass_STRING ) |