summaryrefslogtreecommitdiff
path: root/unoidl/source/sourceprovider.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-09-16 17:36:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-09-16 17:37:15 +0200
commit0ff9244d8aa8ba46025d8ae9d2e0f83385793165 (patch)
tree632bd80cde465b35d6acbf338bff321101837d5a /unoidl/source/sourceprovider.cxx
parent69f08eda0bd999c827c76d3bf0b9c925b7eb25f7 (diff)
Clean up the unoidl Providers (no need to have them exported)
Change-Id: I96b99e96b44f12b7ad7f376e4b3a68d7e9531643
Diffstat (limited to 'unoidl/source/sourceprovider.cxx')
-rwxr-xr-xunoidl/source/sourceprovider.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/unoidl/source/sourceprovider.cxx b/unoidl/source/sourceprovider.cxx
index ea7f1103db5e..429f68f41898 100755
--- a/unoidl/source/sourceprovider.cxx
+++ b/unoidl/source/sourceprovider.cxx
@@ -20,14 +20,14 @@
#include "rtl/ref.hxx"
#include "rtl/ustrbuf.hxx"
#include "rtl/ustring.hxx"
-#include "unoidl/sourceprovider.hxx"
#include "unoidl/unoidl.hxx"
#include "sourceprovider-parser-requires.hxx"
#include "sourceprovider-parser.hxx"
#include "sourceprovider-scanner.hxx"
+#include "sourceprovider.hxx"
-namespace unoidl {
+namespace unoidl { namespace detail {
namespace {
@@ -35,7 +35,7 @@ rtl::Reference<Entity> parse(
rtl::Reference<Manager> const & manager, OUString const & name,
OUString const & uri, void const * address, sal_uInt64 size)
{
- detail::SourceProviderScannerData data(manager, address, size);
+ SourceProviderScannerData data(manager, address, size);
yyscan_t yyscanner;
if (yylex_init_extra(&data, &yyscanner) != 0) {
// Checking errno for the specific EINVAL, ENOMEM documented for
@@ -50,7 +50,7 @@ rtl::Reference<Entity> parse(
switch (e) {
case 0:
{
- std::map<OUString, detail::SourceProviderEntity>::const_iterator i(
+ std::map<OUString, SourceProviderEntity>::const_iterator i(
data.entities.find(name));
return i == data.entities.end()
? rtl::Reference<Entity>() : i->second.entity;
@@ -230,6 +230,6 @@ rtl::Reference<Entity> SourceProvider::findEntity(OUString const & name) const {
SourceProvider::~SourceProvider() throw () {}
-}
+} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */