diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-10-25 01:34:13 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-10-25 08:14:48 +0200 |
commit | 48e64ea4a8201a43457e46422a07f14f697eb91e (patch) | |
tree | 07fcbd39312b2ca39160c264ec21afc9d765a4b3 /cui | |
parent | f49ba490a566225d2c6b3925cfe39756a01625ba (diff) |
tdf#107569 Fix missing res/colorslider.png
Change-Id: I83c719594a29cde8385a22793f17812e7d5c12bb
Reviewed-on: https://gerrit.libreoffice.org/43796
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/inc/bitmaps.hlst | 1 | ||||
-rw-r--r-- | cui/source/dialogs/colorpicker.cxx | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/cui/inc/bitmaps.hlst b/cui/inc/bitmaps.hlst index 2cefabd14611..dc1ce4a6a9e4 100644 --- a/cui/inc/bitmaps.hlst +++ b/cui/inc/bitmaps.hlst @@ -63,6 +63,7 @@ #define RID_SVXBMP_FILEOPEN "res/fileopen.png" #define RID_SVXBMP_TARGET "res/target.png" #define RID_SVXBMP_NEWDOC "res/newdoc.png" +#define RID_SVXBMP_COLORSLIDER "res/colorslider.png" #define RID_SVXBMP_COLLAPSEDNODE "res/sx18002.png" #define RID_SVXBMP_EXPANDEDNODE "res/sx18003.png" diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx index 504a65ddd7a8..5546573e0645 100644 --- a/cui/source/dialogs/colorpicker.cxx +++ b/cui/source/dialogs/colorpicker.cxx @@ -45,6 +45,7 @@ #include <basegfx/color/bcolortools.hxx> #include <dialmgr.hxx> #include <colorpicker.hxx> +#include <bitmaps.hlst> #include <cmath> #include <limits> #include <o3tl/typed_flags_set.hxx> @@ -906,7 +907,7 @@ ColorPickerDialog::ColorPickerDialog( vcl::Window* pParent, sal_Int32 nColor, sa : ModalDialog( pParent, "ColorPicker", "cui/ui/colorpickerdialog.ui" ) , mnDialogMode( nMode ) , meMode( DefaultMode ) -, maSliderImage( FixedImage::loadThemeImage("res/colorslider.png") ) +, maSliderImage( BitmapEx( RID_SVXBMP_COLORSLIDER ) ) { get(mpColorField, "colorField"); get(mpColorSlider, "colorSlider"); |