diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-27 11:38:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-27 16:05:02 +0100 |
commit | 5bd92787713263456680d3bc984ae4fed80e1d3a (patch) | |
tree | 5e5d57b0084fd89e30eb2931122ac25502f16de8 /sw/source/core/fields/macrofld.cxx | |
parent | 1af4026d3fbb205044059d4024527c217bd24d82 (diff) |
micro optimizations
Diffstat (limited to 'sw/source/core/fields/macrofld.cxx')
-rw-r--r-- | sw/source/core/fields/macrofld.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/fields/macrofld.cxx b/sw/source/core/fields/macrofld.cxx index 09fd29f37fa3..5aef3045b2f7 100644 --- a/sw/source/core/fields/macrofld.cxx +++ b/sw/source/core/fields/macrofld.cxx @@ -248,8 +248,8 @@ BOOL SwMacroField::isScriptURL( const String& str ) uno::Reference< uri::XUriReferenceFactory > xFactory( xSMgr->createInstance( - OUString::createFromAscii( - "com.sun.star.uri.UriReferenceFactory" ) ), uno::UNO_QUERY ); + OUString(RTL_CONSTASCII_USTRINGPARAM( + "com.sun.star.uri.UriReferenceFactory")) ), uno::UNO_QUERY ); if ( xFactory.is() ) { |