diff --git a/sd/qa/unit/data/ppt/fail/CVE-2010-0033-1.ppt b/sd/qa/unit/data/ppt/fail/CVE-2010-0033-1.ppt new file mode 100644 index 000000000000..0e4f50239e6b Binary files /dev/null and b/sd/qa/unit/data/ppt/fail/CVE-2010-0033-1.ppt differ diff --git a/svtools/qa/cppunit/data/wmf/fail/CVE-2005-4560-1.wmf b/svtools/qa/cppunit/data/wmf/fail/CVE-2005-4560-1.wmf new file mode 100644 index 000000000000..aab34004e927 Binary files /dev/null and b/svtools/qa/cppunit/data/wmf/fail/CVE-2005-4560-1.wmf differ diff --git a/unotools/inc/unotools/configitem.hxx b/unotools/inc/unotools/configitem.hxx index fe3a0e991ad4..7910b68af5dd 100644 --- a/unotools/inc/unotools/configitem.hxx +++ b/unotools/inc/unotools/configitem.hxx @@ -183,9 +183,6 @@ namespace utl PropertyChangeListener if the sub tree broadcasts changes. */ virtual void Notify( const com::sun::star::uno::Sequence& aPropertyNames)=0; - /** is called from the ConfigManager if it is destroyed before the ConfigItem. */ - void ReleaseConfigMgr(); - const rtl::OUString& GetSubTreeName() const {return sSubTree;} sal_Bool IsModified() const; diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx index a0200e6b4d09..cb06d05cafec 100644 --- a/unotools/source/config/configitem.cxx +++ b/unotools/source/config/configitem.cxx @@ -250,23 +250,6 @@ ConfigItem::~ConfigItem() delete pImpl; } -void ConfigItem::ReleaseConfigMgr() -{ - Reference xHierarchyAccess = GetTree(); - if(xHierarchyAccess.is()) - { - try - { - Reference xBatch(xHierarchyAccess, UNO_QUERY); - xBatch->commitChanges(); - } - CATCH_INFO("Exception from commitChanges(): ") - } - RemoveChangesListener(); - OSL_ENSURE(pImpl->pManager, "ConfigManager already released"); - pImpl->pManager = 0; -} - void ConfigItem::CallNotify( const com::sun::star::uno::Sequence& rPropertyNames ) { // the call is forwarded to the virtual Notify() method diff --git a/unusedcode.easy b/unusedcode.easy index 35840712dc77..c1ec1e300cd0 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -2056,16 +2056,6 @@ layoutimpl::WidgetFactory::sfx2CreateWindow(VCLXWindow**, Window*, rtl::OUString layoutimpl::getParent(com::sun::star::uno::Reference) layoutimpl::prophlp::getProperty(com::sun::star::uno::Reference const&, rtl::OUString const&) libcmis::SessionFactory::getRepositories(std::__debug::map, std::allocator >, std::less, std::allocator, std::allocator > > > >) -libvisio::VSDXCharacterList::getElement(unsigned int) -libvisio::VSDXContentCollector::charStyleFromStyleSheet(unsigned int) -libvisio::VSDXContentCollector::paraStyleFromStyleSheet(unsigned int) -libvisio::VSDXContentCollector::textBlockStyleFromStyleSheet(unsigned int) -libvisio::VSDXOutputElementList::addEllipse(WPXPropertyList const&) -libvisio::VSDXOutputElementList::addEndLayer() -libvisio::VSDXOutputElementList::addStartLayer(WPXPropertyList const&) -libvisio::VSDXOutputElementList::clear() -libvisio::VSDXPage::VSDXPage(double, double, unsigned int, unsigned int, libvisio::VSDXOutputElementList const&) -libvisio::VSDXParagraphList::getElement(unsigned int) libvisio::VisioDocument::generateSVG(WPXInputStream*, WPXString&) libwpg::WPGraphics::generateSVG(unsigned char const*, unsigned long, WPXString&, libwpg::WPGFileFormat) libwpg::WPGraphics::parse(unsigned char const*, unsigned long, libwpg::WPGPaintInterface*, libwpg::WPGFileFormat) @@ -2392,7 +2382,6 @@ unicode::isTitle(unsigned short) unicode::isUnicodeScriptType(unsigned short, short) unographic::GraphicDescriptor::isValid() const utl::AccessibleStateSetHelper::Compare(utl::AccessibleStateSetHelper const&, utl::AccessibleStateSetHelper&, utl::AccessibleStateSetHelper&) -utl::ConfigManager::ConfigManager(com::sun::star::uno::Reference) utl::MultiAtomProvider::getLastAtom(int) const utl::MultiAtomProvider::hasAtom(int, int) const utl::MultiAtomProvider::insertAtomClass(int)