diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 12:20:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 20:38:36 +0000 |
commit | c43d7d05ee07385e11f59f1db5556c277a79c02a (patch) | |
tree | 3cb80af31baf291d99f6ad6d13009ce1ffa71cbe /svx/source/form/datanavi.cxx | |
parent | 377c162be97bddeda30e22df1d4d99da4c6ce3e1 (diff) |
Pointless to convert char* to OString and back
Diffstat (limited to 'svx/source/form/datanavi.cxx')
-rw-r--r-- | svx/source/form/datanavi.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index 25c05260338c..793e4b207526 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -810,10 +810,8 @@ namespace svxform { // create a resource manager, for the svx resource file // and the UI locale - ByteString aResourceFile( "svx" ); ResMgr* pResMgr = ResMgr::CreateResMgr( - aResourceFile.GetBuffer(), - Application::GetSettings().GetUILocale() ); + "svx", Application::GetSettings().GetUILocale() ); // load the resources for the AddSubmission modal dialog. // This will create our own resource context. |