summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--basctl/source/basicide/baside2b.cxx4
-rw-r--r--basic/source/basmgr/basmgr.cxx4
-rw-r--r--basic/source/uno/namecont.cxx2
-rw-r--r--binaryurp/source/bridgefactory.cxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 3bb09f3bb140..4da4b8fc1956 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -257,7 +257,7 @@ EditorWindow::EditorWindow (vcl::Window* pParent, ModulWindow* pModulWindow) :
notifier_ = n;
}
const Sequence<OUString> aPropertyNames{"FontHeight", "FontName"};
- n->addPropertiesChangeListener(aPropertyNames, listener_.get());
+ n->addPropertiesChangeListener(aPropertyNames, listener_);
}
@@ -280,7 +280,7 @@ void EditorWindow::dispose()
n = notifier_;
}
if (n.is()) {
- n->removePropertiesChangeListener(listener_.get());
+ n->removePropertiesChangeListener(listener_);
}
aSyntaxIdle.Stop();
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index 1254768a2b00..881deabd75e1 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -497,7 +497,7 @@ BasicManager::BasicManager( SotStorage& rStorage, const OUString& rBaseURL, Star
static void copyToLibraryContainer( StarBASIC* pBasic, const LibraryContainerInfo& rInfo )
{
- uno::Reference< script::XLibraryContainer > xScriptCont( rInfo.mxScriptCont.get() );
+ uno::Reference< script::XLibraryContainer > xScriptCont( rInfo.mxScriptCont );
if ( !xScriptCont.is() )
return;
@@ -538,7 +538,7 @@ void BasicManager::SetLibraryContainerInfo( const LibraryContainerInfo& rInfo )
{
mpImpl->maContainerInfo = rInfo;
- uno::Reference< script::XLibraryContainer > xScriptCont( mpImpl->maContainerInfo.mxScriptCont.get() );
+ uno::Reference< script::XLibraryContainer > xScriptCont( mpImpl->maContainerInfo.mxScriptCont );
if( xScriptCont.is() )
{
// Register listener for lib container
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 61b62632ef6f..a2b0391f92da 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -2681,7 +2681,7 @@ void SfxLibraryContainer::_disposing( const EventObject& _rSource )
void SAL_CALL SfxLibraryContainer::disposing()
{
Reference< XModel > xModel = mxOwnerDocument;
- EventObject aEvent( xModel.get() );
+ EventObject aEvent( xModel );
maVBAScriptListeners.disposing( aEvent );
stopAllComponentListening();
mxOwnerDocument.clear();
diff --git a/binaryurp/source/bridgefactory.cxx b/binaryurp/source/bridgefactory.cxx
index 2178351015c0..803899c8a7e3 100644
--- a/binaryurp/source/bridgefactory.cxx
+++ b/binaryurp/source/bridgefactory.cxx
@@ -113,7 +113,7 @@ css::uno::Reference< css::bridge::XBridge > BridgeFactory::createBridge(
}
}
b->start();
- return css::uno::Reference< css::bridge::XBridge >(b.get());
+ return b;
}
css::uno::Reference< css::bridge::XBridge > BridgeFactory::getBridge(