summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-08-15 13:16:01 +0000
committerKurt Zenker <kz@openoffice.org>2008-08-15 13:16:01 +0000
commitafd2cf57826bc0294264d721bea7fe5ced18b26c (patch)
treeb47977dfc863cbff7a019cb0c3527633e75a3cf7 /basic
parent1ae90cd35e92a6f2cf44679897949f5b9a17f65a (diff)
INTEGRATION: CWS pflin11 (1.9.22); FILE MERGED
2008/08/05 09:52:43 pflin 1.9.22.1: fix for i91911
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxstr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxstr.cxx b/basic/source/sbx/sbxstr.cxx
index b3fa072b89..fe8ebd5b0b 100644
--- a/basic/source/sbx/sbxstr.cxx
+++ b/basic/source/sbx/sbxstr.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sbxstr.cxx,v $
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
* This file is part of OpenOffice.org.
*
@@ -98,7 +98,7 @@ XubString ImpGetString( const SbxValues* p )
if( pVal )
aRes = pVal->GetString();
else if( p->pObj && p->pObj->IsFixed()
- && (p->pObj->GetType() & (SbxARRAY | SbxBYTE )) )
+ && (p->pObj->GetType() == (SbxARRAY | SbxBYTE )) )
{
// convert byte array to string
SbxArray* pArr = PTR_CAST(SbxArray, p->pObj);