summaryrefslogtreecommitdiffstats
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-01-30 19:09:35 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-01-31 12:04:02 +0000
commit1ef9f3988ee4dcbc77e1fdefa20442e044a67d4d (patch)
tree686b5f3247d28e19ba949b81fd5596dbe3a27401 /connectivity
parentdocking windows cannot be directly loaded from .res anymore (diff)
downloadcore-1ef9f3988ee4dcbc77e1fdefa20442e044a67d4d.tar.gz
core-1ef9f3988ee4dcbc77e1fdefa20442e044a67d4d.zip
unnecessary use of OUString constructor
Change-Id: Idd31b0a53c8318af69bbcd32f6798721ec8eb8e1 Reviewed-on: https://gerrit.libreoffice.org/21945 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/flat/ETable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx
index 08ae96d87982..6600515984d3 100644
--- a/connectivity/source/drivers/flat/ETable.cxx
+++ b/connectivity/source/drivers/flat/ETable.cxx
@@ -423,7 +423,7 @@ void OFlatTable::construct()
INetURLObject aURL;
aURL.SetURL(getEntry());
- if(aURL.getExtension() != OUString(m_pConnection->getExtension()))
+ if(aURL.getExtension() != m_pConnection->getExtension())
aURL.setExtension(m_pConnection->getExtension());
OUString aFileName = aURL.GetMainURL(INetURLObject::NO_DECODE);