diff options
Diffstat (limited to 'sd/source/ui/unoidl/facreg.cxx')
-rw-r--r-- | sd/source/ui/unoidl/facreg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/facreg.cxx b/sd/source/ui/unoidl/facreg.cxx index f506830f48ae..2da5885a34d5 100644 --- a/sd/source/ui/unoidl/facreg.cxx +++ b/sd/source/ui/unoidl/facreg.cxx @@ -47,7 +47,7 @@ namespace { static std::shared_ptr<FactoryMap> spFactoryMap; std::shared_ptr<FactoryMap> const & GetFactoryMap() { - if (spFactoryMap.get() == nullptr) + if (spFactoryMap == nullptr) { spFactoryMap.reset(new FactoryMap); (*spFactoryMap)[SdDrawingDocument_getImplementationName()] = SdDrawingDocumentFactoryId; |