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.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sfx2/source/doc/sfxmodelfactory.cxx b/sfx2/source/doc/sfxmodelfactory.cxx
index 714dfc2ea824..93dbfa15c420 100644
--- a/sfx2/source/doc/sfxmodelfactory.cxx
+++ b/sfx2/source/doc/sfxmodelfactory.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -148,9 +149,9 @@ namespace sfx2
{
static bool isSpecialArgumentName( const ::rtl::OUString& _rValueName )
{
- return _rValueName.equalsAscii( "EmbeddedObject" )
- || _rValueName.equalsAscii( "EmbeddedScriptSupport" )
- || _rValueName.equalsAscii( "DocumentRecoverySupport" );
+ return _rValueName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "EmbeddedObject" ) )
+ || _rValueName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "EmbeddedScriptSupport" ) )
+ || _rValueName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "DocumentRecoverySupport" ) );
}
bool operator()( const Any& _rArgument ) const
@@ -237,3 +238,5 @@ namespace sfx2
//........................................................................
} // namespace sfx2
//........................................................................
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */