summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-18 16:28:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-18 20:14:32 +0200
commit75b72f5652b9067eee24b1dd76c9076fd9317e28 (patch)
tree93d1824adcfd4fdb1ad098939e6ca22f1eb1f2cf /sw/source/uibase
parent9f25d34d652de14959b5eebed8462225b43e408c (diff)
no need to take a lock when returning static data
Change-Id: I8d836c4a919056e8b600549f82b0d5dee9ab1a47 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134536 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index 1b9690b84dc8..41c1994f47d2 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -1321,7 +1321,6 @@ public:
// XElementAccess
virtual css::uno::Type SAL_CALL getElementType() override
{
- SolarMutexGuard aGuard;
return cppu::UnoType<drawing::XDrawPage>::get();
}