summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/warnbox.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2002-07-16 12:22:10 +0000
committerNiklas Nebel <nn@openoffice.org>2002-07-16 12:22:10 +0000
commitb89ba10c6bd4ee929c456001d80d7aacc28db929 (patch)
tree925182f2921110d3e8a917c14cd22770abe68876 /sc/source/ui/miscdlgs/warnbox.cxx
parentcad3c234d47a59d59feb559d4cd26bffd870049b (diff)
#101160# Execute: set the right return value
Diffstat (limited to 'sc/source/ui/miscdlgs/warnbox.cxx')
-rw-r--r--sc/source/ui/miscdlgs/warnbox.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/miscdlgs/warnbox.cxx b/sc/source/ui/miscdlgs/warnbox.cxx
index be6696c4143e..9456a0489e4a 100644
--- a/sc/source/ui/miscdlgs/warnbox.cxx
+++ b/sc/source/ui/miscdlgs/warnbox.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: warnbox.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: dr $ $Date: 2002-07-11 10:55:11 $
+ * last change: $Author: nn $ $Date: 2002-07-16 13:22:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -82,7 +82,7 @@ sal_Int16 ScCbWarningBox::Execute()
sal_Int16 nRet = (GetStyle() & WB_DEF_YES) ? RET_YES : RET_NO;
if( IsDialogEnabled() )
{
- sal_Int16 nRet = WarningBox::Execute();
+ nRet = WarningBox::Execute();
if( GetCheckBoxState() )
DisableDialog();
}