diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-19 12:02:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-25 17:02:15 +0200 |
commit | d7559de4f70afdf64dea3bfbf462f5f188da7d05 (patch) | |
tree | f27987aec5a5518928a8271af04bd875bb92ef58 /cui/source/dialogs/hlmailtp.cxx | |
parent | e68b6e349c31ac1376e90218013e1e7612f2b522 (diff) |
remove bitmaps from .src files
and into includeable .hlst files, add them to
postprocess/CustomTarget_images.mk
to continue only including used bitmaps in icon-theme zips
Change-Id: I5c24c3eca93a9c4101bcdcacb0e4b2712133968e
Reviewed-on: https://gerrit.libreoffice.org/36941
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/dialogs/hlmailtp.cxx')
-rw-r--r-- | cui/source/dialogs/hlmailtp.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/dialogs/hlmailtp.cxx b/cui/source/dialogs/hlmailtp.cxx index 3b617bd6205e..1edb472dd525 100644 --- a/cui/source/dialogs/hlmailtp.cxx +++ b/cui/source/dialogs/hlmailtp.cxx @@ -28,6 +28,7 @@ #include <unotools/moduleoptions.hxx> #include "hlmailtp.hxx" +#include "bitmaps.hlst" using namespace ::com::sun::star; @@ -44,7 +45,7 @@ SvxHyperlinkMailTp::SvxHyperlinkMailTp ( vcl::Window *pParent, IconChoiceDialog* get(m_pCbbReceiver, "receiver"); m_pCbbReceiver->SetSmartProtocol(INetProtocol::Mailto); get(m_pBtAdrBook, "adressbook"); - BitmapEx aBitmap(CUI_RES(RID_SVXBMP_ADRESSBOOK)); + BitmapEx aBitmap(RID_SVXBMP_ADRESSBOOK); aBitmap.Scale(GetDPIScaleFactor(),GetDPIScaleFactor(),BmpScaleFlag::BestQuality ); m_pBtAdrBook->SetModeImage(Image(aBitmap)); get(m_pFtSubject, "subject_label"); |