summaryrefslogtreecommitdiff
path: root/sw/source/core/graphic
diff options
context:
space:
mode:
authorJacek Fraczek <fraczek.jacek@gmail.com>2016-10-12 20:04:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-18 09:27:56 +0000
commit398d641664baa6eaeb34789f0aebfd21e73edef3 (patch)
treef3185bdf569f8c9454e832cc8d7f08ce75f033a2 /sw/source/core/graphic
parentc5c24f2035ef5941e83f7f0b15cb000f806983cd (diff)
tdf#89307: Removed T* SvRef::opeartor &()
Usage has been replaced with SvRef::get() or removed where applicable. Change-Id: I49f108910b668466134c40940b53fc3ab2acd816 Reviewed-on: https://gerrit.libreoffice.org/29780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/core/graphic')
-rw-r--r--sw/source/core/graphic/ndgrf.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index 36e1e37ba2d4..c1c747d9decb 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -131,7 +131,7 @@ SwGrfNode::SwGrfNode( const SwNodeIndex & rWhere,
FStatHelper::IsDocument( aUrl.GetMainURL( INetURLObject::NO_DECODE ) ))
{
// file exists, so create connection without an update
- static_cast<SwBaseLink*>(&refLink)->Connect();
+ static_cast<SwBaseLink*>( refLink.get() )->Connect();
}
}
}
@@ -172,7 +172,7 @@ bool SwGrfNode::ReRead(
if( nNewType != refLink->GetObjType() )
{
refLink->Disconnect();
- static_cast<SwBaseLink*>(&refLink)->SetObjType( nNewType );
+ static_cast<SwBaseLink*>( refLink.get() )->SetObjType( nNewType );
}
}
@@ -214,7 +214,7 @@ bool SwGrfNode::ReRead(
else if ( bNewGrf )
{
//TODO refLink->setInputStream(getInputStream());
- static_cast<SwBaseLink*>(&refLink)->SwapIn();
+ static_cast<SwBaseLink*>( refLink.get() )->SwapIn();
}
}
onGraphicChanged();
@@ -249,7 +249,7 @@ bool SwGrfNode::ReRead(
onGraphicChanged();
bReadGrf = true;
// create connection without update, as we have the graphic
- static_cast<SwBaseLink*>(&refLink)->Connect();
+ static_cast<SwBaseLink*>( refLink.get() )->Connect();
}
else if( pGrfObj )
{
@@ -258,7 +258,7 @@ bool SwGrfNode::ReRead(
onGraphicChanged();
bReadGrf = true;
// create connection without update, as we have the graphic
- static_cast<SwBaseLink*>(&refLink)->Connect();
+ static_cast<SwBaseLink*>( refLink.get() )->Connect();
}
else
{
@@ -268,7 +268,7 @@ bool SwGrfNode::ReRead(
onGraphicChanged();
if ( bNewGrf )
{
- static_cast<SwBaseLink*>(&refLink)->SwapIn();
+ static_cast<SwBaseLink*>( refLink.get() )->SwapIn();
}
}
}