summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/sfxmodelfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/sfxmodelfactory.cxx')
-rw-r--r--sfx2/source/doc/sfxmodelfactory.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/doc/sfxmodelfactory.cxx b/sfx2/source/doc/sfxmodelfactory.cxx
index 7added399fff..7a2441bfe1e8 100644
--- a/sfx2/source/doc/sfxmodelfactory.cxx
+++ b/sfx2/source/doc/sfxmodelfactory.cxx
@@ -147,9 +147,7 @@ namespace sfx2
{
static bool isSpecialArgumentName( const ::rtl::OUString& _rValueName )
{
- return _rValueName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "EmbeddedObject" ) )
- || _rValueName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "EmbeddedScriptSupport" ) )
- || _rValueName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "DocumentRecoverySupport" ) );
+ return _rValueName == "EmbeddedObject" || _rValueName == "EmbeddedScriptSupport" || _rValueName == "DocumentRecoverySupport";
}
bool operator()( const Any& _rArgument ) const