From 07fd90cc7d85a89b9f74efba7ddc9ac457110ce3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 6 Apr 2021 21:07:01 +0200 Subject: rtl::Static -> function local static Change-Id: I2071c27bdf074403ec24e67f9278ac27f9491303 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113698 Tested-by: Jenkins Reviewed-by: Noel Grandin --- forms/source/component/Columns.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'forms') 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& OGridColumn::getUnoTunnelId() { - return theOGridColumnImplementationId::get().getSeq(); + static const UnoTunnelIdInit theOGridColumnImplementationId; + return theOGridColumnImplementationId.getSeq(); } -- cgit