summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-10-22 23:34:59 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-10-23 09:42:52 +0200
commitde574fe542ccec288c3a5e240a6888d545e8d744 (patch)
tree2fa7c6d837800cc4b5491e931778b86cb802798e /svtools
parent48a6db0692d84becb6d944daa6195529551e96d5 (diff)
sfx2: add ERRCODE_SFX_FORMAT_ROWCOL
This is similar to the error code ODF filters are using in sw/sc/sd, except that it is not specific to any application, so any UNO filter can use it. All you need to do is to throw io::WrongFormatException with a "<row>,<col>" in the message of the exception, and then the error dialog will show it, instead of the useless general error message. Change-Id: I279c8d438f01498b44f14a6dc6aeef85f7dfa4e4
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/sfxecode.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svtools/inc/svtools/sfxecode.hxx b/svtools/inc/svtools/sfxecode.hxx
index c1bb23646402..7b31174bf341 100644
--- a/svtools/inc/svtools/sfxecode.hxx
+++ b/svtools/inc/svtools/sfxecode.hxx
@@ -76,6 +76,7 @@
#define ERRCODE_SFX_SHARED_NOPASSWORDCHANGE (ERRCODE_WARNING_MASK | ERRCODE_AREA_SFX | ERRCODE_CLASS_NONE | 54)
#define ERRCODE_SFX_INCOMPLETE_ENCRYPTION (ERRCODE_WARNING_MASK | ERRCODE_AREA_SFX | ERRCODE_CLASS_NONE | 55)
#define ERRCODE_SFX_DOCUMENT_MACRO_DISABLED_MAC (ERRCODE_WARNING_MASK | ERRCODE_AREA_SFX | ERRCODE_CLASS_NONE | 56)
+#define ERRCODE_SFX_FORMAT_ROWCOL (ERRCODE_AREA_SFX | ERRCODE_CLASS_NONE | 57)