From 4d2d2c6e535b5ff8b305fe15c54d9fe3495297db Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Tue, 22 Apr 2008 14:09:09 +0000
Subject: 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)
---
tools/source/ref/errinf.cxx | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
(limited to 'tools/source/ref')
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;
}
--
cgit