From ead6507f060caafb588861d8ec8aee82bd880e67 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 18 Apr 2016 17:36:43 +0200 Subject: Elide macro used once Change-Id: Ie0ad7834f54a5bf9cea65b4bb6d7501a90da0f24 --- framework/inc/acceleratorconst.h | 2 -- framework/source/xml/acceleratorconfigurationwriter.cxx | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'framework') diff --git a/framework/inc/acceleratorconst.h b/framework/inc/acceleratorconst.h index f4ac1b174ff2..03b0303504b8 100644 --- a/framework/inc/acceleratorconst.h +++ b/framework/inc/acceleratorconst.h @@ -24,8 +24,6 @@ namespace framework{ -#define DOCTYPE_ACCELERATORS "" - #define ATTRIBUTE_TYPE_CDATA "CDATA" #define XMLNS_XLINK "xlink" diff --git a/framework/source/xml/acceleratorconfigurationwriter.cxx b/framework/source/xml/acceleratorconfigurationwriter.cxx index 181acec82b64..48a45c120c77 100644 --- a/framework/source/xml/acceleratorconfigurationwriter.cxx +++ b/framework/source/xml/acceleratorconfigurationwriter.cxx @@ -60,7 +60,9 @@ void AcceleratorConfigurationWriter::flush() // generate xml xExtendedCFG->startDocument(); - xExtendedCFG->unknown(DOCTYPE_ACCELERATORS); + xExtendedCFG->unknown( + ""); xExtendedCFG->ignorableWhitespace(OUString()); xExtendedCFG->startElement(AL_ELEMENT_ACCELERATORLIST, xAttribs); -- cgit