summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-18 17:36:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-18 17:36:43 +0200
commitead6507f060caafb588861d8ec8aee82bd880e67 (patch)
tree30144897b71c5bcefa5567799014faaed285f906 /framework/source
parent7d8bdf84623334dabfacc795a8a82ff5184319c5 (diff)
Elide macro used once
Change-Id: Ie0ad7834f54a5bf9cea65b4bb6d7501a90da0f24
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/xml/acceleratorconfigurationwriter.cxx4
1 files changed, 3 insertions, 1 deletions
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(
+ "<!DOCTYPE accel:acceleratorlist PUBLIC \"-//OpenOffice.org//DTD"
+ " OfficeDocument 1.0//EN\" \"accelerator.dtd\">");
xExtendedCFG->ignorableWhitespace(OUString());
xExtendedCFG->startElement(AL_ELEMENT_ACCELERATORLIST, xAttribs);