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 /dbaccess | |
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 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/dbfindex.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/dbfindex.cxx b/dbaccess/source/ui/dlg/dbfindex.cxx index 37b4e95bf6b5..644df9427785 100644 --- a/dbaccess/source/ui/dlg/dbfindex.cxx +++ b/dbaccess/source/ui/dlg/dbfindex.cxx @@ -38,7 +38,7 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::ucb; using namespace ::svt; -const OString aGroupIdent(RTL_CONSTASCII_STRINGPARAM("dBase III")); +const OString aGroupIdent("dBase III"); DBG_NAME(ODbaseIndexDialog) @@ -472,7 +472,7 @@ void OTableInfo::WriteInfFile( const OUString& rDSN ) const ++aIndex, ++nPos ) { - OStringBuffer aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); + OStringBuffer aKeyName("NDX"); if( nPos > 0 ) // first index contains no number aKeyName.append(static_cast<sal_Int32>(nPos)); aInfFile.WriteKey( |