summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2001-10-04 12:00:52 +0000
committerTino Rachui <tra@openoffice.org>2001-10-04 12:00:52 +0000
commitccb68e070e99d45791f917836460ff4d298d051b (patch)
tree8324405d2e451b1193ce957915c6b0f604aeed43 /fpicker
parent920d43b80b19d23cba97eef66c872c32d78e6be8 (diff)
#91325#now using the the new constants LISTBOX_VERSION_LABEL, LISTBOX_TEMPLATE_LABEL, LISTBOX_IMAGE_TEMPLATE_LABEL
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/misc/resourceprovider.cxx17
1 files changed, 5 insertions, 12 deletions
diff --git a/fpicker/source/win32/misc/resourceprovider.cxx b/fpicker/source/win32/misc/resourceprovider.cxx
index aaca38ccd399..739db5a49e89 100644
--- a/fpicker/source/win32/misc/resourceprovider.cxx
+++ b/fpicker/source/win32/misc/resourceprovider.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: resourceprovider.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: tra $ $Date: 2001-08-24 07:18:40 $
+ * last change: $Author: tra $ $Date: 2001-10-04 13:00:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -111,13 +111,6 @@ using namespace ::com::sun::star::ui::dialogs::CommonFilePickerElementIds;
#define RES_NAME svt
-// because the label of a listbox is
-// a control itself (static text) we
-// have defined a control id for this
-// label which is the listbox control
-// id + 100
-#define LB_LABEL_OFFSET 100
-
#define FOLDERPICKER_TITLE 500
#define FOLDER_PICKER_DEF_DESCRIPTION 501
@@ -139,9 +132,9 @@ _Entry CtrlIdToResIdTable[] = {
{ CHECKBOX_LINK, STR_SVT_FILEPICKER_INSERT_AS_LINK },
{ CHECKBOX_PREVIEW, STR_SVT_FILEPICKER_SHOW_PREVIEW },
{ PUSHBUTTON_PLAY, STR_SVT_FILEPICKER_PLAY },
- { LISTBOX_VERSION + LB_LABEL_OFFSET, STR_SVT_FILEPICKER_VERSION },
- { LISTBOX_TEMPLATE + LB_LABEL_OFFSET, STR_SVT_FILEPICKER_TEMPLATES },
- { LISTBOX_IMAGE_TEMPLATE + LB_LABEL_OFFSET, STR_SVT_FILEPICKER_IMAGE_TEMPLATE },
+ { LISTBOX_VERSION_LABEL, STR_SVT_FILEPICKER_VERSION },
+ { LISTBOX_TEMPLATE_LABEL, STR_SVT_FILEPICKER_TEMPLATES },
+ { LISTBOX_IMAGE_TEMPLATE_LABEL, STR_SVT_FILEPICKER_IMAGE_TEMPLATE },
{ CHECKBOX_SELECTION, STR_SVT_FILEPICKER_SELECTION },
{ FOLDERPICKER_TITLE, STR_SVT_FOLDERPICKER_DEFAULT_TITLE },
{ FOLDER_PICKER_DEF_DESCRIPTION, STR_SVT_FOLDERPICKER_DEFAULT_DESCRIPTION }