summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/lnkbase2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-13 13:50:56 +0200
committerNoel Grandin <noel@peralex.com>2015-04-23 13:08:48 +0200
commit12ba9e3cad05a665aee2150ef831f0dbc92d7e2d (patch)
treedc50f9ee75617fa1e33a2503278501511c97afff /sfx2/source/appl/lnkbase2.cxx
parent6d5ae48427d1c59e65f0bfc16cf075eaa4cdca17 (diff)
loplugin:staticmethods
Change-Id: Ib0c0841e48814d1a6e13bcd4575725d86ffa5e5e
Diffstat (limited to 'sfx2/source/appl/lnkbase2.cxx')
-rw-r--r--sfx2/source/appl/lnkbase2.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx
index 4f0aa7382a6b..d06c54df8e4f 100644
--- a/sfx2/source/appl/lnkbase2.cxx
+++ b/sfx2/source/appl/lnkbase2.cxx
@@ -396,12 +396,12 @@ void SvBaseLink::_GetRealObject( bool bConnect)
if( OBJECT_CLIENT_DDE == nObjType )
{
OUString sServer;
- if( pImpl->m_pLinkMgr->GetDisplayNames( this, &sServer ) &&
+ if( sfx2::LinkManager::GetDisplayNames( this, &sServer ) &&
sServer == Application::GetAppName() ) // internal Link !!!
{
// so that the Internal link can be created!
nObjType = OBJECT_INTERN;
- xObj = pImpl->m_pLinkMgr->CreateObj( this );
+ xObj = sfx2::LinkManager::CreateObj( this );
pImplData->ClientType.bIntrnlLnk = true;
nObjType = OBJECT_CLIENT_DDE; // so we know what it once was!
@@ -409,11 +409,11 @@ void SvBaseLink::_GetRealObject( bool bConnect)
else
{
pImplData->ClientType.bIntrnlLnk = false;
- xObj = pImpl->m_pLinkMgr->CreateObj( this );
+ xObj = sfx2::LinkManager::CreateObj( this );
}
}
else if( (OBJECT_CLIENT_SO & nObjType) )
- xObj = pImpl->m_pLinkMgr->CreateObj( this );
+ xObj = sfx2::LinkManager::CreateObj( this );
if( bConnect && ( !xObj.Is() || !xObj->Connect( this ) ) )
Disconnect();
@@ -490,7 +490,7 @@ void SvBaseLink::Edit( vcl::Window* pParent, const Link& rEndEditHdl )
{
if( pImpl->m_pLinkMgr )
{
- SvLinkSourceRef ref = pImpl->m_pLinkMgr->CreateObj( this );
+ SvLinkSourceRef ref = sfx2::LinkManager::CreateObj( this );
if( ref.Is() )
{
ref->Edit( pParent, this, aLink );
@@ -521,7 +521,7 @@ bool SvBaseLink::ExecuteEdit( const OUString& _rNewName )
if( !Update() )
{
OUString sApp, sTopic, sItem, sError;
- pImpl->m_pLinkMgr->GetDisplayNames( this, &sApp, &sTopic, &sItem );
+ sfx2::LinkManager::GetDisplayNames( this, &sApp, &sTopic, &sItem );
if( nObjType == OBJECT_CLIENT_DDE )
{
sError = SFX2_RESSTR(STR_DDE_ERROR);