summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx
index 1734031e11d9..775fe6cef1db 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx
@@ -109,12 +109,12 @@ void OConnection::construct(const ::rtl::OUString& url,const Sequence< PropertyV
else if(pBegin->Name.equalsAscii(pUser))
{
pBegin->Value >>= aUID;
- aDSN = aDSN + ";UID=" + aUID;
+ aDSN += ";UID=" + aUID;
}
else if(pBegin->Name.equalsAscii(pPwd))
{
pBegin->Value >>= aPWD;
- aDSN = aDSN + ";PWD=" + aPWD;
+ aDSN += ";PWD=" + aPWD;
}
else if(pBegin->Name.equalsAscii(pUseCatalog))
{