From 98ae11bcd4b24c5616a4aefd4b865fcbe87814ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 13 Sep 2011 23:40:59 +0100 Subject: [PATCH] pointless foo --- xmloff/inc/xmloff/xmlexp.hxx | 8 -------- xmloff/source/core/xmlexp.cxx | 2 -- 2 files changed, 10 deletions(-) diff --git a/xmloff/inc/xmloff/xmlexp.hxx b/xmloff/inc/xmloff/xmlexp.hxx index c1bb9c05eb17..b5199f2c2720 100644 --- a/xmloff/inc/xmloff/xmlexp.hxx +++ b/xmloff/inc/xmloff/xmlexp.hxx @@ -133,10 +133,8 @@ class XMLOFF_DLLPUBLIC SvXMLExport : public ::cppu::WeakImplHelper6< ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > mxAttrList; // and an interface of it ::rtl::OUString msOrigFileName; // the original URL - ::rtl::OUString msPicturesPath; ::rtl::OUString msGraphicObjectProtocol; ::rtl::OUString msEmbeddedObjectProtocol; - ::rtl::OUString msObjectsPath; ::rtl::OUString msFilterName; SvXMLNamespaceMap *mpNamespaceMap; // the namepspace map SvXMLUnitConverter *mpUnitConv; // the unit converter @@ -417,12 +415,6 @@ public: // Get original ::com::sun::star::util::URL. const ::rtl::OUString& GetOrigFileName() const { return msOrigFileName; } - // Get the relative path for embedded pictures - const ::rtl::OUString& GetPicturesPath() const { return msPicturesPath; } - - // Get the relative path for embedded objects - const ::rtl::OUString& GetObjectsPath() const { return msObjectsPath; } - // Get (const) namespace map. const SvXMLNamespaceMap& GetNamespaceMap() const { return *mpNamespaceMap; } diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index 7b03fad5a4a9..2777f618f5ae 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -422,8 +422,6 @@ void SvXMLExport::_InitCtor() mxAttrList = (xml::sax::XAttributeList*)mpAttrList; - msPicturesPath = OUString( RTL_CONSTASCII_USTRINGPARAM( "#Pictures/" ) ); - msObjectsPath = OUString( RTL_CONSTASCII_USTRINGPARAM( "#./" ) ); msGraphicObjectProtocol = OUString( RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.GraphicObject:" ) ); msEmbeddedObjectProtocol = OUString( RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.EmbeddedObject:" ) );