summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:09:09 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:09:09 +0000
commit4d2d2c6e535b5ff8b305fe15c54d9fe3495297db (patch)
treeef5b98acf0e3963cc28e46a676f677656d459519 /tools
parentba78a25734b84922b4c603374cb222e04255c481 (diff)
INTEGRATION: CWS hr50 (1.7.78); FILE MERGED
2008/03/03 13:39:14 hr 1.7.78.1: #i86574#: fix warning (gcc-4.2.3)
Diffstat (limited to 'tools')
-rw-r--r--tools/source/ref/errinf.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/source/ref/errinf.cxx b/tools/source/ref/errinf.cxx
index 0eeffc27705c..25d894f4b925 100644
--- a/tools/source/ref/errinf.cxx
+++ b/tools/source/ref/errinf.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: errinf.cxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
* This file is part of OpenOffice.org.
*
@@ -371,10 +371,12 @@ USHORT ErrorHandler::HandleError_Impl(
}
DBG_ERROR("Error nicht behandelt");
// Error 1 ist General Error im Sfx
- if(pInfo->GetErrorCode()!=1)
+ if(pInfo->GetErrorCode()!=1) {
HandleError_Impl(1, USHRT_MAX, bJustCreateString, rError);
- else
+ }
+ else {
DBG_ERROR("Error 1 nicht gehandeled");
+ }
delete pInfo;
return 0;
}