diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-10-22 14:35:31 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-10-22 14:42:17 +0200 |
commit | dd28837249088bf6e6ec11ed01a01be6f1774985 (patch) | |
tree | 452a88ea26e395f846df690472147898dd999036 /svtools | |
parent | 61027a637760087ee716f64ae0f216ef2a640108 (diff) |
vcl: mark more Image constructors as "explicit"
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 2 | ||||
-rw-r--r-- | svtools/source/uno/treecontrolpeer.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 87ed82d92b5f..33c15d63125e 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -973,7 +973,7 @@ void LineListBox::UpdateEntries( long nOldWidth ) GetColorLine2( GetEntryCount( ) ), GetColorDist( GetEntryCount( ) ), pData->GetStyle(), aBmp ); - ListBox::InsertEntry( OUString( " " ), aBmp, LISTBOX_APPEND ); + ListBox::InsertEntry(OUString(" "), Image(aBmp), LISTBOX_APPEND); if ( n == nTypePos ) SelectEntryPos( GetEntryCount() - 1 ); } diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx index 3fd6fff0a399..9a6d60c173eb 100644 --- a/svtools/source/uno/treecontrolpeer.cxx +++ b/svtools/source/uno/treecontrolpeer.cxx @@ -1463,7 +1463,7 @@ bool TreeControlPeer::loadImage( const OUString& rURL, Image& rImage ) Reference< XGraphic > xGraphic( mxGraphicProvider->queryGraphic( aProps ) ); Graphic aGraphic( xGraphic ); - rImage = aGraphic.GetBitmapEx(); + rImage = Image(aGraphic.GetBitmapEx()); return true; } catch( Exception& ) |