diff options
Diffstat (limited to 'svl/unx/source/svdde/ddedummy.cxx')
-rw-r--r-- | svl/unx/source/svdde/ddedummy.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/svl/unx/source/svdde/ddedummy.cxx b/svl/unx/source/svdde/ddedummy.cxx index 03e423d47b3f..e174e0bc4ae1 100644 --- a/svl/unx/source/svdde/ddedummy.cxx +++ b/svl/unx/source/svdde/ddedummy.cxx @@ -18,7 +18,6 @@ */ #include <svl/svdde.hxx> -#include <rtl/instance.hxx> #include <tools/long.hxx> struct Conversation @@ -250,15 +249,10 @@ OUString DdeService::GetName() const return OUString(); } -namespace -{ - struct theDdeServices - : public rtl::Static< DdeServices, theDdeServices > {}; -} - DdeServices& DdeService::GetServices() { - return theDdeServices::get(); + static DdeServices SINGLETON; + return SINGLETON; } DdeItem::DdeItem( SAL_UNUSED_PARAMETER const OUString& ) |