summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-10-05 10:28:46 -0400
committerKohei Yoshida <kyoshida@novell.com>2010-10-05 10:28:46 -0400
commite0185db43409456a5ccf47bd1f879888a5b04783 (patch)
tree1bedf6cde707f7f502439a237bc020b9293649d2 /sfx2/inc
parent2a154fcf9cea7f9d0c056368a66314ee89d34456 (diff)
Ported calc-formula-variable-sep-config-check-sfx2.diff from ooo-build.
This adds a method that gets called when the user clicks OK to dismiss the Options dialog. This is used in order to handle conflicting argument separator settings wrt locale-specific decimal separators.
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/sfx2/objsh.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/inc/sfx2/objsh.hxx b/sfx2/inc/sfx2/objsh.hxx
index e392535f4155..1073a685f07f 100644
--- a/sfx2/inc/sfx2/objsh.hxx
+++ b/sfx2/inc/sfx2/objsh.hxx
@@ -346,6 +346,13 @@ public:
virtual sal_Bool SwitchPersistance(
const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage );
virtual void UpdateLinks();
+ /**
+ * Called when the Options dialog is dismissed with the OK button, to
+ * handle potentially conflicting option settings.
+ */
+ virtual void CheckConfigOptions();
+ sal_Bool IsConfigOptionsChecked() const;
+ void SetConfigOptionsChecked( sal_Bool bChecked );
// called for a few slots like SID_SAVE[AS]DOC, SID_PRINTDOC[DIRECT], derived classes may abort the action
virtual sal_Bool QuerySlotExecutable( USHORT nSlotId );