[PATCH] Change in core[libreoffice-4-0]: Template Manager: removed All category

Bosdonnat Cedric (via Code Review) gerrit at gerrit.libreoffice.org
Mon Jan 14 08:03:27 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1674

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/74/1674/1

Template Manager: removed All category

Change-Id: I073b9601c82a464f705df30cfd7e760c212eb7ca
---
M sfx2/source/doc/templatedlg.cxx
M sfx2/source/doc/templatedlg.hrc
M sfx2/source/doc/templatedlg.src
3 files changed, 0 insertions(+), 9 deletions(-)



diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index bff2dc1..7bd3741 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -253,9 +253,6 @@
         case FILTER_DRAWS:
             eFilter = FILTER_APP_DRAW;
             break;
-        default:
-        case FILTER_ALL:
-            ;
     }
     mpCurView->filterTemplatesByApp(eFilter);
     return 0;
diff --git a/sfx2/source/doc/templatedlg.hrc b/sfx2/source/doc/templatedlg.hrc
index 02c6702..672575c 100644
--- a/sfx2/source/doc/templatedlg.hrc
+++ b/sfx2/source/doc/templatedlg.hrc
@@ -7,7 +7,6 @@
  */
 
 #define TAB_CONTROL                 1
-#define FILTER_ALL                  2
 #define FILTER_DOCS                 3
 #define FILTER_PRESENTATIONS        4
 #define FILTER_SHEETS               5
diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src
index 2480862..a351431 100644
--- a/sfx2/source/doc/templatedlg.src
+++ b/sfx2/source/doc/templatedlg.src
@@ -121,11 +121,6 @@
         {
             PageItem
             {
-                Identifier = FILTER_ALL;
-                Text [ en-US ] = "All";
-            };
-            PageItem
-            {
                 Identifier = FILTER_DOCS;
                 Text [ en-US ] = "Documents";
             };

-- 
To view, visit https://gerrit.libreoffice.org/1674
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I073b9601c82a464f705df30cfd7e760c212eb7ca
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Bosdonnat Cedric <cedric.bosdonnat at free.fr>



More information about the LibreOffice mailing list