diff options
Diffstat (limited to 'unoidl/source/unoidl.cxx')
-rw-r--r-- | unoidl/source/unoidl.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unoidl/source/unoidl.cxx b/unoidl/source/unoidl.cxx index 19b8a9cab646..7c3e2e5bb7c5 100644 --- a/unoidl/source/unoidl.cxx +++ b/unoidl/source/unoidl.cxx @@ -20,6 +20,7 @@ #include "unoidl/unoidl.hxx" #include "legacyprovider.hxx" +#include "sourcefileprovider.hxx" #include "sourcetreeprovider.hxx" #include "unoidlprovider.hxx" @@ -117,6 +118,9 @@ rtl::Reference< Provider > loadProvider( return new detail::SourceTreeProvider(manager, uri); } } + if (uri.endsWith(".idl")) { + return new detail::SourceFileProvider(manager, uri); + } try { return new detail::UnoidlProvider(uri); } catch (FileFormatException & e) { |