Kaydet (Commit) 024d135a authored tarafından Miklos Vajna's avatar Miklos Vajna

Unused arguments / variables

Change-Id: I5903b2f72314f8518beb1821c218fca6a3550d7f
üst 65613586
...@@ -153,7 +153,7 @@ std::string fastTokenToId(sal_uInt32 nToken) ...@@ -153,7 +153,7 @@ std::string fastTokenToId(sal_uInt32 nToken)
""") """)
def getFastParser(model): def getFastParser():
print("""uno::Reference <xml::sax::XFastParser> OOXMLStreamImpl::getFastParser() print("""uno::Reference <xml::sax::XFastParser> OOXMLStreamImpl::getFastParser()
{ {
if (!mxFastParser.is()) if (!mxFastParser.is())
...@@ -194,14 +194,14 @@ using namespace com::sun::star; ...@@ -194,14 +194,14 @@ using namespace com::sun::star;
getFactoryForNamespace(model) getFactoryForNamespace(model)
createFastChildContextFromStart(model) createFastChildContextFromStart(model)
fastTokenToId(model) fastTokenToId(model)
getFastParser(model) getFastParser()
def parseNamespaces(fro): def parseNamespaces(fro):
sock = open(fro) sock = open(fro)
for i in sock.readlines(): for i in sock.readlines():
line = i.strip() line = i.strip()
id, alias, url = line.split(' ') alias, url = line.split(' ')[1:] # first column is ID, not interesting for us
ooxUrlAliases[url] = alias ooxUrlAliases[url] = alias
sock.close() sock.close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment