summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-09 17:07:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-09 17:08:27 +0000
commit295cc6c5bce83c48aa92254687b2251c09115e67 (patch)
treefb18431cfaafca3066ac490fb86a16d8a372a100 /svtools
parent6e29607d0f8a2e41aa3ff7dc02393bb7502f6b41 (diff)
unographic: delete unused GraphicDescriptor::isValid()
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/graphic/descriptor.cxx7
-rw-r--r--svtools/source/graphic/descriptor.hxx2
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();