summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/valueacc.cxx16
1 files changed, 4 insertions, 12 deletions
diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx
index 5db6e920eae3..59b45df8d987 100644
--- a/svtools/source/control/valueacc.cxx
+++ b/svtools/source/control/valueacc.cxx
@@ -77,14 +77,10 @@ void ValueItemAcc::ParentDestroyed()
mpParent = nullptr;
}
-namespace
-{
- class theValueItemAccUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theValueItemAccUnoTunnelId > {};
-}
-
const uno::Sequence< sal_Int8 >& ValueItemAcc::getUnoTunnelId()
{
- return theValueItemAccUnoTunnelId::get().getSeq();
+ static const UnoTunnelIdInit theValueItemAccUnoTunnelId;
+ return theValueItemAccUnoTunnelId.getSeq();
}
@@ -466,14 +462,10 @@ void ValueSetAcc::FireAccessibleEvent( short nEventId, const uno::Any& rOldValue
}
}
-namespace
-{
- class theValueSetAccUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theValueSetAccUnoTunnelId > {};
-}
-
const uno::Sequence< sal_Int8 >& ValueSetAcc::getUnoTunnelId()
{
- return theValueSetAccUnoTunnelId::get().getSeq();
+ static const UnoTunnelIdInit theValueSetAccUnoTunnelId;
+ return theValueSetAccUnoTunnelId.getSeq();
}