Issue 100484 - sw: operation on 'pCmpLine' may be undefined
Summary: sw: operation on 'pCmpLine' may be undefined
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: DEV300m44
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: caolanm
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks: 96084
  Show dependency tree
 
Reported: 2009-03-23 16:56 UTC by caolanm
Modified: 2013-08-07 14:44 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch to fix potential undefined operation (855 bytes, patch)
2009-03-23 17:00 UTC, caolanm
no flags Details | Diff
complete patch for all instances (2.35 KB, patch)
2009-03-23 18:09 UTC, caolanm
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description caolanm 2009-03-23 16:56:43 UTC
sw/source/core/doc/tblrwcl.cxx: In function 'BOOL lcl_CopyCol(const _FndBox*&,
void*)':
sw/source/core/doc/tblrwcl.cxx:367: error: operation on 'pCmpLine' may be undefined

Patch attached to remove this warning
Comment 1 caolanm 2009-03-23 17:01:27 UTC
Created attachment 61122 [details]
patch to fix potential undefined operation
Comment 2 caolanm 2009-03-23 18:09:16 UTC
Created attachment 61125 [details]
complete patch for all instances
Comment 3 caolanm 2009-03-23 18:09:56 UTC
There are three places it happens, so here's a patch for all of them
Comment 4 Mathias_Bauer 2009-04-15 08:10:49 UTC
Björn, please take over
Comment 5 bjoern.michaelsen 2009-07-31 11:27:04 UTC
started work in cws bjm02.
Comment 6 bjoern.michaelsen 2009-07-31 11:32:00 UTC
fixed with changeset dd7498fc7504 in cws bjm02.

http://hg.services.openoffice.org/hg/cws/bjm02/rev/dd7498fc7504
Comment 7 bjoern.michaelsen 2009-08-10 13:49:14 UTC
additional fix with changeset afd96554f8b5 for buildbreaker on windows.

http://hg.services.openoffice.org/hg/cws/bjm02/rev/afd96554f8b5
Comment 8 bjoern.michaelsen 2009-08-12 16:52:55 UTC
@cmc: please verify
Comment 9 bjoern.michaelsen 2009-08-21 17:44:55 UTC
verifying myself, so cws can move on through QA.
Comment 10 caolanm 2009-09-16 10:32:51 UTC
closing, integrated