summaryrefslogtreecommitdiff
path: root/vcl/source/graphic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-19 15:34:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-20 08:03:27 +0200
commitf2c02331a7dc0a924bbf30cbc279e92621e89590 (patch)
treed92115757b20ff0da9a85ab6ff420784d89bce11 /vcl/source/graphic
parent66d8951df3c11ead0b9415eb292c3ae88689edf1 (diff)
new loplugin:unnecessary locking
off by default, since each warning needs careful inspection Change-Id: I805c1d1cdde531a1afdc76e87b22f879fc3c9753 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134641 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/graphic')
-rw-r--r--vcl/source/graphic/UnoGraphicProvider.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/source/graphic/UnoGraphicProvider.cxx b/vcl/source/graphic/UnoGraphicProvider.cxx
index cab6659ce010..1f33a14ea1bc 100644
--- a/vcl/source/graphic/UnoGraphicProvider.cxx
+++ b/vcl/source/graphic/UnoGraphicProvider.cxx
@@ -438,8 +438,6 @@ uno::Reference< ::graphic::XGraphic > SAL_CALL GraphicProvider::queryGraphic( co
uno::Sequence< uno::Reference<graphic::XGraphic> > SAL_CALL GraphicProvider::queryGraphics(const uno::Sequence< uno::Sequence<beans::PropertyValue> >& rMediaPropertiesSeq)
{
- SolarMutexGuard aGuard;
-
// Turn properties into streams.
std::vector< std::unique_ptr<SvStream> > aStreams;
for (const auto& rMediaProperties : rMediaPropertiesSeq)
@@ -701,8 +699,6 @@ void ImplApplyFilterData( ::Graphic& rGraphic, const uno::Sequence< beans::Prope
void SAL_CALL GraphicProvider::storeGraphic( const uno::Reference< ::graphic::XGraphic >& rxGraphic, const uno::Sequence< beans::PropertyValue >& rMediaProperties )
{
- SolarMutexGuard g;
-
std::unique_ptr<SvStream> pOStm;
OUString aPath;