diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/acceleratorconst.h | 2 | ||||
-rw-r--r-- | framework/source/xml/acceleratorconfigurationwriter.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
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 "<!DOCTYPE accel:acceleratorlist PUBLIC \"-//OpenOffice.org//DTD OfficeDocument 1.0//EN\" \"accelerator.dtd\">" - #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( + "<!DOCTYPE accel:acceleratorlist PUBLIC \"-//OpenOffice.org//DTD" + " OfficeDocument 1.0//EN\" \"accelerator.dtd\">"); xExtendedCFG->ignorableWhitespace(OUString()); xExtendedCFG->startElement(AL_ELEMENT_ACCELERATORLIST, xAttribs); |