INTEGRATION: CWS dr52 (1.18.62); FILE MERGED

2006/12/19 14:22:23 dr 1.18.62.1: #i65103# add space between cell address and contents, needed for ZT
This commit is contained in:
Oliver Bolte 2007-01-22 12:23:33 +00:00
parent 1a639fc7f6
commit b994c005e0

View file

@ -4,9 +4,9 @@
* *
* $RCSfile: AccessibleCellBase.cxx,v $ * $RCSfile: AccessibleCellBase.cxx,v $
* *
* $Revision: 1.18 $ * $Revision: 1.19 $
* *
* last change: $Author: ihi $ $Date: 2006-10-18 12:26:16 $ * last change: $Author: obo $ $Date: 2007-01-22 13:23:33 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@ -274,6 +274,10 @@ sal_Int32
// always us OOO notation // always us OOO notation
maCellAddress.Format( sAddress, SCA_VALID, NULL ); maCellAddress.Format( sAddress, SCA_VALID, NULL );
sName.SearchAndReplaceAscii("%1", sAddress); sName.SearchAndReplaceAscii("%1", sAddress);
/* #i65103# ZoomText merges cell address and contents, e.g. if value 2 is
contained in cell A1, ZT reads "cell A twelve" instead of "cell A1 - 2".
Simple solution: Append a space character to the cell address. */
sName.Append( ' ' );
return rtl::OUString(sName); return rtl::OUString(sName);
} }