summaryrefslogtreecommitdiff
path: root/svx/source/sidebar
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-22 14:35:31 +0200
committerMichael Stahl <mstahl@redhat.com>2013-10-22 14:42:17 +0200
commitdd28837249088bf6e6ec11ed01a01be6f1774985 (patch)
tree452a88ea26e395f846df690472147898dd999036 /svx/source/sidebar
parent61027a637760087ee716f64ae0f216ef2a640108 (diff)
vcl: mark more Image constructors as "explicit"
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
Diffstat (limited to 'svx/source/sidebar')
-rw-r--r--svx/source/sidebar/line/LinePropertyPanel.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/svx/source/sidebar/line/LinePropertyPanel.cxx b/svx/source/sidebar/line/LinePropertyPanel.cxx
index e89fab88c349..00920f2ff2db 100644
--- a/svx/source/sidebar/line/LinePropertyPanel.cxx
+++ b/svx/source/sidebar/line/LinePropertyPanel.cxx
@@ -93,12 +93,12 @@ namespace {
aCopyStart.Crop(aCropRectStart);
rListBoxStart.InsertEntry(
pEntry->GetName(),
- aCopyStart);
+ Image(aCopyStart));
aCopyEnd.Crop(aCropRectEnd);
rListBoxEnd.InsertEntry(
pEntry->GetName(),
- aCopyEnd);
+ Image(aCopyEnd));
}
else
{
@@ -122,7 +122,8 @@ namespace {
rListBox.InsertEntry(rList.GetStringForUiNoLine());
// entry for solid line
- rListBox.InsertEntry(rList.GetStringForUiSolidLine(), rList.GetBitmapForUISolidLine());
+ rListBox.InsertEntry(rList.GetStringForUiSolidLine(),
+ Image( rList.GetBitmapForUISolidLine()));
for(sal_uInt32 i(0); i < nCount; i++)
{
@@ -133,7 +134,7 @@ namespace {
{
rListBox.InsertEntry(
pEntry->GetName(),
- aBitmap);
+ Image(aBitmap));
// delete pBitmap;
}
else