summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-04-27 07:10:16 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-04-29 07:40:11 +0200
commitffd7e06be3a05a7912dc4fc507e03865a01c894c (patch)
treea42d77e779cd59eeea10f066a962b08e9a0dcbd7 /svx
parent6f53cf281eb3c13fc516ff79decb70b2a87a96d0 (diff)
Avoid warning about FlushCustomShapeUnoApiObjects
See http://nabble.documentfoundation.org/Unknown-FlushCustomShapeUnoApiObjects-property-xmloff-svx-td4212940.html Change-Id: Ia82beb75015d09c847268c2f696b79fd8c395a29 Reviewed-on: https://gerrit.libreoffice.org/37012 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/unoshap2.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index 779155c1f51a..48c0158b8fb9 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -1691,6 +1691,9 @@ void SAL_CALL SvxCustomShape::setPropertyValue( const OUString& aPropertyName, c
// will free the involved EditEngine and VirtualDevice.
pTarget->mxCustomShapeEngine.set(nullptr);
}
+ // since this case is only for the application cores
+ // we should return from this function now
+ return;
}
bool bCustomShapeGeometry = pObject && aPropertyName == "CustomShapeGeometry";