summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr
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
commita293edc8032ab58bf87c0f5d3910024cb0069261 (patch)
treefce78e3114500a88f50a43e23fd2715ed6ef89e7 /extensions/source/propctrlr
parent9648a577f081b0468702fb7f0db69b2582b96e72 (diff)
fwk167: #i87606# Return correct result from event selection dialog when clicking on Cancel
Diffstat (limited to 'extensions/source/propctrlr')
-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 5235ba1d2..71d40d0ad 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