summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edfldexp.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-27 11:38:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-27 16:05:02 +0100
commitbabbd10f8616781e340abb6202d75f17ef577b42 (patch)
tree2ce328ddf75d94b40e96feb8258ed1bc102bab0c /sw/source/core/edit/edfldexp.cxx
parentce3579e1cfbd3b4494e717e44e42db03a71bd88d (diff)
micro optimizations
Diffstat (limited to 'sw/source/core/edit/edfldexp.cxx')
-rw-r--r--sw/source/core/edit/edfldexp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edfldexp.cxx b/sw/source/core/edit/edfldexp.cxx
index 3afb03f717..74f3b60375 100644
--- a/sw/source/core/edit/edfldexp.cxx
+++ b/sw/source/core/edit/edfldexp.cxx
@@ -55,7 +55,7 @@ BOOL SwEditShell::IsFieldDataSourceAvailable(String& rUsedDataSource) const
uno::Reference< lang::XMultiServiceFactory > xMgr( ::comphelper::getProcessServiceFactory() );
if( !xMgr.is() )
return FALSE;
- uno::Reference<uno::XInterface> xInstance = xMgr->createInstance( OUString::createFromAscii( "com.sun.star.sdb.DatabaseContext" ));
+ uno::Reference<uno::XInterface> xInstance = xMgr->createInstance(OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdb.DatabaseContext")));
uno::Reference<container::XNameAccess> xDBContext(xInstance, uno::UNO_QUERY) ;
if(!xDBContext.is())
return FALSE;