summaryrefslogtreecommitdiff
path: root/unoidl/source/sourcefileprovider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl/source/sourcefileprovider.cxx')
-rw-r--r--unoidl/source/sourcefileprovider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/sourcefileprovider.cxx b/unoidl/source/sourcefileprovider.cxx
index ba46df1b0f3c..5845dbbc0115 100644
--- a/unoidl/source/sourcefileprovider.cxx
+++ b/unoidl/source/sourcefileprovider.cxx
@@ -94,7 +94,7 @@ SourceFileProvider::SourceFileProvider(
if (k == map->end()) {
k = map->insert(std::make_pair(id, new Module)).first;
}
- Module& mod = dynamic_cast<Module&>(*k->second.get());
+ Module& mod = dynamic_cast<Module&>(*k->second);
map = &mod.map;
}
}