diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/filtergrouping.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/doc/docfilt.cxx | 2 |
2 files changed, 3 insertions, 4 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 { diff --git a/sfx2/source/doc/docfilt.cxx b/sfx2/source/doc/docfilt.cxx index cbbf0b7a5eac..08ac76eaaa92 100644 --- a/sfx2/source/doc/docfilt.cxx +++ b/sfx2/source/doc/docfilt.cxx @@ -104,7 +104,7 @@ SfxFilter::~SfxFilter() OUString SfxFilter::GetDefaultExtension() const { - return comphelper::string::getToken(GetWildcard().getGlob(), 0, ';'); + return GetWildcard().getGlob().getToken(0, ';'); } |