Apache OpenOffice (AOO) Bugzilla – Issue 16370
Warning that indicates coding error
Last modified: 2013-08-07 14:41:36 UTC
The following two errors indicate a crash causing coding error that needs to be addressed. /data3/office/sw/source/ui/misc/docfnote.cxx:159: warning: casting `SfxItemSet*´ to `SfxItemSet&´ does not dereference pointer /data3/office/sw/source/ui/misc/docfnote.cxx:162: warning: casting `SfxItemSet*´ to `SfxItemSet&´ does not dereference pointer
Reassigned to OS
Created attachment 7373 [details] patch that removes warning.
This should go earlier, the code is just wrong, see patch.
Changing the code as you proposed would remove the warning but doesn't really improve the code. It's still a hack. The SfxTabPage::FillItemSet() method wants the reference of an object not of a dereferenced NULL pointer. It works because the two derivated classes don't access the SfxItemSet&. I don't agree to your target change. There's no need to hurry.
Fixed in cws os20
Set to verified, no QA check possible.
.