summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/validate.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-17 16:35:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-17 18:45:13 +0100
commitecf43ac726d048530970cfdb3be98ef8a8fce782 (patch)
tree2bd84c10be73f2ac53fc4612464dc6fe9338f150 /sc/source/ui/inc/validate.hxx
parent5c3eca5e84f25aff0af6586cb6bf85a25bec81b3 (diff)
EndDialog takes long nResult, not bool
Change-Id: Id57ad91eb6f2a5f7f4801ebc3a1317bb7bf46adf
Diffstat (limited to 'sc/source/ui/inc/validate.hxx')
-rw-r--r--sc/source/ui/inc/validate.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx
index ecf03bc196e6..79c63ff3d511 100644
--- a/sc/source/ui/inc/validate.hxx
+++ b/sc/source/ui/inc/validate.hxx
@@ -132,7 +132,7 @@ public:
OSL_FAIL( "should not execute here!!!when the edit kill focus, should remove refhandler.\r\n" );
if ( IsInExecute() )
- EndDialog( false );
+ EndDialog( RET_CANCEL );
else if ( GetStyle() & WB_CLOSEABLE )
Close();
}