diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-02 13:21:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-02 14:22:21 +0100 |
commit | f8922b67a4dc1ff0b889f33d2407584aed5d2e36 (patch) | |
tree | c3dbbc81468176b79e03b8222bb174fc24a30e16 /sfx2/source/dialog/filtergrouping.cxx | |
parent | Resolves fdo#87123: Impossible to create a form with wizard (diff) | |
download | core-f8922b67a4dc1ff0b889f33d2407584aed5d2e36.tar.gz core-f8922b67a4dc1ff0b889f33d2407584aed5d2e36.zip |
Remove unnecessary comphelper::string::getToken
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
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 { |