From b994c005e00de0dee18b6f8fecf2fd55bac7b7b3 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Mon, 22 Jan 2007 12:23:33 +0000 Subject: [PATCH] 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 --- sc/source/ui/Accessibility/AccessibleCellBase.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sc/source/ui/Accessibility/AccessibleCellBase.cxx b/sc/source/ui/Accessibility/AccessibleCellBase.cxx index e7212221110d..4f1bf6bcd212 100644 --- a/sc/source/ui/Accessibility/AccessibleCellBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleCellBase.cxx @@ -4,9 +4,9 @@ * * $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 terms of GNU Lesser General Public License Version 2.1. @@ -274,6 +274,10 @@ sal_Int32 // always us OOO notation maCellAddress.Format( sAddress, SCA_VALID, NULL ); 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); }