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

            Bug ID: 92649
           Summary: Use smart pointers in KDE4 vcl plugin
           Product: LibreOffice
           Version: 5.1.0.0.alpha0+ Master
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Browsing through KDE4 vcl plugin code, there are few places where raw pointers
are used, such as:

if (!m_image || m_image->size() != widgetRect.size())
    {
        delete m_image;
        m_image = new QImage( widgetRect.width(),

which is of course not so very nice. 

This task is about locating those places in the code and replacing them with
appropriate smart pointers (std::unique_ptr will do the job, in most cases)

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