summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galctrl.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-26 15:55:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-27 10:50:48 +0200
commitdd1df645b4fe0d33c640a12d1596f75bd68eb928 (patch)
treed60eaa16c4870e8eac607c054bd8c70b226e6d65 /svx/source/gallery2/galctrl.cxx
parentf9f045e7830d184497554e0e438cc478fa990eb6 (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/gallery2/galctrl.cxx')
-rw-r--r--svx/source/gallery2/galctrl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx
index 6260869d827b..ce43b484ad47 100644
--- a/svx/source/gallery2/galctrl.cxx
+++ b/svx/source/gallery2/galctrl.cxx
@@ -35,6 +35,7 @@
#include <vcl/graphicfilter.hxx>
#include <vcl/settings.hxx>
#include <vcl/builderfactory.hxx>
+#include "bitmaps.hlst"
#define GALLERY_BRWBOX_TITLE 1
@@ -61,7 +62,7 @@ bool GalleryPreview::SetGraphic( const INetURLObject& _aURL )
Graphic aGraphic;
if( ::avmedia::MediaWindow::isMediaURL( _aURL.GetMainURL( INetURLObject::DecodeMechanism::Unambiguous ), "" ) )
{
- aGraphic = BitmapEx( GAL_RES( RID_SVXBMP_GALLERY_MEDIA ) );
+ aGraphic = BitmapEx(RID_SVXBMP_GALLERY_MEDIA);
}
else
{