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

Dag Wieers dag at wieers.com
Fri Mar 18 08:44:39 UTC 2016


 sc/source/ui/view/tabvwsha.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f1ff9375184607b86ae8807d7cf1220962425b51
Author: Dag Wieers <dag at wieers.com>
Date:   Sun Mar 13 22:09:55 2016 +0100

    Related: tdf#42629 Improve the readability of the status bar functions
    
    Currently there is no spacing between functions in the status bar.
    Which makes it hard to read. E.g.
    
        Average=4.5;Count=8;Max=8;Sum=36
    
    I think spacing and using colons works out better:
    
        Average: 4.5; Count: 8; Max: 8; Sum: 36
    
    Change-Id: I866bd06519bf03bbe146eee47128a476aff06ba1

diff --git a/sc/source/ui/view/tabvwsha.cxx b/sc/source/ui/view/tabvwsha.cxx
index ce8b41c..9d34f76 100644
--- a/sc/source/ui/view/tabvwsha.cxx
+++ b/sc/source/ui/view/tabvwsha.cxx
@@ -110,7 +110,7 @@ bool ScTabViewShell::GetFunction( OUString& rFuncStr, sal_uInt16 nErrCode )
             SCTAB       nTab        = rViewData.GetTabNo();
 
             aStr = ScGlobal::GetRscString(nGlobStrId);
-            aStr += "=";
+            aStr += ": ";
 
             ScAddress aCursor( nPosX, nPosY, nTab );
             double nVal;
@@ -141,7 +141,7 @@ bool ScTabViewShell::GetFunction( OUString& rFuncStr, sal_uInt16 nErrCode )
                 bFirst = false;
             }
             else
-                rFuncStr += (";" + aStr);
+                rFuncStr += ("; " + aStr);
         }
     }
 


More information about the Libreoffice-commits mailing list