https://issues.apache.org/ooo/show_bug.cgi?id=122906

            Bug ID: 122906
        Issue Type: DEFECT
           Summary: Paste Special dialog shows blank entry for Writer
                    document
           Product: Native-Lang
           Version: AOO 4.0.0
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: ja
          Assignee: [email protected]
          Reporter: [email protected]

It seems this problem happen when
app.src#STR_WRITER_DOCUMENT_FULLTYPE.string.text string contains multi byte
characters (or non Ascii 7 bit).
How to reproduce: 
1. Create new Writer document
2. Input something like abc
3. Select them and copy by Ctrl + C
4. Push Ctrl + Shift + V to open paste special dialog
-> First entry of the listbox is "OpenOffice Writer" for en-US locale
But on ja and ru, blank entry is shown.
I tried de localized one having "%PRODUCTNAME %PRODUCTVERSION Textdokument" as
the string too, it was ok.

When I change the string above changed from "%PRODUCTNAME %PRODUCTVERSION
テキストドキュメント" to "%PRODUCTNAME %PRODUCTVERSION Text Document" in localized sdf
file, 
the entry shows the same one from en-US.

When I debug on ja locale, "if ( rHelper.HasFormat(
SOT_FORMATSTR_ID_OBJECTDESCRIPTOR ) )" is false in
SvPasteObjectDialog::GetFormat function. And TransferableObjectDescriptor aDesc
is still empty.
But for en-US, it has the object descriptor and aDesc contains the information.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to