diff options
Diffstat (limited to 'sfx2/inc/sfx2/XmlIdRegistry.hxx')
-rw-r--r-- | sfx2/inc/sfx2/XmlIdRegistry.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/inc/sfx2/XmlIdRegistry.hxx b/sfx2/inc/sfx2/XmlIdRegistry.hxx index 00c5ae88063a..691bfaa44389 100644 --- a/sfx2/inc/sfx2/XmlIdRegistry.hxx +++ b/sfx2/inc/sfx2/XmlIdRegistry.hxx @@ -51,9 +51,7 @@ extern inline bool isValidXmlId(::rtl::OUString const & i_rStreamName, ::rtl::OUString const & i_rIdref) { - return isValidNCName(i_rIdref) && - (i_rStreamName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("content.xml")) || - i_rStreamName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("styles.xml"))); + return isValidNCName(i_rIdref) && ( i_rStreamName == "content.xml" || i_rStreamName == "styles.xml" ); } |