summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
Diffstat (limited to 'sot')
-rw-r--r--sot/source/base/exchange.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sot/source/base/exchange.cxx b/sot/source/base/exchange.cxx
index 091dd7a10e13..dde5a31cd8fa 100644
--- a/sot/source/base/exchange.cxx
+++ b/sot/source/base/exchange.cxx
@@ -212,15 +212,14 @@ struct DataFlavorRepresentation
: public rtl::StaticAggregate<
const DataFlavorRepresentation, ImplFormatArray_Impl > {};
-
typedef std::vector<css::datatransfer::DataFlavor> tDataFlavorList;
-
- struct ImplData : public rtl::Static<tDataFlavorList, ImplData> {};
}
static tDataFlavorList& InitFormats_Impl()
{
- return ImplData::get();
+ static tDataFlavorList gImplData;
+
+ return gImplData;
}
/*************************************************************************