summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 17:35:25 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 17:57:17 -0500
commite4b6a8e0e942c170ff18b886817e0b696dc712e7 (patch)
tree526bf7ae7496d97760e5a6435ed2e6cc862987c5 /extensions
parent056f1611060ed14f31f5c88c6db752bac2358c86 (diff)
targeted string re-work
Change-Id: I6099879387480356b6623db6224a39eaec5ecb26
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/scanner/sane.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/scanner/sane.cxx b/extensions/source/scanner/sane.cxx
index 0e0ff6469c02..0bc0231a842a 100644
--- a/extensions/source/scanner/sane.cxx
+++ b/extensions/source/scanner/sane.cxx
@@ -185,17 +185,17 @@ Sane::~Sane()
void Sane::Init()
{
- ::rtl::OUString sSaneLibName( RTL_CONSTASCII_USTRINGPARAM( "libsane" SAL_DLLEXTENSION ) );
+ ::rtl::OUString sSaneLibName( "libsane" SAL_DLLEXTENSION );
pSaneLib = osl_loadModule( sSaneLibName.pData, SAL_LOADMODULE_LAZY );
if( ! pSaneLib )
{
- sSaneLibName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "libsane" SAL_DLLEXTENSION ".1" ));
+ sSaneLibName = ::rtl::OUString("libsane" SAL_DLLEXTENSION ".1" );
pSaneLib = osl_loadModule( sSaneLibName.pData, SAL_LOADMODULE_LAZY );
}
// try reasonable places that might not be in the library search path
if( ! pSaneLib )
{
- ::rtl::OUString sSaneLibSystemPath( RTL_CONSTASCII_USTRINGPARAM( "/usr/local/lib/libsane" SAL_DLLEXTENSION ) );
+ ::rtl::OUString sSaneLibSystemPath( "/usr/local/lib/libsane" SAL_DLLEXTENSION );
osl_getFileURLFromSystemPath( sSaneLibSystemPath.pData, &sSaneLibName.pData );
pSaneLib = osl_loadModule( sSaneLibName.pData, SAL_LOADMODULE_LAZY );
}