diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-20 11:10:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-20 13:56:07 +0200 |
commit | 5112f6a6c6e4cd76045f31e269a679b50dc83fb2 (patch) | |
tree | ed7af465f490d743b06831216243fddbd2e13940 /sal | |
parent | 0b4b02d9b6cf5b939dc1522d8348e3f4d6f955d4 (diff) |
remove RTL_CONSTASCII_STRINGPARAM in OString constructor
Convert code like:
OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX"));
to:
OString aKeyName("NDX");
which compiles down to the same code
Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index 50268ff49a57..43f255cdf90a 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -444,7 +444,7 @@ inline void deleteTestDirectory( const ::rtl::OUString dirname ) nError = ::osl::Directory::remove( aPathURL ); - rtl::OString strError (RTL_CONSTASCII_STRINGPARAM("In deleteTestDirectory function: remove Directory ")); + rtl::OString strError ("In deleteTestDirectory function: remove Directory "); strError += ::rtl::OUStringToOString( aPathURL, RTL_TEXTENCODING_ASCII_US ); CPPUNIT_ASSERT_MESSAGE( strError.getStr(), ( ::osl::FileBase::E_None == nError ) || ( nError == ::osl::FileBase::E_NOENT ) ); } |