[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Mon Dec 2 09:00:09 PST 2013


 sc/source/ui/Accessibility/AccessibleCell.cxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 1d0d881bc906f75259c3d63df32c1d0d9ea906b6
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Dec 2 17:59:42 2013 +0100

    -Werror,-Wunused-variable
    
    ...plus clean-up
    
    Change-Id: I37252f505c76f6f6be14873e13da4e660a4a623a

diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx b/sc/source/ui/Accessibility/AccessibleCell.cxx
index c768f8a..c060a60 100644
--- a/sc/source/ui/Accessibility/AccessibleCell.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCell.cxx
@@ -501,16 +501,14 @@ uno::Any SAL_CALL ScAccessibleCell::getExtendedAttributes()
     uno::Any strRet;
     if (mpViewShell)
     {
-        const OUString strAttr(":");
-        const OUString strSplit(";");
         OUString strFor = mpViewShell->GetFormula(maCellAddress) ;
         strFor = strFor.replaceAt(0,1,"");
         strFor = ReplaceFourChar(strFor);
         strFor = "Formula:" + strFor;
         strFor += strSplit;
-        strFor += "Note:";
+        strFor += ";Note:";
         strFor += ReplaceFourChar(GetAllDisplayNote());
-        strFor += strSplit;
+        strFor += ";";
         strFor += getShadowAttrs();//the string returned contains the spliter ";"
         strFor += getBorderAttrs();//the string returned contains the spliter ";"
         //end of cell attributes


More information about the Libreoffice-commits mailing list