summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-06-11 23:18:23 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-11 23:28:17 +0200
commit40b7eff9075c88d80fb0f3472d2671c5d2c72d0d (patch)
treed4c760e54b1e1819cd04f7724f62261654526fcc /sfx2/inc
parent22a5dfb94918cbade4800122c75d88ae73e39240 (diff)
un-inline isValidXmlId (MSVC doesn't like it anymore)
Change-Id: I59872f6e7fbdfc73875a45912b93d01b4379aec7
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/sfx2/XmlIdRegistry.hxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/sfx2/inc/sfx2/XmlIdRegistry.hxx b/sfx2/inc/sfx2/XmlIdRegistry.hxx
index 691bfaa44389..38db1f9baadb 100644
--- a/sfx2/inc/sfx2/XmlIdRegistry.hxx
+++ b/sfx2/inc/sfx2/XmlIdRegistry.hxx
@@ -47,13 +47,8 @@ namespace sfx2 {
/** is i_rIdref a valid NCName ? */
bool SFX2_DLLPUBLIC isValidNCName(::rtl::OUString const & i_rIdref);
-extern inline bool
-isValidXmlId(::rtl::OUString const & i_rStreamName,
- ::rtl::OUString const & i_rIdref)
-{
- return isValidNCName(i_rIdref) && ( i_rStreamName == "content.xml" || i_rStreamName == "styles.xml" );
-}
-
+bool SFX2_DLLPUBLIC isValidXmlId(::rtl::OUString const & i_rStreamName,
+ ::rtl::OUString const & i_rIdref);
// XML ID handling ---------------------------------------------------