diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-04-24 12:41:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-04-24 12:42:01 +0200 |
commit | bab43b23d5bf70279adbd767f982519d2144e953 (patch) | |
tree | 040ed33f3e983d2e05ea4066f34e9986596e67ee /codemaker | |
parent | 0ce9a16b0c21db203b44c7542c05d51e7e44de03 (diff) |
Allow for (relative) pathname args for codemakers again
Change-Id: I503d88b7d6fc44ef70d5071fddcec465e3fba856
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/cppumaker/cppumaker.cxx | 4 | ||||
-rw-r--r-- | codemaker/source/javamaker/javamaker.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/codemaker/source/cppumaker/cppumaker.cxx b/codemaker/source/cppumaker/cppumaker.cxx index 8869e87df4d6..3f0c665807a8 100644 --- a/codemaker/source/cppumaker/cppumaker.cxx +++ b/codemaker/source/cppumaker/cppumaker.cxx @@ -52,13 +52,13 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { options.getExtraInputFiles().begin()); i != options.getExtraInputFiles().end(); ++i) { - typeMgr->loadProvider(b2u(*i), false); + typeMgr->loadProvider(convertToFileUrl(*i), false); } for (std::vector< OString >::const_iterator i( options.getInputFiles().begin()); i != options.getInputFiles().end(); ++i) { - typeMgr->loadProvider(b2u(*i), true); + typeMgr->loadProvider(convertToFileUrl(*i), true); } codemaker::GeneratedTypeSet generated; if (options.isValid("-T")) { diff --git a/codemaker/source/javamaker/javamaker.cxx b/codemaker/source/javamaker/javamaker.cxx index 2b1a9d5c020a..d74aafa31810 100644 --- a/codemaker/source/javamaker/javamaker.cxx +++ b/codemaker/source/javamaker/javamaker.cxx @@ -52,13 +52,13 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { options.getExtraInputFiles().begin()); i != options.getExtraInputFiles().end(); ++i) { - typeMgr->loadProvider(b2u(*i), false); + typeMgr->loadProvider(convertToFileUrl(*i), false); } for (std::vector< rtl::OString >::const_iterator i( options.getInputFiles().begin()); i != options.getInputFiles().end(); ++i) { - typeMgr->loadProvider(b2u(*i), true); + typeMgr->loadProvider(convertToFileUrl(*i), true); } codemaker::GeneratedTypeSet generated; if (options.isValid("-T")) { |