To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90486
                 Issue #|90486
                 Summary|to-be-DEV300_m18/.Net2003: warnings in sd/source/filte
                        |r/eppt/epptso.cxx
               Component|Presentation
                 Version|DEV300m17
                Platform|All
                     URL|
              OS/Version|Windows, all
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|sj
             Reported by|pjanik





------- Additional comments from [EMAIL PROTECTED] Sun Jun  8 07:59:11 +0000 
2008 -------
Hi,

on Windows:

f:/home\pavel\BuildDir\ooo_DEV300_m18_src\sd\source\filter\eppt\epptso.cxx(2518)
 : error C2220: 
warning treated as error - no object file generated
f:/home\pavel\BuildDir\ooo_DEV300_m18_src\sd\source\filter\eppt\epptso.cxx(2518)
 : warning 
C4244: '+=' : conversion from 'int' to 'sal_Int16', possible loss of data

This fixes it:

-                            nTextOfs += (sal_Int16)( *( (sal_Int32*)pValue ) / 
( 2540.0 / 576 ) );
+                            nTextOfs = nTextOfs + static_cast<sal_Int16>(*( 
(sal_Int32*)pValue ) / ( 2540.0 / 576 
) );

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to