[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sc/inc sc/source

Eike Rathke erack at redhat.com
Fri Aug 7 05:52:29 PDT 2015


 sc/inc/globstr.hrc                    |    4 +++-
 sc/source/ui/namedlg/namemgrtable.cxx |    2 +-
 sc/source/ui/src/globstr.src          |    6 +++++-
 3 files changed, 9 insertions(+), 3 deletions(-)

New commits:
commit 29be11a5d5d9e3e72816ebf6b204099ff8d86058
Author: Eike Rathke <erack at redhat.com>
Date:   Mon Jul 13 19:07:02 2015 +0200

    Resolves: tdf#92709 conditional formats are applied to ranges, not expressions
    
    Hence we need a separate string as header in the dialog. Unfortunately I
    did not see this when applying 0cf38e7d0c5d2b67dca828aae1797bff58b6c5fe
    
    Change-Id: Ib60cef29e663e71a25849df1d5a926f0e871bb8b
    (cherry picked from commit ffebdead5445dffd60fb09382e69701d8a06cfc8)
    Reviewed-on: https://gerrit.libreoffice.org/17239
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/inc/globstr.hrc b/sc/inc/globstr.hrc
index 07896d4..6ca1fd7 100644
--- a/sc/inc/globstr.hrc
+++ b/sc/inc/globstr.hrc
@@ -700,7 +700,9 @@
 
 #define STR_TABLE_COUNT                 535
 
-#define SC_GLOBSTR_STR_COUNT            536     /**< the count of permanently resident strings */
+#define STR_HEADER_RANGE_OR_EXPR        536
+
+#define SC_GLOBSTR_STR_COUNT            537     /**< the count of permanently resident strings */
 
 #endif
 
diff --git a/sc/source/ui/namedlg/namemgrtable.cxx b/sc/source/ui/namedlg/namemgrtable.cxx
index e226e89..89749c6 100644
--- a/sc/source/ui/namedlg/namemgrtable.cxx
+++ b/sc/source/ui/namedlg/namemgrtable.cxx
@@ -45,7 +45,7 @@ ScRangeManagerTable::ScRangeManagerTable( SvSimpleTableContainer& rParent, boost
     SetTabs( &aStaticTabs[0], MAP_PIXEL );
 
     OUString aNameStr(ScGlobal::GetRscString(STR_HEADER_NAME));
-    OUString aRangeStr(ScGlobal::GetRscString(STR_HEADER_RANGE));
+    OUString aRangeStr(ScGlobal::GetRscString(STR_HEADER_RANGE_OR_EXPR));
     OUString aScopeStr(ScGlobal::GetRscString(STR_HEADER_SCOPE));
 
     HeaderBar& rHeaderBar = GetTheHeaderBar();
diff --git a/sc/source/ui/src/globstr.src b/sc/source/ui/src/globstr.src
index 0ce65a8..8ebb2c6 100644
--- a/sc/source/ui/src/globstr.src
+++ b/sc/source/ui/src/globstr.src
@@ -1772,7 +1772,7 @@ Resource RID_GLOBSTR
     {
         Text [en-US] = "Name";
     };
-    String STR_HEADER_RANGE
+    String STR_HEADER_RANGE_OR_EXPR
     {
         Text [en-US] = "Range or formula expression";
     };
@@ -1804,6 +1804,10 @@ Resource RID_GLOBSTR
     {
         Text [ en-US ] = "This Document is referenced by another document and not yet saved. Closing it without saving will result in data loss.";
     };
+    String STR_HEADER_RANGE
+    {
+        Text [en-US] = "Range";
+    };
     String STR_HEADER_COND
     {
         Text [ en-US ] = "First Condition";


More information about the Libreoffice-commits mailing list