diff options
-rw-r--r-- | canvas/source/directx/dx_canvasfont.cxx | 6 | ||||
-rw-r--r-- | canvas/source/tools/parametricpolypolygon.cxx | 6 | ||||
-rw-r--r-- | extensions/source/resource/oooresourceloader.cxx | 1 | ||||
-rw-r--r-- | lingucomponent/source/spellcheck/spell/sspellimp.cxx | 1 | ||||
-rw-r--r-- | lingucomponent/source/thesaurus/libnth/nthesimp.cxx | 1 | ||||
-rw-r--r-- | scripting/source/basprov/basmethnode.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/control/thumbnailviewacc.cxx | 1 | ||||
-rw-r--r-- | starmath/source/accessibility.cxx | 11 | ||||
-rw-r--r-- | svx/source/accessibility/svxrectctaccessiblecontext.cxx | 2 | ||||
-rw-r--r-- | svx/source/xml/xmleohlp.cxx | 3 | ||||
-rw-r--r-- | sw/source/core/access/accnotextframe.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/unocore/unoflatpara.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/uno/unotxvw.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 3 |
14 files changed, 1 insertions, 47 deletions
diff --git a/canvas/source/directx/dx_canvasfont.cxx b/canvas/source/directx/dx_canvasfont.cxx index 8b73195f437c..d3274b03560c 100644 --- a/canvas/source/directx/dx_canvasfont.cxx +++ b/canvas/source/directx/dx_canvasfont.cxx @@ -93,16 +93,12 @@ namespace dxcanvas uno::Sequence< double > SAL_CALL CanvasFont::getAvailableSizes( ) throw (uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return uno::Sequence< double >(); } uno::Sequence< beans::PropertyValue > SAL_CALL CanvasFont::getExtraFontProperties( ) throw (uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return uno::Sequence< beans::PropertyValue >(); } @@ -116,8 +112,6 @@ namespace dxcanvas rendering::FontMetrics SAL_CALL CanvasFont::getFontMetrics( ) throw (uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return rendering::FontMetrics(); } diff --git a/canvas/source/tools/parametricpolypolygon.cxx b/canvas/source/tools/parametricpolypolygon.cxx index 8e8c980bc8bd..05697d8e2a8d 100644 --- a/canvas/source/tools/parametricpolypolygon.cxx +++ b/canvas/source/tools/parametricpolypolygon.cxx @@ -166,24 +166,18 @@ namespace canvas uno::Reference< rendering::XPolyPolygon2D > SAL_CALL ParametricPolyPolygon::getOutline( double /*t*/ ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO(F1): outline NYI return uno::Reference< rendering::XPolyPolygon2D >(); } uno::Sequence< double > SAL_CALL ParametricPolyPolygon::getColor( double /*t*/ ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO(F1): color NYI return uno::Sequence< double >(); } uno::Sequence< double > SAL_CALL ParametricPolyPolygon::getPointColor( const geometry::RealPoint2D& /*point*/ ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO(F1): point color NYI return uno::Sequence< double >(); } diff --git a/extensions/source/resource/oooresourceloader.cxx b/extensions/source/resource/oooresourceloader.cxx index e8880ffeaa3f..0961cc0b34e6 100644 --- a/extensions/source/resource/oooresourceloader.cxx +++ b/extensions/source/resource/oooresourceloader.cxx @@ -277,7 +277,6 @@ namespace extensions { namespace resource Sequence< OUString > SAL_CALL OpenOfficeResourceBundle::getElementNames( ) throw (RuntimeException, std::exception) { - ::osl::MutexGuard aGuard( m_aMutex ); OSL_FAIL( "OpenOfficeResourceBundle::getElementNames: not implemented!" ); // the (Simple)ResManager does not provide an API to enumerate the resources return Sequence< OUString >( ); diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx index db690ae83d11..dadf485ddbdb 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx @@ -558,7 +558,6 @@ sal_Bool SAL_CALL SpellChecker::removeLinguServiceEventListener( OUString SAL_CALL SpellChecker::getServiceDisplayName( const Locale& /*rLocale*/ ) throw(RuntimeException, std::exception) { - MutexGuard aGuard( GetLinguMutex() ); return OUString( "Hunspell SpellChecker" ); } diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx index f8a66da0d962..03514baa6d4d 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx @@ -522,7 +522,6 @@ Reference< XInterface > SAL_CALL Thesaurus_CreateInstance( OUString SAL_CALL Thesaurus::getServiceDisplayName( const Locale& /*rLocale*/ ) throw(RuntimeException, std::exception) { - MutexGuard aGuard( GetLinguMutex() ); return OUString( "Mythes Thesaurus" ); } diff --git a/scripting/source/basprov/basmethnode.cxx b/scripting/source/basprov/basmethnode.cxx index e7480161eed9..a67a8f766432 100644 --- a/scripting/source/basprov/basmethnode.cxx +++ b/scripting/source/basprov/basmethnode.cxx @@ -128,24 +128,18 @@ namespace basprov Sequence< Reference< browse::XBrowseNode > > BasicMethodNodeImpl::getChildNodes( ) throw (RuntimeException, std::exception) { - SolarMutexGuard aGuard; - return Sequence< Reference< browse::XBrowseNode > >(); } sal_Bool BasicMethodNodeImpl::hasChildNodes( ) throw (RuntimeException, std::exception) { - SolarMutexGuard aGuard; - return false; } sal_Int16 BasicMethodNodeImpl::getType( ) throw (RuntimeException, std::exception) { - SolarMutexGuard aGuard; - return browse::BrowseNodeTypes::SCRIPT; } diff --git a/sfx2/source/control/thumbnailviewacc.cxx b/sfx2/source/control/thumbnailviewacc.cxx index 56f4c0f4069e..d298b19e16f9 100644 --- a/sfx2/source/control/thumbnailviewacc.cxx +++ b/sfx2/source/control/thumbnailviewacc.cxx @@ -205,7 +205,6 @@ OUString SAL_CALL ThumbnailViewAcc::getAccessibleDescription() throw (uno::RuntimeException, std::exception) { ThrowIfDisposed(); - const SolarMutexGuard aSolarGuard; return OUString("ThumbnailView"); } diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index fece32e4c63c..792d3043b3b3 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -166,7 +166,6 @@ void SmGraphicAccessible::LaunchEvent( uno::Reference< XAccessibleContext > SAL_CALL SmGraphicAccessible::getAccessibleContext() throw (RuntimeException, std::exception) { - SolarMutexGuard aGuard; return this; } @@ -287,7 +286,6 @@ sal_Int32 SAL_CALL SmGraphicAccessible::getBackground() sal_Int32 SAL_CALL SmGraphicAccessible::getAccessibleChildCount() throw (RuntimeException, std::exception) { - SolarMutexGuard aGuard; return 0; } @@ -295,7 +293,6 @@ Reference< XAccessible > SAL_CALL SmGraphicAccessible::getAccessibleChild( sal_Int32 /*i*/ ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { - SolarMutexGuard aGuard; throw IndexOutOfBoundsException(); // there is no child... } @@ -330,7 +327,6 @@ sal_Int32 SAL_CALL SmGraphicAccessible::getAccessibleIndexInParent() sal_Int16 SAL_CALL SmGraphicAccessible::getAccessibleRole() throw (RuntimeException, std::exception) { - SolarMutexGuard aGuard; return AccessibleRole::DOCUMENT; } @@ -436,7 +432,6 @@ void SAL_CALL SmGraphicAccessible::removeAccessibleEventListener( sal_Int32 SAL_CALL SmGraphicAccessible::getCaretPosition() throw (RuntimeException, std::exception) { - SolarMutexGuard aGuard; return 0; } @@ -616,21 +611,18 @@ sal_Int32 SAL_CALL SmGraphicAccessible::getIndexAtPoint( const awt::Point& aPoin OUString SAL_CALL SmGraphicAccessible::getSelectedText() throw (RuntimeException, std::exception) { - SolarMutexGuard aGuard; return OUString(); } sal_Int32 SAL_CALL SmGraphicAccessible::getSelectionStart() throw (RuntimeException, std::exception) { - SolarMutexGuard aGuard; return -1; } sal_Int32 SAL_CALL SmGraphicAccessible::getSelectionEnd() throw (RuntimeException, std::exception) { - SolarMutexGuard aGuard; return -1; } @@ -1812,14 +1804,12 @@ sal_Int32 SAL_CALL SmEditAccessible::getAccessibleIndexInParent( ) sal_Int16 SAL_CALL SmEditAccessible::getAccessibleRole( ) throw (RuntimeException, std::exception) { - SolarMutexGuard aGuard; return AccessibleRole::PANEL /*TEXT ?*/; } OUString SAL_CALL SmEditAccessible::getAccessibleDescription( ) throw (RuntimeException, std::exception) { - SolarMutexGuard aGuard; return OUString(); // empty as agreed with product-management } @@ -1834,7 +1824,6 @@ OUString SAL_CALL SmEditAccessible::getAccessibleName( ) uno::Reference< XAccessibleRelationSet > SAL_CALL SmEditAccessible::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) { - SolarMutexGuard aGuard; Reference< XAccessibleRelationSet > xRelSet = new utl::AccessibleRelationSetHelper(); return xRelSet; // empty relation set } diff --git a/svx/source/accessibility/svxrectctaccessiblecontext.cxx b/svx/source/accessibility/svxrectctaccessiblecontext.cxx index 64734aecff9e..4da503193230 100644 --- a/svx/source/accessibility/svxrectctaccessiblecontext.cxx +++ b/svx/source/accessibility/svxrectctaccessiblecontext.cxx @@ -945,8 +945,6 @@ Any SAL_CALL SvxRectCtlChildAccessibleContext::getMinimumValue() throw( RuntimeE sal_Int32 SvxRectCtlChildAccessibleContext::getAccessibleActionCount( ) throw (RuntimeException, std::exception) { - ::osl::MutexGuard aGuard( maMutex ); - return 1; } diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx index 5db22ceb64a9..432a786f5b56 100644 --- a/svx/source/xml/xmleohlp.cxx +++ b/svx/source/xml/xmleohlp.cxx @@ -713,8 +713,7 @@ Any SAL_CALL SvXMLEmbeddedObjectHelper::getByName( Sequence< OUString > SAL_CALL SvXMLEmbeddedObjectHelper::getElementNames() throw (RuntimeException, std::exception) { - MutexGuard aGuard( maMutex ); - return Sequence< OUString >(0); + return Sequence< OUString >(0); } sal_Bool SAL_CALL SvXMLEmbeddedObjectHelper::hasByName( const OUString& rURLStr ) diff --git a/sw/source/core/access/accnotextframe.cxx b/sw/source/core/access/accnotextframe.cxx index d6611198e2ec..4163fc1db223 100644 --- a/sw/source/core/access/accnotextframe.cxx +++ b/sw/source/core/access/accnotextframe.cxx @@ -342,16 +342,12 @@ uno::Reference< XAccessibleHyperlink > SAL_CALL sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getHyperLinkIndex( sal_Int32 ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception) { - SolarMutexGuard aGuard; - return 0; } uno::Reference<XAccessibleRelationSet> SAL_CALL SwAccessibleNoTextFrame::getAccessibleRelationSet( ) throw ( uno::RuntimeException, std::exception ) { - SolarMutexGuard aGuard; - return new AccessibleRelationSetHelper(); } diff --git a/sw/source/core/unocore/unoflatpara.cxx b/sw/source/core/unocore/unoflatpara.cxx index 4f8e0daa61f7..3f1a5b3950d0 100644 --- a/sw/source/core/unocore/unoflatpara.cxx +++ b/sw/source/core/unocore/unoflatpara.cxx @@ -316,7 +316,6 @@ void SAL_CALL SwXFlatParagraph::changeAttributes(::sal_Int32 nPos, ::sal_Int32 n // text::XFlatParagraph: css::uno::Sequence< ::sal_Int32 > SAL_CALL SwXFlatParagraph::getLanguagePortions() throw (css::uno::RuntimeException, std::exception) { - SolarMutexGuard aGuard; return css::uno::Sequence< ::sal_Int32>(); } diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx index a1ff9557a078..63cdd44f8306 100644 --- a/sw/source/uibase/uno/unotxvw.cxx +++ b/sw/source/uibase/uno/unotxvw.cxx @@ -889,14 +889,12 @@ bool SwXTextViewCursor::IsTextSelection( bool bAllowTables ) const sal_Bool SwXTextViewCursor::isVisible() throw( uno::RuntimeException, std::exception ) { - SolarMutexGuard aGuard; OSL_FAIL("not implemented"); return true; } void SwXTextViewCursor::setVisible(sal_Bool /*bVisible*/) throw( uno::RuntimeException, std::exception ) { - SolarMutexGuard aGuard; OSL_FAIL("not implemented"); } diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index f2aa9f04d723..ef9f9e57c9a1 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -2463,14 +2463,11 @@ void SAL_CALL VCLXWindow::unlock( ) throw (css::uno::RuntimeException, std::exc void SAL_CALL VCLXWindow::startPopupMode( const css::awt::Rectangle& ) throw (css::uno::RuntimeException, std::exception) { // TODO: remove interface in the next incompatible build - SolarMutexGuard aGuard; - } sal_Bool SAL_CALL VCLXWindow::isInPopupMode( ) throw (css::uno::RuntimeException, std::exception) { // TODO: remove interface in the next incompatible build - SolarMutexGuard aGuard; return false; } |