summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/workwin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-29 14:43:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-29 17:37:31 +0200
commit52b8697a1f6af99061984140ecbca36808ae4a55 (patch)
tree423905bd18653ec3301ffb06833caa0af40ffddd /sfx2/source/appl/workwin.cxx
parent962b6307da5d1248481bf9efa534a7bbd37f3a41 (diff)
rtl::Static -> static local
Change-Id: Ib8d9a24659a37e6b94237d98f030cd2be00bcb39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119665 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/appl/workwin.cxx')
-rw-r--r--sfx2/source/appl/workwin.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index d647526d6141..387c6d9aeeac 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -326,17 +326,12 @@ namespace
return OUString();
}
};
-
- class theFilledToolBarResIdToResourceURLMap
- : public rtl::Static<FilledToolBarResIdToResourceURLMap,
- theFilledToolBarResIdToResourceURLMap>
- {
- };
}
static OUString GetResourceURLFromToolbarId(ToolbarId eId)
{
- return theFilledToolBarResIdToResourceURLMap::get().findURL(eId);
+ static FilledToolBarResIdToResourceURLMap theFilledToolBarResIdToResourceURLMap;
+ return theFilledToolBarResIdToResourceURLMap.findURL(eId);
}
static sal_uInt16 TbxMatch( sal_uInt16 nPos )