diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-09 17:07:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-09 17:08:27 +0000 |
commit | 295cc6c5bce83c48aa92254687b2251c09115e67 (patch) | |
tree | fb18431cfaafca3066ac490fb86a16d8a372a100 | |
parent | 6e29607d0f8a2e41aa3ff7dc02393bb7502f6b41 (diff) |
unographic: delete unused GraphicDescriptor::isValid()
-rw-r--r-- | svtools/source/graphic/descriptor.cxx | 7 | ||||
-rw-r--r-- | svtools/source/graphic/descriptor.hxx | 2 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 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<int> const&) ucbhelper::Content::insertNewContent(rtl::OUString const&, com::sun::star::uno::Sequence<int> const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&, ucbhelper::Content&) ucbhelper::ContentBroker::ContentBroker(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, std::__debug::vector<ucbhelper::ContentProviderData, std::allocator<ucbhelper::ContentProviderData> > 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 |