diff options
Diffstat (limited to 'writerfilter/source/ooxml/factoryimpl.py')
-rw-r--r-- | writerfilter/source/ooxml/factoryimpl.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/writerfilter/source/ooxml/factoryimpl.py b/writerfilter/source/ooxml/factoryimpl.py index 2168fff556d7..3605892fe71f 100644 --- a/writerfilter/source/ooxml/factoryimpl.py +++ b/writerfilter/source/ooxml/factoryimpl.py @@ -25,7 +25,7 @@ def createFastChildContextFromFactory(model): (OOXMLFastContextHandler* pHandler, OOXMLFactory_ns::Pointer_t pFactory, Token_t Element) { uno::Reference <xml::sax::XFastContextHandler> aResult; - Id nDefine = pHandler->getDefine(); + const Id nDefine = pHandler->getDefine(); if (pFactory.get() != NULL) { @@ -33,7 +33,7 @@ def createFastChildContextFromFactory(model): Id nElementId; if (pFactory->getElementId(nDefine, Element, nResource, nElementId)) { - Id nId = pFactory->getResourceId(nDefine, Element); + const Id nId = pFactory->getResourceId(nDefine, Element); switch (nResource) {""") @@ -108,7 +108,6 @@ def fastTokenToId(model): print(""" std::string fastTokenToId(sal_uInt32 nToken) { - std::string sResult; #ifdef DEBUG_WRITERFILTER |