diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-26 15:55:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-27 10:50:48 +0200 |
commit | dd1df645b4fe0d33c640a12d1596f75bd68eb928 (patch) | |
tree | d60eaa16c4870e8eac607c054bd8c70b226e6d65 /svx/source/form/fmshimp.cxx | |
parent | f9f045e7830d184497554e0e438cc478fa990eb6 (diff) |
remove svx bitmaps from .src files
Change-Id: Ie3795870484648e62dea483f9976af31cd1be167
Reviewed-on: https://gerrit.libreoffice.org/37006
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 'svx/source/form/fmshimp.cxx')
-rw-r--r-- | svx/source/form/fmshimp.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 358832f8f375..039be85edc82 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -45,6 +45,7 @@ #include "svx/svdpagv.hxx" #include "svx/svxdlg.hxx" #include "svx/svxids.hrc" +#include "bitmaps.hlst" #include <com/sun/star/awt/XWindow2.hpp> #include <com/sun/star/awt/XCheckBox.hpp> @@ -203,7 +204,7 @@ static const char* aConvertSlots[] = "ConvertToNavigationBar" }; -static const sal_Int16 nImgIds[] = +static const OUStringLiteral aImgIds[] = { RID_SVXBMP_EDITBOX, RID_SVXBMP_BUTTON, @@ -1035,7 +1036,7 @@ VclBuilder* FmXFormShell::GetConversionMenu() for (size_t i = 0; i < SAL_N_ELEMENTS(aConvertSlots); ++i) { // das entsprechende Image dran - pNewMenu->SetItemImage(pNewMenu->GetItemId(aConvertSlots[i]), Image(BitmapEx(SVX_RES(nImgIds[i])))); + pNewMenu->SetItemImage(pNewMenu->GetItemId(aConvertSlots[i]), Image(BitmapEx(aImgIds[i]))); } return pBuilder; } |