cui/source/dialogs/hldocntp.cxx | 2 +- cui/source/dialogs/hldoctp.cxx | 4 ++-- cui/source/dialogs/hlmailtp.cxx | 2 +- cui/source/dialogs/hltpbase.cxx | 2 +- cui/source/tabpages/align.cxx | 6 +++--- cui/source/tabpages/border.cxx | 4 ++-- sc/source/ui/cctrl/checklistmenu.cxx | 2 +- sd/source/ui/animations/SlideTransitionPane.cxx | 2 +- sd/source/ui/dlg/inspagob.cxx | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-)
New commits: commit 1500ec88195466d119d73bdf7b85e8f5526e81fc Author: Caolán McNamara <[email protected]> AuthorDate: Thu Jan 24 11:47:54 2019 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Thu Jan 24 17:49:50 2019 +0100 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 <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/cui/source/dialogs/hldocntp.cxx b/cui/source/dialogs/hldocntp.cxx index 4246bfec636f..b60de28efffb 100644 --- a/cui/source/dialogs/hldocntp.cxx +++ b/cui/source/dialogs/hldocntp.cxx @@ -111,7 +111,7 @@ SvxHyperlinkNewDocTp::SvxHyperlinkNewDocTp ( vcl::Window *pParent, IconChoiceDia 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 968c420211c2..17597ab9dd27 100644 --- a/cui/source/dialogs/hldoctp.cxx +++ b/cui/source/dialogs/hldoctp.cxx @@ -42,11 +42,11 @@ SvxHyperlinkDocTp::SvxHyperlinkDocTp ( vcl::Window *pParent, IconChoiceDialog* p 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 b56f34ff41c9..89809a3b394a 100644 --- a/cui/source/dialogs/hlmailtp.cxx +++ b/cui/source/dialogs/hlmailtp.cxx @@ -42,7 +42,7 @@ SvxHyperlinkMailTp::SvxHyperlinkMailTp ( vcl::Window *pParent, IconChoiceDialog* 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 0becb6f69590..be8bae72b516 100644 --- a/cui/source/dialogs/hltpbase.cxx +++ b/cui/source/dialogs/hltpbase.cxx @@ -176,7 +176,7 @@ void SvxHyperlinkTabPageBase::InitStdControls () 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 0b230fc4cd05..a3ed47d518a4 100644 --- a/cui/source/tabpages/align.cxx +++ b/cui/source/tabpages/align.cxx @@ -596,9 +596,9 @@ void AlignmentTabPage::InitVsRefEgde() // 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 aa48782017c9..74be368ca8e3 100644 --- a/cui/source/tabpages/border.cxx +++ b/cui/source/tabpages/border.cxx @@ -294,7 +294,7 @@ SvxBorderTabPage::SvxBorderTabPage(TabPageParent pParent, const SfxItemSet& rCor }; 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 @@ SvxBorderTabPage::SvxBorderTabPage(TabPageParent pParent, const SfxItemSet& rCor }; 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 337fad93bf62..0ff9e37cc615 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -1103,7 +1103,7 @@ void ScCheckListMenuWindow::packWindow() 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 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 ); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
