diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 13:51:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:25 +0200 |
commit | 1bdb2b6f06c556b9af91dba4f29f3ac73190b09e (patch) | |
tree | 1d941e17952cd891f5309fd862215dd09a84b001 /connectivity/source/drivers/calc/CConnection.cxx | |
parent | 2f2416ff060c780ad87b4d3979112f52da2ae902 (diff) |
remove unnecessary use of OUString constructor in CONNECTIVITY module
Change-Id: Ie32d03920d996db2793ead9940fc90668cde03dd
Diffstat (limited to 'connectivity/source/drivers/calc/CConnection.cxx')
-rw-r--r-- | connectivity/source/drivers/calc/CConnection.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/calc/CConnection.cxx b/connectivity/source/drivers/calc/CConnection.cxx index 7cba8b0dea6f..39ada1a70ac5 100644 --- a/connectivity/source/drivers/calc/CConnection.cxx +++ b/connectivity/source/drivers/calc/CConnection.cxx @@ -87,7 +87,7 @@ void OCalcConnection::construct(const OUString& url,const Sequence< PropertyValu } m_aFileName = aURL.GetMainURL(INetURLObject::NO_DECODE); - m_sPassword = OUString(); + m_sPassword = ""; const char* pPwd = "password"; const PropertyValue *pIter = info.getConstArray(); @@ -114,16 +114,16 @@ Reference< XSpreadsheetDocument> OCalcConnection::acquireDoc() } // open read-only as long as updating isn't implemented Sequence<PropertyValue> aArgs(2); - aArgs[0].Name = OUString("Hidden"); + aArgs[0].Name = "Hidden"; aArgs[0].Value <<= (sal_Bool) sal_True; - aArgs[1].Name = OUString("ReadOnly"); + aArgs[1].Name = "ReadOnly"; aArgs[1].Value <<= (sal_Bool) sal_True; if ( !m_sPassword.isEmpty() ) { const sal_Int32 nPos = aArgs.getLength(); aArgs.realloc(nPos+1); - aArgs[nPos].Name = OUString("Password"); + aArgs[nPos].Name = "Password"; aArgs[nPos].Value <<= m_sPassword; } |