summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/hsqldb/HConnection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/hsqldb/HConnection.cxx')
-rw-r--r--connectivity/source/drivers/hsqldb/HConnection.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/connectivity/source/drivers/hsqldb/HConnection.cxx b/connectivity/source/drivers/hsqldb/HConnection.cxx
index 22fcdaa466e2..af6f49afee17 100644
--- a/connectivity/source/drivers/hsqldb/HConnection.cxx
+++ b/connectivity/source/drivers/hsqldb/HConnection.cxx
@@ -316,13 +316,11 @@ namespace connectivity { namespace hsqldb
xProvider.set( GraphicProvider::create(m_xContext) );
// assemble the image URL
- OUStringBuffer aImageURL;
+ OUString sImageURL =
// load the graphic from the global graphic repository
- aImageURL.append( "private:graphicrepository/" );
+ "private:graphicrepository/"
// the relative path within the images.zip
- aImageURL.append( LINKED_TEXT_TABLE_IMAGE_RESOURCE );
- // the name of the graphic to use
- OUString sImageURL( aImageURL.makeStringAndClear() );
+ LINKED_TEXT_TABLE_IMAGE_RESOURCE;
// ask the provider to obtain a graphic
Sequence< PropertyValue > aMediaProperties( 1 );