summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2011-02-28 17:55:46 +0100
committerCarsten Driesner <cd@openoffice.org>2011-02-28 17:55:46 +0100
commite53bc0fef9c615804b922c548b64bf9160ebb67f (patch)
treee721301a6842f9b6f8f9f9a7fee8ac9cda0843d3 /extensions
parentCWS gnumake3: found another tools integer type (diff)
downloadcore-e53bc0fef9c615804b922c548b64bf9160ebb67f.tar.gz
core-e53bc0fef9c615804b922c548b64bf9160ebb67f.zip
fwk167: #i87606# Return correct result from event selection dialog when clicking on Cancel
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/eventhandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx
index 24fb4e8b88db..90c3931c60b5 100644
--- a/extensions/source/propctrlr/eventhandler.cxx
+++ b/extensions/source/propctrlr/eventhandler.cxx
@@ -940,7 +940,7 @@ namespace pcr
// DF definite problem here
// OK & Cancel seem to be both returning 0
- if ( pDialog->Execute() != 0 )
+ if ( pDialog->Execute() == RET_CANCEL )
return InteractiveSelectionResult_Cancelled;
try