summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/Columns.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/forms/source/component/Columns.cxx b/forms/source/component/Columns.cxx
index 3195fde4d44e..01a662f8fbd2 100644
--- a/forms/source/component/Columns.cxx
+++ b/forms/source/component/Columns.cxx
@@ -106,14 +106,10 @@ sal_Int32 getColumnTypeByModelName(const OUString& aModelName)
return nTypeId;
}
-namespace
-{
- class theOGridColumnImplementationId : public rtl::Static< UnoTunnelIdInit, theOGridColumnImplementationId > {};
-}
-
const Sequence<sal_Int8>& OGridColumn::getUnoTunnelId()
{
- return theOGridColumnImplementationId::get().getSeq();
+ static const UnoTunnelIdInit theOGridColumnImplementationId;
+ return theOGridColumnImplementationId.getSeq();
}