https://bugs.documentfoundation.org/show_bug.cgi?id=89307

            Bug ID: 89307
           Summary: remove SvRef::operator T*() replacing use with
                    explicit access through SvRef::get()
           Product: LibreOffice
           Version: unspecified
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: low
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Using smart pointers with implicit conversion to raw pointer types is
dangerous.
Reference: Modern C++ Design: Generic Programming and Design Patterns Applied,
7.7 Implicit Conversion to Raw Pointer Types
(http://www.informit.com/articles/article.aspx?p=31529&seqNum=7)

Remove implicit conversion to raw pointer in SvRef (SvRef::operator T*()).
Fix errors using get() method (SvRef::get())

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