summaryrefslogtreecommitdiff
path: root/sc/inc/sc.hrc
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-10-04 18:15:55 -0400
committerKohei Yoshida <kyoshida@novell.com>2010-10-04 18:15:55 -0400
commitb91b8e9098cdbdfac414ebb0e036edc962056ce8 (patch)
tree5c955157b4d0d16a1405fe16476bfc5399a47943 /sc/inc/sc.hrc
parentf7e2c840aa9d243cf0dee58713e71de895b292ce (diff)
Ported calc-insert-current-time-sc.diff from ooo-build.
This enables quick insertion of current date and time into current cell, via command. By default, these commands are bound to * Ctrl-';' * Ctrl-Shift-';' respectively.
Diffstat (limited to 'sc/inc/sc.hrc')
-rw-r--r--sc/inc/sc.hrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc
index 4d4c94d32d04..5264651b3859 100644
--- a/sc/inc/sc.hrc
+++ b/sc/inc/sc.hrc
@@ -1669,6 +1669,10 @@
#define RID_SCPAGE_FORMULA (SC_OOO_BUILD_START + 2)
#define HID_SCPAGE_FORMULA (SC_OOO_BUILD_START + 3)
+// Insert current date and time to cell via command
+#define SID_INSERT_CURRENT_DATE (SC_OOO_BUILD_START + 4)
+#define SID_INSERT_CURRENT_TIME (SC_OOO_BUILD_START + 5)
+
#endif