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>
diff --git a/cui/source/dialogs/hldocntp.cxx b/cui/source/dialogs/hldocntp.cxx
index 4246bfe..b60de28 100644
--- a/cui/source/dialogs/hldocntp.cxx
+++ b/cui/source/dialogs/hldocntp.cxx
@@ -111,7 +111,7 @@
    get(m_pCbbPath, "path");
    m_pCbbPath->SetSmartProtocol(INetProtocol::File);
    get(m_pBtCreate, "create");
    m_pBtCreate->SetModeImage(Image(RID_SVXBMP_NEWDOC));
    m_pBtCreate->SetModeImage(Image(StockImage::Yes, RID_SVXBMP_NEWDOC));
    get(m_pLbDocTypes, "types");
    m_pLbDocTypes->set_height_request(m_pLbDocTypes->GetTextHeight() * 5);

diff --git a/cui/source/dialogs/hldoctp.cxx b/cui/source/dialogs/hldoctp.cxx
index 968c420..17597ab 100644
--- a/cui/source/dialogs/hldoctp.cxx
+++ b/cui/source/dialogs/hldoctp.cxx
@@ -42,11 +42,11 @@
    get(m_pCbbPath, "path");
    m_pCbbPath->SetSmartProtocol(INetProtocol::File);
    get(m_pBtFileopen, "fileopen");
    m_pBtFileopen->SetModeImage(Image(RID_SVXBMP_FILEOPEN));
    m_pBtFileopen->SetModeImage(Image(StockImage::Yes, RID_SVXBMP_FILEOPEN));
    get(m_pEdTarget, "target");
    get(m_pFtFullURL, "url");
    get(m_pBtBrowse, "browse");
    m_pBtBrowse->SetModeImage(Image(RID_SVXBMP_TARGET));
    m_pBtBrowse->SetModeImage(Image(StockImage::Yes, RID_SVXBMP_TARGET));

    // Disable display of bitmap names.
    m_pBtBrowse->EnableTextDisplay (false);
diff --git a/cui/source/dialogs/hlmailtp.cxx b/cui/source/dialogs/hlmailtp.cxx
index b56f34f..89809a3 100644
--- a/cui/source/dialogs/hlmailtp.cxx
+++ b/cui/source/dialogs/hlmailtp.cxx
@@ -42,7 +42,7 @@
    get(m_pCbbReceiver, "receiver");
    m_pCbbReceiver->SetSmartProtocol(INetProtocol::Mailto);
    get(m_pBtAdrBook, "adressbook");
    m_pBtAdrBook->SetModeImage(Image(RID_SVXBMP_ADRESSBOOK));
    m_pBtAdrBook->SetModeImage(Image(StockImage::Yes, RID_SVXBMP_ADRESSBOOK));
    get(m_pFtSubject, "subject_label");
    get(m_pEdSubject, "subject");

diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx
index 0becb6f..be8bae7 100644
--- a/cui/source/dialogs/hltpbase.cxx
+++ b/cui/source/dialogs/hltpbase.cxx
@@ -176,7 +176,7 @@
        get(mpEdIndication, "indication");
        get(mpEdText, "name");
        get(mpBtScript, "script");
        mpBtScript->SetModeImage(Image(RID_SVXBMP_SCRIPT));
        mpBtScript->SetModeImage(Image(StockImage::Yes, RID_SVXBMP_SCRIPT));

        mpBtScript->SetClickHdl ( LINK ( this, SvxHyperlinkTabPageBase, ClickScriptHdl_Impl ) );
        mpBtScript->EnableTextDisplay (false);
diff --git a/cui/source/tabpages/align.cxx b/cui/source/tabpages/align.cxx
index 0b230fc..a3ed47d 100644
--- a/cui/source/tabpages/align.cxx
+++ b/cui/source/tabpages/align.cxx
@@ -596,9 +596,9 @@
    // remember selection - is deleted in call to ValueSet::Clear()
    sal_uInt16 nSel = m_aVsRefEdge.GetSelectedItemId();

    Image aBottomLock(RID_SVXBMP_BOTTOMLOCK);
    Image aTopLock(RID_SVXBMP_TOPLOCK);
    Image aCellLock(RID_SVXBMP_CELLLOCK);
    Image aBottomLock(StockImage::Yes, RID_SVXBMP_BOTTOMLOCK);
    Image aTopLock(StockImage::Yes, RID_SVXBMP_TOPLOCK);
    Image aCellLock(StockImage::Yes, RID_SVXBMP_CELLLOCK);

    m_aVsRefEdge.Clear();
    m_aVsRefEdge.SetStyle(m_aVsRefEdge.GetStyle() | WB_ITEMBORDER | WB_DOUBLEBORDER);
diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index aa48782..74be368 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -294,7 +294,7 @@
    };

    for (size_t i = 0; i < SAL_N_ELEMENTS(pnBorderImgIds); ++i)
        m_aBorderImgVec.emplace_back(pnBorderImgIds[i]);
        m_aBorderImgVec.emplace_back(StockImage::Yes, pnBorderImgIds[i]);

    static const OUStringLiteral pnShadowImgIds[SVX_BORDER_SHADOW_COUNT] =
    {
@@ -306,7 +306,7 @@
    };

    for (size_t i = 0; i < SAL_N_ELEMENTS(pnShadowImgIds); ++i)
        m_aShadowImgVec.emplace_back(pnShadowImgIds[i]);
        m_aShadowImgVec.emplace_back(StockImage::Yes, pnShadowImgIds[i]);
    assert(m_aShadowImgVec.size() == SVX_BORDER_SHADOW_COUNT);

    // this page needs ExchangeSupport
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 337fad9..0ff9e37 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -1103,7 +1103,7 @@
    getSectionPosSize(aPos, aSize, BTN_SINGLE_SELECT);
    maBtnSelectSingle->SetPosSizePixel(aPos, aSize);
    maBtnSelectSingle->SetQuickHelpText(ScResId(STR_BTN_SELECT_CURRENT));
    maBtnSelectSingle->SetModeImage(Image(RID_BMP_SELECT_CURRENT));
    maBtnSelectSingle->SetModeImage(Image(StockImage::Yes, RID_BMP_SELECT_CURRENT));
    maBtnSelectSingle->SetClickHdl( LINK(this, ScCheckListMenuWindow, ButtonHdl) );
    maBtnSelectSingle->Show();

diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index d4f7a59..7153371 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -1162,7 +1162,7 @@
                    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 a70bdc8..f46adcc 100644
--- a/sd/source/ui/dlg/inspagob.cxx
+++ b/sd/source/ui/dlg/inspagob.cxx
@@ -82,7 +82,7 @@
    }
    else
    {
        Image aImgText(BMP_DOC_TEXT);
        Image aImgText(StockImage::Yes, BMP_DOC_TEXT);
        m_pLbTree->InsertEntry( rName, aImgText, aImgText );
    }