summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-08-06 10:38:32 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-08-06 10:39:16 +0200
commit4a93e2d99cd6b9ce554bc97ed2539d124b894c7b (patch)
treed9309f8b150333100af1706e0a5048c9df360d23
parentc5613c51efcd4c97d5b2f33e11d635fb1484acd7 (diff)
writerfilter: fix dbglevel=2 build
Change-Id: Ifd471e49cb167af48a9173762812164890e00791
-rw-r--r--writerfilter/inc/ooxml/OOXMLDocument.hxx4
-rw-r--r--writerfilter/source/ooxml/OOXMLFactory.cxx2
-rw-r--r--writerfilter/source/ooxml/OOXMLFactory.hxx2
3 files changed, 6 insertions, 2 deletions
diff --git a/writerfilter/inc/ooxml/OOXMLDocument.hxx b/writerfilter/inc/ooxml/OOXMLDocument.hxx
index 9dda5336f65b..ab932c6b821d 100644
--- a/writerfilter/inc/ooxml/OOXMLDocument.hxx
+++ b/writerfilter/inc/ooxml/OOXMLDocument.hxx
@@ -273,6 +273,10 @@ public:
void ooxmlidsToXML(::std::iostream & out);
+#ifdef DEBUG_DOMAINMAPPER
+std::string fastTokenToId(sal_uInt32 nToken);
+#endif
+
}}
#endif // INCLUDED_WRITERFILTER_INC_OOXML_OOXMLDOCUMENT_HXX
diff --git a/writerfilter/source/ooxml/OOXMLFactory.cxx b/writerfilter/source/ooxml/OOXMLFactory.cxx
index 651cd6fd1ff9..de24d2c62463 100644
--- a/writerfilter/source/ooxml/OOXMLFactory.cxx
+++ b/writerfilter/source/ooxml/OOXMLFactory.cxx
@@ -81,7 +81,7 @@ TokenToIdMapPointer OOXMLFactory_ns::getTokenToIdMap(Id nId)
}
#ifdef DEBUG_DOMAINMAPPER
-string OOXMLFactory_ns::getDefineName(Id /*nId*/) const
+std::string OOXMLFactory_ns::getDefineName(Id /*nId*/) const
{
return "";
}
diff --git a/writerfilter/source/ooxml/OOXMLFactory.hxx b/writerfilter/source/ooxml/OOXMLFactory.hxx
index 567a392cf959..bfa93c7c20bd 100644
--- a/writerfilter/source/ooxml/OOXMLFactory.hxx
+++ b/writerfilter/source/ooxml/OOXMLFactory.hxx
@@ -98,7 +98,7 @@ public:
virtual void endAction(OOXMLFastContextHandler * pHandler);
virtual void attributeAction(OOXMLFastContextHandler * pHandler, Token_t nToken, OOXMLValue::Pointer_t pValue);
#ifdef DEBUG_DOMAINMAPPER
- virtual string getDefineName(Id nId) const;
+ virtual std::string getDefineName(Id nId) const;
#endif
AttributeToResourceMapPointer getAttributeToResourceMap(Id nId);