summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshap4.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-13 10:58:54 +0200
committerNoel Grandin <noel@peralex.com>2016-01-13 12:16:23 +0200
commit139c2e8cbde7e176d184c46583d1b78ef851515a (patch)
tree1df9c43c20ceaf4a461d9291e7359ddfde129adb /svx/source/unodraw/unoshap4.cxx
parent6cbf151fa91ce50f7b1582c6e502a4474ba54b8e (diff)
loplugin:unusedmethods unused return value in include/svx
Change-Id: I9a5e937905fd71ecbbf9cb215ff6cc2b7defc6f3
Diffstat (limited to 'svx/source/unodraw/unoshap4.cxx')
-rw-r--r--svx/source/unodraw/unoshap4.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index 03c85d4ce9ed..d4afc83caf4e 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -457,13 +457,13 @@ bool SvxOle2Shape::createObject( const SvGlobalName &aClassName )
return xObj.is();
}
-bool SvxOle2Shape::createLink( const OUString& aLinkURL )
+void SvxOle2Shape::createLink( const OUString& aLinkURL )
{
DBG_TESTSOLARMUTEX();
SdrOle2Obj* pOle2Obj = dynamic_cast< SdrOle2Obj* >( mpObj.get() );
if ( !pOle2Obj || !pOle2Obj->IsEmpty() )
- return false;
+ return;
OUString aPersistName;
@@ -516,8 +516,6 @@ bool SvxOle2Shape::createLink( const OUString& aLinkURL )
if ( pOle2Obj->IsEmpty() )
pOle2Obj->SetObjRef( xObj );
}
-
- return xObj.is();
}
void SvxOle2Shape::resetModifiedState()