diff options
Diffstat (limited to 'sfx2/source/dialog/filtergrouping.cxx')
-rw-r--r-- | sfx2/source/dialog/filtergrouping.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx index 634d323f5e79..0fd1dbcc4e6a 100644 --- a/sfx2/source/dialog/filtergrouping.cxx +++ b/sfx2/source/dialog/filtergrouping.cxx @@ -924,8 +924,7 @@ namespace sfx2 const SfxFilter* pDefaultFilter = SfxFilterContainer::GetDefaultFilter_Impl(_rFactory); // Only use one extension (#i32434#) // (and always the first if there are more than one) - using comphelper::string::getToken; - sExtension = getToken(pDefaultFilter->GetWildcard().getGlob(), 0, ';'); + sExtension = pDefaultFilter->GetWildcard().getGlob().getToken(0, ';'); sUIName = addExtension( pDefaultFilter->GetUIName(), sExtension, false, _rFileDlgImpl ); try { @@ -945,7 +944,7 @@ namespace sfx2 // Only use one extension (#i32434#) // (and always the first if there are more than one) - sExtension = getToken(pFilter->GetWildcard().getGlob(), 0, ';'); + sExtension = pFilter->GetWildcard().getGlob().getToken(0, ';'); sUIName = addExtension( pFilter->GetUIName(), sExtension, false, _rFileDlgImpl ); try { |