From 071c3f3e93c4c00cf57ce3c382325cd717fed511 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 21 Nov 2013 14:27:06 +0200 Subject: remove unnecessary use of OUString constructor in equalsIgnoreAsciiCase Convert code like: sType.equalsIgnoreAsciiCase(OUString("VIEW")); to: sType.equalsIgnoreAsciiCase("VIEW"); Change-Id: I6fb47e6a83b561c7e5a25da76b63606a3174858d --- dbaccess/source/core/api/tablecontainer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbaccess') diff --git a/dbaccess/source/core/api/tablecontainer.cxx b/dbaccess/source/core/api/tablecontainer.cxx index 32400c8f6b83..219f0dd900d7 100644 --- a/dbaccess/source/core/api/tablecontainer.cxx +++ b/dbaccess/source/core/api/tablecontainer.cxx @@ -380,7 +380,7 @@ void OTableContainer::dropObject(sal_Int32 _nPos,const OUString _sElementName) OUString sType; xTable->getPropertyValue(PROPERTY_TYPE) >>= sType; - bIsView = sType.equalsIgnoreAsciiCase(OUString("VIEW")); + bIsView = sType.equalsIgnoreAsciiCase("VIEW"); } if(sComposedName.isEmpty()) -- cgit