[Libreoffice-commits] .: sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Jan 9 05:26:56 PST 2013
sfx2/source/doc/templatedlg.cxx | 3 ---
sfx2/source/doc/templatedlg.hrc | 1 -
sfx2/source/doc/templatedlg.src | 5 -----
3 files changed, 9 deletions(-)
New commits:
commit 52006aa4050a07fcc238f3cc9e1faa1ac95d08ec
Author: Cédric Bosdonnat <cedric.bosdonnat at free.fr>
Date: Wed Jan 9 14:22:23 2013 +0100
Template Manager: removed All category
Change-Id: I073b9601c82a464f705df30cfd7e760c212eb7ca
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 6b9a2c4..4c12338 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -254,9 +254,6 @@ IMPL_LINK_NOARG(SfxTemplateManagerDlg,ActivatePageHdl)
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 @@ ModelessDialog DLG_TEMPLATE_MANAGER
{
PageItem
{
- Identifier = FILTER_ALL;
- Text [ en-US ] = "All";
- };
- PageItem
- {
Identifier = FILTER_DOCS;
Text [ en-US ] = "Documents";
};
More information about the Libreoffice-commits
mailing list