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
commit5c33a826f81ccca3ea829e7f7840571b693ee9ea (patch)
treee3c0bbf89603d4e8ac329b92f7a7598b85e4ad17 /basic
parenta96269fde569db60b47b702c86bcb0eb7f40162f (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 64882397732f..8fb2a58a4895 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);