summaryrefslogtreecommitdiff
path: root/sc/inc/globstr.hrc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-10-29 20:56:09 +0100
committerEike Rathke <erack@redhat.com>2013-10-30 01:27:58 +0100
commitb1febe2901d03a0e46fb7ca18b4398af2f5142da (patch)
treee7f2059ef9cbb55852945eceb57365a73dfb8d5b /sc/inc/globstr.hrc
parent6638ea3eec48b008fd3abdca99f0f8ef7d91f00b (diff)
commented purpose of this file to clarify resident nature
currently it's a mess of what was added here Change-Id: Iaea4a6a44358c93c9dda45030898e2cb453526af
Diffstat (limited to 'sc/inc/globstr.hrc')
-rw-r--r--sc/inc/globstr.hrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/sc/inc/globstr.hrc b/sc/inc/globstr.hrc
index d24ee7319f81..b8eb5c435a96 100644
--- a/sc/inc/globstr.hrc
+++ b/sc/inc/globstr.hrc
@@ -20,6 +20,16 @@
#ifndef SC_GLOBSTR_HRC
#define SC_GLOBSTR_HRC
+/*
+ * This file is reserved for string IDs of permanently loaded resident string
+ * resources for faster access in core and filter code (and some UI like
+ * Undo/Redo or strings displayed in the status bar), they reside in resource
+ * RID_GLOBSTR and are meant to be accessed via ScGlobal::GetRscString(). All
+ * other string IDs of strings used in message boxes and elsewhere go into
+ * sc/inc/sc.hrc if they need to be global, or if restricted to UI dialogs into
+ * a proper sc/source/ui/xxx/yyy.hrc and corresponding .src PLEASE!
+ */
+
#define STR_UNDO_DELETECELLS 1
#define STR_UNDO_CUT 2
#define STR_UNDO_PASTE 3