summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-13 16:45:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-13 18:44:07 +0200
commit0d87cfbdb5a4d75295d83e5246bad2849f5f66b1 (patch)
treef58d3e538defe07b87735ac6eeb9a55f9f61278f /sw/source
parente9e347e9d7b36a32d44b5f0b53d8f9fe47567c16 (diff)
move fallback image out of .ui
Change-Id: Id46f1c2a06e6c32b60e6308a01dc4ee5e75e20ba Reviewed-on: https://gerrit.libreoffice.org/61743 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/frmdlg/frmpage.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index 65b6260dfc16..f2a816a99c2d 100644
--- a/sw/source/ui/frmdlg/frmpage.cxx
+++ b/sw/source/ui/frmdlg/frmpage.cxx
@@ -22,6 +22,7 @@
#include <cmdid.h>
#include <hintids.hxx>
+#include <bitmaps.hlst>
#include <vcl/mnemonic.hxx>
#include <svl/urihelper.hxx>
#include <svl/stritem.hxx>
@@ -2384,7 +2385,7 @@ SwGrfExtPage::SwGrfExtPage(vcl::Window *pParent, const SfxItemSet &rSet)
get(m_pConnectED, "entry");
get(m_pBrowseBT, "browse");
get(m_pBmpWin, "preview");
- m_pBmpWin->SetBitmapEx(get<FixedImage>("fallback")->GetImage().GetBitmapEx());
+ m_pBmpWin->SetBitmapEx(BitmapEx(RID_BMP_PREVIEW_FALLBACK));
// RotGrfFlyFrame: Need Angle and RotateControls now
get(m_pFlAngle, "FL_ANGLE");