summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-11-13 15:48:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-11-13 15:48:04 +0000
commit46b934679a476207d78e1284b308c792dd79c05e (patch)
tree39a449bf63ce479098504654c1154cdc7f4e966e /xmloff
parenta88ea0092c8c5176cfa6ecf3e781375633b6c665 (diff)
clear c++11ish
Change-Id: I4eea774206a5bd1de1c10a69aceb6476c5feecbf
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/XMLFontStylesContext.cxx7
-rw-r--r--xmloff/source/style/XMLFontStylesContext_impl.hxx6
2 files changed, 7 insertions, 6 deletions
diff --git a/xmloff/source/style/XMLFontStylesContext.cxx b/xmloff/source/style/XMLFontStylesContext.cxx
index 29f480864a29..f6006aa60a88 100644
--- a/xmloff/source/style/XMLFontStylesContext.cxx
+++ b/xmloff/source/style/XMLFontStylesContext.cxx
@@ -267,6 +267,13 @@ void XMLFontStyleContextFontFaceUri::SetFormat( const OUString& rFormat )
{
format = rFormat;
}
+
+// the CSS2 standard ( http://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#referencing )
+// defines these format strings.
+const char* OPENTYPE_FORMAT = "opentype";
+const char* TRUETYPE_FORMAT = "truetype";
+const char* EOT_FORMAT = "embedded-opentype";
+
void XMLFontStyleContextFontFaceUri::EndElement()
{
if( linkPath.getLength() == 0 )
diff --git a/xmloff/source/style/XMLFontStylesContext_impl.hxx b/xmloff/source/style/XMLFontStylesContext_impl.hxx
index 6ad621f265e3..3bcbdde0b086 100644
--- a/xmloff/source/style/XMLFontStylesContext_impl.hxx
+++ b/xmloff/source/style/XMLFontStylesContext_impl.hxx
@@ -88,12 +88,6 @@ public:
/// Handles <style:font-face-uri>
class XMLFontStyleContextFontFaceUri : public SvXMLStyleContext
{
- // the CSS2 standard ( http://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#referencing )
- // defines these format strings.
- const char* OPENTYPE_FORMAT = "opentype";
- const char* TRUETYPE_FORMAT = "truetype";
- const char* EOT_FORMAT = "embedded-opentype";
-
const XMLFontStyleContextFontFace& font;
OUString format;
OUString linkPath;