summaryrefslogtreecommitdiff
path: root/oox/source/core/relationshandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/core/relationshandler.cxx')
-rw-r--r--oox/source/core/relationshandler.cxx19
1 files changed, 10 insertions, 9 deletions
diff --git a/oox/source/core/relationshandler.cxx b/oox/source/core/relationshandler.cxx
index e0d7acda81e0..6812a4acada6 100644
--- a/oox/source/core/relationshandler.cxx
+++ b/oox/source/core/relationshandler.cxx
@@ -26,18 +26,20 @@
************************************************************************/
#include "oox/core/relationshandler.hxx"
+
#include <rtl/ustrbuf.hxx>
-#include "tokens.hxx"
#include "oox/helper/attributelist.hxx"
-#include "oox/core/namespaces.hxx"
-using ::rtl::OUString;
-using ::rtl::OUStringBuffer;
+namespace oox {
+namespace core {
+
+// ============================================================================
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox {
-namespace core {
+using ::rtl::OUString;
+using ::rtl::OUStringBuffer;
// ============================================================================
@@ -76,7 +78,7 @@ Reference< XFastContextHandler > RelationsFragment::createFastChildContext(
AttributeList aAttribs( rxAttribs );
switch( nElement )
{
- case NMSP_PACKAGE_RELATIONSHIPS|XML_Relationship:
+ case PR_TOKEN( Relationship ):
{
Relation aRelation;
aRelation.maId = aAttribs.getString( XML_Id, OUString() );
@@ -95,7 +97,7 @@ Reference< XFastContextHandler > RelationsFragment::createFastChildContext(
}
}
break;
- case NMSP_PACKAGE_RELATIONSHIPS|XML_Relationships:
+ case PR_TOKEN( Relationships ):
xRet = getFastContextHandler();
break;
}
@@ -106,4 +108,3 @@ Reference< XFastContextHandler > RelationsFragment::createFastChildContext(
} // namespace core
} // namespace oox
-