summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-01-27 15:46:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-01-27 17:18:31 +0000
commit5e193d854596db714ca786c2a676b5ac9684d5eb (patch)
treefa52b0e4e40c962ceac6ab95fdf169783ecd94a6 /framework/source
parentfbb8e0f40771154796bca5277cbd494a689599de (diff)
JobURL does not need to use the SolarMutex
it is only used and accessed as a local stack variable inside two methods Change-Id: I651dad0912dd47d3670e7b341d444d17e200efc2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146260 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/jobs/joburl.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/framework/source/jobs/joburl.cxx b/framework/source/jobs/joburl.cxx
index efff201a8401..fc1424867d99 100644
--- a/framework/source/jobs/joburl.cxx
+++ b/framework/source/jobs/joburl.cxx
@@ -99,7 +99,6 @@ JobURL::JobURL( /*IN*/ const OUString& sURL )
*/
bool JobURL::isValid() const
{
- SolarMutexGuard g;
return (m_eRequest!=E_UNKNOWN);
}
@@ -121,8 +120,6 @@ bool JobURL::isValid() const
*/
bool JobURL::getEvent( /*OUT*/ OUString& sEvent ) const
{
- SolarMutexGuard g;
-
sEvent.clear();
bool bSet = ((m_eRequest & E_EVENT) == E_EVENT);
if (bSet)
@@ -149,8 +146,6 @@ bool JobURL::getEvent( /*OUT*/ OUString& sEvent ) const
*/
bool JobURL::getAlias( /*OUT*/ OUString& sAlias ) const
{
- SolarMutexGuard g;
-
sAlias.clear();
bool bSet = ((m_eRequest & E_ALIAS) == E_ALIAS);
if (bSet)
@@ -177,8 +172,6 @@ bool JobURL::getAlias( /*OUT*/ OUString& sAlias ) const
*/
bool JobURL::getService( /*OUT*/ OUString& sService ) const
{
- SolarMutexGuard g;
-
sService.clear();
bool bSet = ((m_eRequest & E_SERVICE) == E_SERVICE);
if (bSet)