summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/genericpropertyhandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/genericpropertyhandler.cxx')
-rw-r--r--extensions/source/propctrlr/genericpropertyhandler.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/extensions/source/propctrlr/genericpropertyhandler.cxx b/extensions/source/propctrlr/genericpropertyhandler.cxx
index 4250f6a82af0..de446b6116e4 100644
--- a/extensions/source/propctrlr/genericpropertyhandler.cxx
+++ b/extensions/source/propctrlr/genericpropertyhandler.cxx
@@ -75,7 +75,7 @@ namespace pcr
EnumRepresentation& operator=(const EnumRepresentation&) = delete;
// IPropertyEnumRepresentation implementqation
- virtual ::std::vector< OUString >
+ virtual std::vector< OUString >
SAL_CALL getDescriptions() const override;
virtual void SAL_CALL getValueFromDescription( const OUString& _rDescription, css::uno::Any& _out_rValue ) const override;
virtual OUString SAL_CALL getDescriptionForValue( const css::uno::Any& _rEnumValue ) const override;
@@ -104,7 +104,7 @@ namespace pcr
}
}
- ::std::vector< OUString > EnumRepresentation::getDescriptions() const
+ std::vector< OUString > EnumRepresentation::getDescriptions() const
{
Sequence< OUString > aNames;
try
@@ -117,7 +117,7 @@ namespace pcr
OSL_FAIL( "EnumRepresentation::getDescriptions: caught an exception!" );
}
- return ::std::vector< OUString >( aNames.getConstArray(), aNames.getConstArray() + aNames.getLength() );
+ return std::vector< OUString >( aNames.getConstArray(), aNames.getConstArray() + aNames.getLength() );
}
void EnumRepresentation::impl_getValues( Sequence< sal_Int32 >& _out_rValues ) const
@@ -136,9 +136,9 @@ namespace pcr
void EnumRepresentation::getValueFromDescription( const OUString& _rDescription, Any& _out_rValue ) const
{
- ::std::vector< OUString > aDescriptions( getDescriptions() );
+ std::vector< OUString > aDescriptions( getDescriptions() );
- sal_Int32 index = ::std::find( aDescriptions.begin(), aDescriptions.end(),
+ sal_Int32 index = std::find( aDescriptions.begin(), aDescriptions.end(),
_rDescription ) - aDescriptions.begin();
Sequence< sal_Int32 > aValues;
@@ -163,10 +163,10 @@ namespace pcr
Sequence< sal_Int32 > aValues;
impl_getValues( aValues );
- sal_Int32 index = ::std::find( aValues.getConstArray(), aValues.getConstArray() + aValues.getLength(),
+ sal_Int32 index = std::find( aValues.getConstArray(), aValues.getConstArray() + aValues.getLength(),
nAsInt ) - aValues.getConstArray();
- ::std::vector< OUString > aDescriptions( getDescriptions() );
+ std::vector< OUString > aDescriptions( getDescriptions() );
if ( ( index >= 0 ) && ( index < (sal_Int32)aDescriptions.size() ) )
sDescription = aDescriptions[ index ];
else