diff options
Diffstat (limited to 'dbaccess/source/filter/hsqldb/parseschema.cxx')
-rw-r--r-- | dbaccess/source/filter/hsqldb/parseschema.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dbaccess/source/filter/hsqldb/parseschema.cxx b/dbaccess/source/filter/hsqldb/parseschema.cxx index 60e7103cdfa2..d2215e96eb31 100644 --- a/dbaccess/source/filter/hsqldb/parseschema.cxx +++ b/dbaccess/source/filter/hsqldb/parseschema.cxx @@ -91,11 +91,7 @@ public: OUString lcl_createAlterForeign(const OUString& sForeignPart, const OUString& sTableName) { - OUStringBuffer sBuff("ALTER TABLE "); - sBuff.append(sTableName); - sBuff.append(" ADD "); - sBuff.append(sForeignPart); - return sBuff.makeStringAndClear(); + return "ALTER TABLE " + sTableName + " ADD " + sForeignPart; } } // anonymous namespace |