Issue 19698 - possible bugs in the usage of tools string class
Summary: possible bugs in the usage of tools string class
Status: CLOSED DUPLICATE of issue 19699
Alias: None
Product: utilities
Classification: Unclassified
Component: code (show other issues)
Version: OOo 1.1 RC4
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: hennes.rohling
QA Contact: Unknown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-17 13:50 UTC by tono
Modified: 2003-09-18 10:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description tono 2003-09-17 13:50:15 UTC
As tools string class can be implicitly converted from numeric types 
(sal_Unicode), there seem to be possible bugs using numeric arguments that do 
not contain utf-16 character for string class parrameters in various codings.

I believe that any implicit conversion from numeric types should be 
eliminated. We should use "explicit" keyword effectively.

I attach some examples although I have not confirmed that these are all bugs.
Comment 1 utomo99 2003-09-18 09:02:53 UTC
Duplicated. 

please only submit one for one issue

*** This issue has been marked as a duplicate of 19699 ***
Comment 2 hennes.rohling 2003-09-18 10:35:53 UTC
Closed.