[Libreoffice-commits] .: 2 commits - sc/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Sun Jul 22 14:08:59 PDT 2012


 sc/source/ui/condformat/condformathelper.cxx |    2 ++
 sc/source/ui/src/globstr.src                 |    4 ++++
 2 files changed, 6 insertions(+)

New commits:
commit 7a26388f34feeec9568cbdcbad78fd5cd881747c
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Jul 22 21:29:27 2012 +0200

    show expression for formula condition in manage cond formats
    
    Change-Id: I04cda5ba5b248ef7938d36b5af6003ac89642e42

diff --git a/sc/source/ui/condformat/condformathelper.cxx b/sc/source/ui/condformat/condformathelper.cxx
index dda40a8..1ec8607 100644
--- a/sc/source/ui/condformat/condformathelper.cxx
+++ b/sc/source/ui/condformat/condformathelper.cxx
@@ -76,6 +76,8 @@ rtl::OUString ScCondFormatHelper::GetExpression(const ScConditionalFormat& rForm
                     if(eMode == SC_COND_DIRECT)
                     {
                         aBuffer.append(getTextForType(FORMULA));
+                        aBuffer.append(" ");
+                        aBuffer.append(pEntry->GetExpression(rPos, 0));
                     }
                     else
                     {
commit c53e5a7dceb78980960504515881281c8e40bcdf
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Jul 22 21:24:50 2012 +0200

    add missing string for "Formula is"
    
    Change-Id: Ie2c3dae7ebe3181cb8bb85869882a4eed4a07c14

diff --git a/sc/source/ui/src/globstr.src b/sc/source/ui/src/globstr.src
index 9938cd6..0b25b8c 100644
--- a/sc/source/ui/src/globstr.src
+++ b/sc/source/ui/src/globstr.src
@@ -1891,5 +1891,9 @@ Resource RID_GLOBSTR
     {
         Text [ en-US ] = "duplicate";
     };
+    String STR_COND_FORMULA
+    {
+        Text [ en-US ] = "Formula is";
+    };
 };
 


More information about the Libreoffice-commits mailing list