summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmllib_imexp/xmllib_export.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/source/xmllib_imexp/xmllib_export.cxx')
-rw-r--r--xmlscript/source/xmllib_imexp/xmllib_export.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/xmlscript/source/xmllib_imexp/xmllib_export.cxx b/xmlscript/source/xmllib_imexp/xmllib_export.cxx
index 5df774515f83..1d205e993115 100644
--- a/xmlscript/source/xmllib_imexp/xmllib_export.cxx
+++ b/xmlscript/source/xmllib_imexp/xmllib_export.cxx
@@ -17,25 +17,18 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <xmlscript/xmllib_imexp.hxx>
#include <xmlscript/xml_helper.hxx>
using namespace com::sun::star::uno;
using namespace com::sun::star;
-
namespace xmlscript
{
const char aTrueStr[] = "true";
const char aFalseStr[] = "false";
-//##################################################################################################
-
-
-//==================================================================================================
-
void
SAL_CALL exportLibraryContainer(
Reference< xml::sax::XWriter > const & xOut,
@@ -50,7 +43,6 @@ SAL_CALL exportLibraryContainer(
xOut->unknown( aDocTypeStr );
xOut->ignorableWhitespace( OUString() );
-
OUString aLibrariesName( XMLNS_LIBRARY_PREFIX ":libraries" );
XMLElement* pLibsElement = new XMLElement( aLibrariesName );
Reference< xml::sax::XAttributeList > xAttributes( pLibsElement );
@@ -58,7 +50,6 @@ SAL_CALL exportLibraryContainer(
pLibsElement->addAttribute( "xmlns:" XMLNS_LIBRARY_PREFIX, XMLNS_LIBRARY_URI );
pLibsElement->addAttribute( "xmlns:" XMLNS_XLINK_PREFIX, XMLNS_XLINK_URI );
-
xOut->ignorableWhitespace( OUString() );
xOut->startElement( aLibrariesName, xAttributes );
@@ -77,7 +68,6 @@ SAL_CALL exportLibraryContainer(
pLibElement->addAttribute( XMLNS_LIBRARY_PREFIX ":name", rLib.aName );
-
if( !rLib.aStorageURL.isEmpty() )
{
pLibElement->addAttribute( XMLNS_XLINK_PREFIX ":href", rLib.aStorageURL );
@@ -100,8 +90,6 @@ SAL_CALL exportLibraryContainer(
xOut->endDocument();
}
-//==================================================================================================
-
void
SAL_CALL exportLibrary(
::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XWriter > const & xOut,
@@ -116,7 +104,6 @@ SAL_CALL exportLibrary(
xOut->unknown( aDocTypeStr );
xOut->ignorableWhitespace( OUString() );
-
OUString aLibraryName( XMLNS_LIBRARY_PREFIX ":library" );
XMLElement* pLibElement = new XMLElement( aLibraryName );
Reference< xml::sax::XAttributeList > xAttributes( pLibElement );