diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-08-31 13:23:46 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-08-31 13:23:46 +0200 |
commit | 024d135a5bf6a45885dea58080609001bd465e3c (patch) | |
tree | a0242904fd6f18dd4531c25956d2da19290309e7 /writerfilter | |
parent | 65613586117d5cf90d5459d4babd968c8de5fe4b (diff) |
Unused arguments / variables
Change-Id: I5903b2f72314f8518beb1821c218fca6a3550d7f
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/ooxml/factoryimpl.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/writerfilter/source/ooxml/factoryimpl.py b/writerfilter/source/ooxml/factoryimpl.py index 475620e0f28d..dcd624875237 100644 --- a/writerfilter/source/ooxml/factoryimpl.py +++ b/writerfilter/source/ooxml/factoryimpl.py @@ -153,7 +153,7 @@ std::string fastTokenToId(sal_uInt32 nToken) """) -def getFastParser(model): +def getFastParser(): print("""uno::Reference <xml::sax::XFastParser> OOXMLStreamImpl::getFastParser() { if (!mxFastParser.is()) @@ -194,14 +194,14 @@ using namespace com::sun::star; getFactoryForNamespace(model) createFastChildContextFromStart(model) fastTokenToId(model) - getFastParser(model) + getFastParser() def parseNamespaces(fro): sock = open(fro) for i in sock.readlines(): line = i.strip() - id, alias, url = line.split(' ') + alias, url = line.split(' ')[1:] # first column is ID, not interesting for us ooxUrlAliases[url] = alias sock.close() |