summaryrefslogtreecommitdiff
path: root/editors/openoffice-3/files/patch-i88160
blob: fc21b222aa2c9f2460c28ce6b283e9b87358204b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: sw/source/core/doc/dbgoutsw.cxx
===================================================================
RCS file: /cvs/sw/sw/source/core/doc/dbgoutsw.cxx,v
retrieving revision 1.23
diff -u -r1.23 dbgoutsw.cxx
--- sw/source/core/doc/dbgoutsw.cxx	19 Feb 2008 13:40:02 -0000	1.23
+++ sw/source/core/doc/dbgoutsw.cxx	12 Apr 2008 00:17:46 -0000
@@ -296,7 +296,7 @@
         if (!bFirst)
             aStr += String(", ", RTL_TEXTENCODING_ASCII_US);
 
-        if ((sal_uInt32)pItem != 0xffffffff)
+        if (! pItem->IsInvalidItem())
             aStr += lcl_dbg_out(*pItem);
         else
             aStr += String("invalid", RTL_TEXTENCODING_ASCII_US);