summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/Accessibility/AccessibleCell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleCell.cxx')
-rw-r--r--sc/source/ui/Accessibility/AccessibleCell.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx b/sc/source/ui/Accessibility/AccessibleCell.cxx
index 9042fe4676e4..956b1db6bbc8 100644
--- a/sc/source/ui/Accessibility/AccessibleCell.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCell.cxx
@@ -491,13 +491,13 @@ uno::Any SAL_CALL ScAccessibleCell::getExtendedAttributes()
if (mpViewShell)
{
OUString strFor = mpViewShell->GetFormula(maCellAddress) ;
- strFor = strFor.replaceAt(0,1,"");
+ strFor = strFor.copy(1);
strFor = ReplaceFourChar(strFor);
strFor = "Formula:" + strFor +
- ";Note:";
- strFor += ReplaceFourChar(GetAllDisplayNote()) + ";";
- strFor += getShadowAttrs();//the string returned contains the spliter ";"
- strFor += getBorderAttrs();//the string returned contains the spliter ";"
+ ";Note:" +
+ ReplaceFourChar(GetAllDisplayNote()) + ";" +
+ getShadowAttrs() + //the string returned contains the spliter ";"
+ getBorderAttrs();//the string returned contains the spliter ";"
//end of cell attributes
if( mpDoc )
{