svtools/source/control/accessibleruler.cxx |    8 +-------
 xmloff/source/draw/ximpshap.cxx            |    3 ---
 2 files changed, 1 insertion(+), 10 deletions(-)

New commits:
commit 368ae459417fc11b6ef232e43fa3e805dc0095d6
Author:     Noel Grandin <[email protected]>
AuthorDate: Wed Jan 7 11:06:09 2026 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Wed Jan 7 17:48:33 2026 +0100

    aBottomRight variable is unused
    
    Change-Id: I45af11fe200e487ecb934ec82f1778f929e1f0c9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196664
    Reviewed-by: Noel Grandin <[email protected]>
    Tested-by: Jenkins

diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index 9e9a0ff55024..a7ca787decdc 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -1054,18 +1054,15 @@ void SdXMLLineShapeContext::startFastElement (sal_Int32 
nElement,
 
     // get sizes and offsets
     awt::Point aTopLeft(mnX1, mnY1);
-    awt::Point aBottomRight(mnX2, mnY2);
 
     if(mnX1 > mnX2)
     {
         aTopLeft.X = mnX2;
-        aBottomRight.X = mnX1;
     }
 
     if(mnY1 > mnY2)
     {
         aTopLeft.Y = mnY2;
-        aBottomRight.Y = mnY1;
     }
 
     // set local parameters on shape
commit 07c6d59393a4b115d63ba7959aa7ac695e37a3d8
Author:     Noel Grandin <[email protected]>
AuthorDate: Wed Jan 7 10:55:08 2026 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Wed Jan 7 17:48:23 2026 +0100

    loplugin:unnecessarylocking
    
    Change-Id: Iaa8b75232e5bf98c56cd8a6b2bdf2ee9514e8743
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196663
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/svtools/source/control/accessibleruler.cxx 
b/svtools/source/control/accessibleruler.cxx
index cb1bfd5b11ac..f3c825c38879 100644
--- a/svtools/source/control/accessibleruler.cxx
+++ b/svtools/source/control/accessibleruler.cxx
@@ -67,10 +67,7 @@ sal_Int64 SAL_CALL 
SvtRulerAccessible::getAccessibleChildCount()
 
 uno::Reference< XAccessible > SAL_CALL SvtRulerAccessible::getAccessibleChild( 
sal_Int64 )
 {
-    SolarMutexGuard aSolarGuard;
-    uno::Reference< XAccessible >   xChild ;
-
-    return xChild;
+    return uno::Reference< XAccessible >();
 }
 
 uno::Reference< XAccessible > SAL_CALL 
SvtRulerAccessible::getAccessibleParent()
@@ -81,13 +78,11 @@ uno::Reference< XAccessible > SAL_CALL 
SvtRulerAccessible::getAccessibleParent()
 
 sal_Int16 SAL_CALL SvtRulerAccessible::getAccessibleRole()
 {
-    SolarMutexGuard aSolarGuard;
     return AccessibleRole::RULER;
 }
 
 OUString SAL_CALL SvtRulerAccessible::getAccessibleDescription()
 {
-    SolarMutexGuard aSolarGuard;
     return OUString();
 }
 
@@ -102,7 +97,6 @@ OUString SAL_CALL SvtRulerAccessible::getAccessibleName()
 */
 uno::Reference< XAccessibleRelationSet > SAL_CALL 
SvtRulerAccessible::getAccessibleRelationSet()
 {
-    SolarMutexGuard aSolarGuard;
     return uno::Reference< XAccessibleRelationSet >();
 }
 

Reply via email to