summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-01-24 11:47:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-01-24 17:49:50 +0100
commit1500ec88195466d119d73bdf7b85e8f5526e81fc (patch)
treeb1c1d70cc1911ac4ae1384c2f2318ac3e8fada43 /sd
parentca01594ea55e1fe64c5df705e8f7c18eba82559a (diff)
tdf#122904: missing images in the format->paragraph->border valuesets
since... commit 41b8b8c5ede634774851b438a4c823962c14b611 Date: Fri Jan 18 11:06:53 2019 +0200 use Image(OUString) instead of Image(Bitmap(OUString)) Change-Id: I05c2f8fb8190e9dde12e69de0d875b7bcc1ea617 Reviewed-on: https://gerrit.libreoffice.org/66861 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/animations/SlideTransitionPane.cxx2
-rw-r--r--sd/source/ui/dlg/inspagob.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index d4f7a597277c..715337180111 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -1162,7 +1162,7 @@ IMPL_LINK_NOARG(SlideTransitionPane, LateInitCallback, Timer *, void)
sImageName = "sd/cmd/transition-none.png";
mpVS_TRANSITION_ICONS->InsertItem(
- nPresetOffset + 1, Image( sImageName ), sLabel,
+ nPresetOffset + 1, Image(StockImage::Yes, sImageName), sLabel,
VALUESET_APPEND, /* show legend */ true );
m_aNumVariants[ pPreset->getSetId() ] = 1;
diff --git a/sd/source/ui/dlg/inspagob.cxx b/sd/source/ui/dlg/inspagob.cxx
index a70bdc81dc29..f46adcc0175d 100644
--- a/sd/source/ui/dlg/inspagob.cxx
+++ b/sd/source/ui/dlg/inspagob.cxx
@@ -82,7 +82,7 @@ void SdInsertPagesObjsDlg::Reset()
}
else
{
- Image aImgText(BMP_DOC_TEXT);
+ Image aImgText(StockImage::Yes, BMP_DOC_TEXT);
m_pLbTree->InsertEntry( rName, aImgText, aImgText );
}