summaryrefslogtreecommitdiff
path: root/svx/source/form/datanavi.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@openoffice.org>2009-12-16 10:31:10 +0100
committerDavid Tardon <dtardon@openoffice.org>2009-12-16 10:31:10 +0100
commit2d99716aa1d510eda8c090f8d74096fa21e62be7 (patch)
tree6c13b64605523989365e1e0538d597c4a3a8972e /svx/source/form/datanavi.cxx
parent5e2e0c158c73af234483bbe42bf92620c75defbf (diff)
dtardon01: #i47881#: resource STR_FILTERNAME_ALL is in libfps_office
Diffstat (limited to 'svx/source/form/datanavi.cxx')
-rw-r--r--svx/source/form/datanavi.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx
index ffe012734ae5..2549d3353a93 100644
--- a/svx/source/form/datanavi.cxx
+++ b/svx/source/form/datanavi.cxx
@@ -3686,11 +3686,8 @@ namespace svxform
m_aURLED.DisableHistory();
m_aFilePickerBtn.SetClickHdl( LINK( this, AddInstanceDialog, FilePickerHdl ) );
- // load the filter name from svtools resource
- ByteString aResMgrName( "svt" );
- ResMgr* pSvtResMgr = ResMgr::CreateResMgr(
- aResMgrName.GetBuffer(), Application::GetSettings().GetUILocale() );
- m_sAllFilterName = String( ResId( STR_FILTERNAME_ALL, *pSvtResMgr ) );
+ // load the filter name from fps_office resource
+ m_sAllFilterName = String( ResId( STR_FILTERNAME_ALL, *CREATEVERSIONRESMGR(fps_office) ) );
}
AddInstanceDialog::~AddInstanceDialog()