summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/unocontrolmodel.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx
index a5f7b785f06c1..f771ebf024283 100644
--- a/toolkit/source/controls/unocontrolmodel.cxx
+++ b/toolkit/source/controls/unocontrolmodel.cxx
@@ -422,14 +422,11 @@ css::uno::Any UnoControlModel::queryAggregation( const css::uno::Type & rType )
}
// css::lang::XUnoTunnel
-namespace
-{
- class theUnoControlModelUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theUnoControlModelUnoTunnelId> {};
-}
const css::uno::Sequence< sal_Int8 >& UnoControlModel::getUnoTunnelId() throw()
{
- return theUnoControlModelUnoTunnelId::get().getSeq();
+ static const UnoTunnelIdInit theUnoControlModelUnoTunnelId;
+ return theUnoControlModelUnoTunnelId.getSeq();
}
sal_Int64 UnoControlModel::getSomething( const css::uno::Sequence< sal_Int8 >& rIdentifier )