diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-10-22 23:34:59 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-10-23 09:42:52 +0200 |
commit | de574fe542ccec288c3a5e240a6888d545e8d744 (patch) | |
tree | 2fa7c6d837800cc4b5491e931778b86cb802798e /svx | |
parent | 48a6db0692d84becb6d944daa6195529551e96d5 (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 'svx')
-rw-r--r-- | svx/source/src/errtxt.src | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/src/errtxt.src b/svx/source/src/errtxt.src index 29a2a335189c..63e995420624 100644 --- a/svx/source/src/errtxt.src +++ b/svx/source/src/errtxt.src @@ -512,6 +512,10 @@ Resource RID_ERRHDL { Text [ en-US ] = "The password of a shared spreadsheet cannot be set or changed.\nDeactivate sharing mode first."; }; + String ERRCODE_SFX_FORMAT_ROWCOL + { + Text [ en-US ] = "File format error found at $(ARG1)(row,col)."; + }; }; // eof ------------------------------------------------------------------------ |