To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=54221
                  Issue #:|54221
                  Summary:|import of control name incorrect
                Component:|Spreadsheet
                  Version:|OOO 2.0 Beta2
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|open-import
              Assigned to:|dr
              Reported by:|npower





------- Additional comments from [EMAIL PROTECTED] Mon Sep  5 02:09:07 -0700 
2005 -------
Daniel,
mmm seems this one has come back to haunt me, doing something else I discovered
an error with the control name import in the eisher layer. The string always
includes some zero bytes at the end of the string


This results in the OUString having some weird behavior like 

::rtl::OUString sName;
xProps->getPropertyValue(
                    ::rtl::OUString::createFromAscii("Name") ) >>= sName;
sName += rtl::OUString::createFromAscii("-Postfix");

will always result in a string that when you print it will just show the orig
control name but not the postfix part, of course it actually has the postfix 
but 
 the zero bytes act I guess as some sort of terminator. Anyway I am attaching a
patch, I'm hoping that you or one of your colleagues will be commiting something
to a cws where this could be included. I hope such a simple patch will not be a
problem to be integrated. To illustrate I will also attach a simple document and
associated biff dump :-)

---------------------------------------------------------------------
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