diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-09 20:18:51 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-09 20:23:05 +0100 |
commit | b089c1091dcd854ad83152ebf602a9a8e32485d6 (patch) | |
tree | 043b245e37c47cdd550674d9d42181324bea124d /writerfilter/source | |
parent | b3f1d8af89b015df0108a82ce7f19bfc957e0f69 (diff) |
writerfilter: move QNameToString to the OOXML tokenizer
It's filled with contents in the OOXML tokenizer anyway, keeping its
interface outside of it is pointless.
Change-Id: I10051c5b41a1247417bfb3dd3170a76bf20925aa
Diffstat (limited to 'writerfilter/source')
-rw-r--r-- | writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/ooxml/OOXMLFastHelper.hxx | 2 | ||||
-rw-r--r-- | writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/ooxml/qnametostr.py | 4 | ||||
-rw-r--r-- | writerfilter/source/ooxml/qnametostrcore.cxx (renamed from writerfilter/source/resourcemodel/qnametostrcore.cxx) | 4 | ||||
-rw-r--r-- | writerfilter/source/resourcemodel/LoggedResources.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/resourcemodel/TagLogger.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfsprm.cxx | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx index 30caf267e344..bb0c9774e232 100644 --- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx +++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx @@ -23,7 +23,7 @@ #include <comphelper/servicehelper.hxx> #include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/xml/sax/FastShapeContextHandler.hpp> -#include <resourcemodel/QNameToString.hxx> +#include <ooxml/QNameToString.hxx> #include <ooxml/resourceids.hxx> #include <oox/token/namespaces.hxx> #include <dmapper/DomainMapper.hxx> diff --git a/writerfilter/source/ooxml/OOXMLFastHelper.hxx b/writerfilter/source/ooxml/OOXMLFastHelper.hxx index 4d5b9715ff91..88e5c236f30f 100644 --- a/writerfilter/source/ooxml/OOXMLFastHelper.hxx +++ b/writerfilter/source/ooxml/OOXMLFastHelper.hxx @@ -20,7 +20,7 @@ #define INCLUDED_WRITERFILTER_SOURCE_OOXML_OOXMLFASTHELPER_HXX #include <iostream> -#include <resourcemodel/QNameToString.hxx> +#include <ooxml/QNameToString.hxx> #include "OOXMLFastContextHandler.hxx" namespace writerfilter { diff --git a/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx b/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx index 01b8b4d612de..52e755061e5e 100644 --- a/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx +++ b/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx @@ -20,7 +20,7 @@ #include "OOXMLPropertySetImpl.hxx" #include <stdio.h> #include <iostream> -#include <resourcemodel/QNameToString.hxx> +#include <ooxml/QNameToString.hxx> #include <com/sun/star/drawing/XShape.hpp> #include <oox/token/tokens.hxx> diff --git a/writerfilter/source/ooxml/qnametostr.py b/writerfilter/source/ooxml/qnametostr.py index 4a98d4f836ac..7b6f8de0f9f3 100644 --- a/writerfilter/source/ooxml/qnametostr.py +++ b/writerfilter/source/ooxml/qnametostr.py @@ -19,12 +19,12 @@ class ContentHandler(xml.sax.handler.ContentHandler): def startDocument(self): print(""" #include "ooxml/resourceids.hxx" -#include "resourcemodel/QNameToString.hxx" +#include "ooxml/QNameToString.hxx" namespace writerfilter { -void QNameToString::init_ooxml() +void QNameToString::init() { #ifdef DEBUG_WRITERFILTER /* ooxml */ diff --git a/writerfilter/source/resourcemodel/qnametostrcore.cxx b/writerfilter/source/ooxml/qnametostrcore.cxx index 861e994d39e1..2cf13703d99a 100644 --- a/writerfilter/source/resourcemodel/qnametostrcore.cxx +++ b/writerfilter/source/ooxml/qnametostrcore.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <resourcemodel/QNameToString.hxx> +#include <ooxml/QNameToString.hxx> namespace writerfilter { @@ -47,7 +47,7 @@ std::string QNameToString::operator()(Id qName) QNameToString::QNameToString() { - init_ooxml(); + init(); } } diff --git a/writerfilter/source/resourcemodel/LoggedResources.cxx b/writerfilter/source/resourcemodel/LoggedResources.cxx index 3b730bd77461..6aa834b2b801 100644 --- a/writerfilter/source/resourcemodel/LoggedResources.cxx +++ b/writerfilter/source/resourcemodel/LoggedResources.cxx @@ -19,7 +19,7 @@ #include <rtl/ustrbuf.hxx> #include <resourcemodel/LoggedResources.hxx> -#include <resourcemodel/QNameToString.hxx> +#include <ooxml/QNameToString.hxx> using namespace ::com::sun::star; diff --git a/writerfilter/source/resourcemodel/TagLogger.cxx b/writerfilter/source/resourcemodel/TagLogger.cxx index d10610cb519c..d6c17b5b35f9 100644 --- a/writerfilter/source/resourcemodel/TagLogger.cxx +++ b/writerfilter/source/resourcemodel/TagLogger.cxx @@ -20,7 +20,7 @@ #include <libxml/xmlstring.h> #include <string.h> #include <resourcemodel/TagLogger.hxx> -#include <resourcemodel/QNameToString.hxx> +#include <ooxml/QNameToString.hxx> #include <boost/unordered_map.hpp> using namespace css; diff --git a/writerfilter/source/rtftok/rtfsprm.cxx b/writerfilter/source/rtftok/rtfsprm.cxx index dbd84d96f6d0..b4e1e2e11885 100644 --- a/writerfilter/source/rtftok/rtfsprm.cxx +++ b/writerfilter/source/rtftok/rtfsprm.cxx @@ -12,7 +12,7 @@ #include <rtl/strbuf.hxx> #include <ooxml/resourceids.hxx> -#include <resourcemodel/QNameToString.hxx> +#include <ooxml/QNameToString.hxx> namespace writerfilter |