summaryrefslogtreecommitdiffstats
path: root/fpicker/source/office/OfficeControlAccess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/office/OfficeControlAccess.cxx')
-rw-r--r--fpicker/source/office/OfficeControlAccess.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx
index be9a91f212af..32a0927c687c 100644
--- a/fpicker/source/office/OfficeControlAccess.cxx
+++ b/fpicker/source/office/OfficeControlAccess.cxx
@@ -58,7 +58,6 @@ namespace svt
typedef const ControlDescription* ControlDescIterator;
- typedef ::std::pair< ControlDescIterator, ControlDescIterator > ControlDescRange;
#define PROPERTY_FLAGS_COMMON ( PropFlags::Enabled | PropFlags::Visible | PropFlags::HelpUrl )
@@ -234,7 +233,7 @@ namespace svt
tmpDesc.pControlName = aControlName.getStr();
// translate the name into an id
- ControlDescRange aFoundRange = ::std::equal_range( s_pControls, s_pControlsEnd, tmpDesc, ControlDescriptionLookup() );
+ auto aFoundRange = ::std::equal_range( s_pControls, s_pControlsEnd, tmpDesc, ControlDescriptionLookup() );
if ( aFoundRange.first != aFoundRange.second )
{
// get the VCL control determined by this id