summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/uno/assign.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/uno/assign.hxx b/cppu/source/uno/assign.hxx
index 4e3d70f311b2..c6a2cf58b457 100644
--- a/cppu/source/uno/assign.hxx
+++ b/cppu/source/uno/assign.hxx
@@ -388,7 +388,7 @@ inline bool _assignData(
return false;
// self assignment:
if (*static_cast<uno_Sequence **>(pSource) == *static_cast<uno_Sequence **>(pDest))
- return true;
+ return _type_equals(pDestType, pSourceType); // E.g. static empty sequence may be shared
if (_type_equals( pDestType, pSourceType ))
{
osl_atomic_increment( &(*static_cast<uno_Sequence **>(pSource))->nRefCount );