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 /svtools | |
parent | rtftok: remove unused variable (diff) | |
download | core-295cc6c5bce83c48aa92254687b2251c09115e67.tar.gz core-295cc6c5bce83c48aa92254687b2251c09115e67.zip |
unographic: delete unused GraphicDescriptor::isValid()
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/graphic/descriptor.cxx | 7 | ||||
-rw-r--r-- | svtools/source/graphic/descriptor.hxx | 2 |
2 files changed, 0 insertions, 9 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(); |