[PATCH 5/8] unographic: delete unused GraphicDescriptor::isValid() method
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Wed Feb 8 08:57:42 PST 2012
---
svtools/source/graphic/descriptor.cxx | 7 -------
svtools/source/graphic/descriptor.hxx | 2 --
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 a2441c9..378162d 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 2eeff29..a2b7e26 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 743ba38..a7b1aa3 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1527,7 +1527,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::OConfigurationValueContainer::getServiceFactory() const
--
1.7.9
More information about the LibreOffice
mailing list