Issue 117701

Summary: sw module compiles with warning and breaks in xmlitemm.cxx
Product: Writer Reporter: clippka
Component: codeAssignee: clippka
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Normal    
Priority: P1 (highest) CC: issues, kurt.zenker, mst.ooo, nesshof, vladimir.glazounov
Version: DEV300m105Keywords: regression
Target Milestone: 3.4.0   
Hardware: PC   
OS: Windows NT   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
don't use -1 none

Description clippka 2011-04-05 15:12:56 UTC
sw/source/filter/xml/xmlitemm.cxx(66) : warning C4245: 'initializing' : conversion from 'int' to 'sal_uInt16', signed/unsigned mismatch

since dev300 m105, also in m106, plattform: wntmsci12
Comment 1 Oliver Specht 2011-04-06 06:39:28 UTC
->mst: Due to your change in 
http://hg.services.openoffice.org/DEV300/diff/f80c08a963d7/sw/source/filter/xml/xmlitemm.cxx

I wonder how it could be built by releng?
Comment 2 mst.ooo 2011-04-06 14:11:02 UTC
Created attachment 76304 [details]
don't use -1

well, the value doesn't really matter because it's never used...
can somebody try if this patch fixes the problem on windows?
Comment 3 clippka 2011-04-07 08:18:56 UTC
Yes this fixes the problem under windows for me
Comment 4 mst.ooo 2011-04-07 08:25:06 UTC
very good; can somebody masterfix this please?
Comment 5 ivo.hinkelmann 2011-04-07 08:39:44 UTC
@kz , @vg please masterfix
Comment 6 kurt.zenker 2011-04-07 15:01:50 UTC
This patch has been applied as masterfix on OOO340m0.
Comment 7 Marcus 2011-04-15 08:48:05 UTC
is the issue fixed? if so, please close this issue
Comment 8 Martin Hollmichel 2011-04-19 12:57:18 UTC
mark as resolved.
Comment 9 Oliver-Rainer Wittmann 2012-06-13 12:25:29 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.