https://bugs.freedesktop.org/show_bug.cgi?id=41474

           Summary: EasyHack: obsolete
                    rtl::O[U]StringBuffer::{charAt,setCharAt}
           Product: LibreOffice
           Version: LibO Master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: [email protected]
        ReportedBy: [email protected]


With
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=112bdf84d684590e042725c7173e059b4afa2f83>
"Removed dangerous rtl::O[U]String[Buffer]::operator sal_{char,Unicode} const
*." the member functions

rtl::OStringBuffer::charAt
rtl::OStringBuffer::setCharAt
rtl::OUStringBuffer::charAt
rtl::OUStringBuffer::setCharAt

(that followed a misguided inspiration from Java's StringBuffer) are obsolete. 
They should be marked as SAL_DEPRECATED and their uses be replaced with uses of
operator [].

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to