diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-26 11:00:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-26 11:52:56 +0100 |
commit | 505573b8c76fd8e99aae3ac2555a3fbb0ac9a975 (patch) | |
tree | df661f553b891f8beeb9ea065cdd0ed9fb5ba4e6 /sfx2/source/control/templatelocalview.cxx | |
parent | 8cd1ae22eb2d464516717d767bd3e5f6c2f4bd34 (diff) |
remove sfx2 bitmaps from .src files
Change-Id: Ibc4261af5f479badd281211e467d2c7b524af3f3
Diffstat (limited to 'sfx2/source/control/templatelocalview.cxx')
-rw-r--r-- | sfx2/source/control/templatelocalview.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx index db5b07420333..d6432a65ed28 100644 --- a/sfx2/source/control/templatelocalview.cxx +++ b/sfx2/source/control/templatelocalview.cxx @@ -36,6 +36,7 @@ #include <doc.hrc> #include "templateview.hrc" +#include "bitmaps.hlst" #define MNI_OPEN 1 #define MNI_EDIT 2 @@ -1020,13 +1021,13 @@ BitmapEx TemplateLocalView::getDefaultThumbnail( const OUString& rPath ) OUString aExt = aUrl.getExtension(); if ( ViewFilter_Application::isFilteredExtension( FILTER_APPLICATION::WRITER, aExt) ) - aImg = BitmapEx ( SfxResId( SFX_THUMBNAIL_TEXT ) ); + aImg = BitmapEx(SFX_THUMBNAIL_TEXT); else if ( ViewFilter_Application::isFilteredExtension( FILTER_APPLICATION::CALC, aExt) ) - aImg = BitmapEx ( SfxResId( SFX_THUMBNAIL_SHEET ) ); + aImg = BitmapEx(SFX_THUMBNAIL_SHEET); else if ( ViewFilter_Application::isFilteredExtension( FILTER_APPLICATION::IMPRESS, aExt) ) - aImg = BitmapEx ( SfxResId( SFX_THUMBNAIL_PRESENTATION ) ); + aImg = BitmapEx(SFX_THUMBNAIL_PRESENTATION); else if ( ViewFilter_Application::isFilteredExtension( FILTER_APPLICATION::DRAW, aExt) ) - aImg = BitmapEx ( SfxResId( SFX_THUMBNAIL_DRAWING ) ); + aImg = BitmapEx(SFX_THUMBNAIL_DRAWING); return aImg; } |