diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-18 14:24:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-19 11:57:57 +0100 |
commit | a5be07d6b627a18f104e2feed063ff9020e8c610 (patch) | |
tree | 389ea7a3c163bcafca743373b94cda4fba937552 /fpicker | |
parent | lok: sc: missing header invalidation on undo an autofilter action (diff) | |
download | core-a5be07d6b627a18f104e2feed063ff9020e8c610.tar.gz core-a5be07d6b627a18f104e2feed063ff9020e8c610.zip |
inline use-once typedefs
Change-Id: I5c3ffc03c26b3428f1f336e6ecba7838a1cf1157
Reviewed-on: https://gerrit.libreoffice.org/46764
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/OfficeControlAccess.cxx | 3 |
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 |