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)
setting this new, it's easy hack after all
Ryan McCoskrie committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ba8cdfca4d875af0c95622c7b87a8291e130865a tdf#92649: Converted pointers to unique_ptr's in vcl/unx/kde4 It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner SkillCpp TopicCleanup ) [NinjaEdit]