diff options
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; } |