diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-12 20:20:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-14 07:35:58 +0000 |
commit | 93c5ac9ff1033492bec1aefcda94c1507cafcccd (patch) | |
tree | e7fe7913ba17e2f0210c07fd5eee21f3ed64241d | |
parent | callcatcher: remove unused code (diff) | |
download | core-93c5ac9ff1033492bec1aefcda94c1507cafcccd.tar.gz core-93c5ac9ff1033492bec1aefcda94c1507cafcccd.zip |
ReleaseConfigMgr not called by anything
-rw-r--r-- | sd/qa/unit/data/ppt/fail/CVE-2010-0033-1.ppt | bin | 0 -> 3072 bytes | |||
-rw-r--r-- | svtools/qa/cppunit/data/wmf/fail/CVE-2005-4560-1.wmf | bin | 0 -> 12178 bytes | |||
-rw-r--r-- | unotools/inc/unotools/configitem.hxx | 3 | ||||
-rw-r--r-- | unotools/source/config/configitem.cxx | 17 | ||||
-rw-r--r-- | unusedcode.easy | 11 |
5 files changed, 0 insertions, 31 deletions
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 Binary files differnew file mode 100644 index 000000000000..0e4f50239e6b --- /dev/null +++ b/sd/qa/unit/data/ppt/fail/CVE-2010-0033-1.ppt 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 Binary files differnew file mode 100644 index 000000000000..aab34004e927 --- /dev/null +++ b/svtools/qa/cppunit/data/wmf/fail/CVE-2005-4560-1.wmf 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<rtl::OUString>& 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<XHierarchicalNameAccess> xHierarchyAccess = GetTree(); - if(xHierarchyAccess.is()) - { - try - { - Reference<XChangesBatch> 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<OUString>& 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<com::sun::star::uno::XInterface>) layoutimpl::prophlp::getProperty(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&, rtl::OUString const&) libcmis::SessionFactory::getRepositories(std::__debug::map<int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<int>, std::allocator<std::pair<int const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >) -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<com::sun::star::lang::XMultiServiceFactory>) utl::MultiAtomProvider::getLastAtom(int) const utl::MultiAtomProvider::hasAtom(int, int) const utl::MultiAtomProvider::insertAtomClass(int) |