From 295cc6c5bce83c48aa92254687b2251c09115e67 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 9 Feb 2012 17:07:48 +0000 Subject: unographic: delete unused GraphicDescriptor::isValid() --- svtools/source/graphic/descriptor.cxx | 7 ------- svtools/source/graphic/descriptor.hxx | 2 -- unusedcode.easy | 1 - 3 files changed, 10 deletions(-) diff --git a/svtools/source/graphic/descriptor.cxx b/svtools/source/graphic/descriptor.cxx index a2441c9a0336..378162de561f 100644 --- a/svtools/source/graphic/descriptor.cxx +++ b/svtools/source/graphic/descriptor.cxx @@ -116,13 +116,6 @@ void GraphicDescriptor::init( const uno::Reference< io::XInputStream >& rxIStm, // ------------------------------------------------------------------------------ -bool GraphicDescriptor::isValid() const -{ - return( mpGraphic ? ( mpGraphic->GetType() != GRAPHIC_NONE ) : ( meType != GRAPHIC_NONE ) ); -} - -// ------------------------------------------------------------------------------ - void GraphicDescriptor::implCreate( SvStream& rIStm, const ::rtl::OUString* pURL ) { String aURL; diff --git a/svtools/source/graphic/descriptor.hxx b/svtools/source/graphic/descriptor.hxx index 2eeff29b9927..a2b7e2697f27 100644 --- a/svtools/source/graphic/descriptor.hxx +++ b/svtools/source/graphic/descriptor.hxx @@ -89,8 +89,6 @@ public: void init( const ::rtl::OUString& rURL ) throw(); void init( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& rxIStm, const ::rtl::OUString& rURL ) throw(); - bool isValid() const; - static ::rtl::OUString getImplementationName_Static() throw(); static ::com::sun::star::uno::Sequence< ::rtl::OUString > getSupportedServiceNames_Static() throw(); diff --git a/unusedcode.easy b/unusedcode.easy index a8e85435a06a..d6d3b58521f9 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1541,7 +1541,6 @@ ucbhelper::Content::getPropertyValues(com::sun::star::uno::Sequence const&) ucbhelper::Content::insertNewContent(rtl::OUString const&, com::sun::star::uno::Sequence const&, com::sun::star::uno::Sequence const&, com::sun::star::uno::Reference const&, ucbhelper::Content&) ucbhelper::ContentBroker::ContentBroker(com::sun::star::uno::Reference const&, std::__debug::vector > const&) ucbhelper::SimpleCertificateValidationRequest::getResponse() const -unographic::GraphicDescriptor::isValid() const utl::NodeValueAccessor::bind(com::sun::star::uno::Any*) utl::OConfigurationNode::appendNode(rtl::OUString const&, utl::OConfigurationNode const&) const utl::TransliterationWrapper::compareSubstring(String const&, int, int, String const&, int, int) const -- cgit