diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-31 23:50:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-01 12:10:19 +0000 |
commit | b775e0612fe760441edc5c9cd61df8eb29a3ff39 (patch) | |
tree | 21d6eb3bab370590bea5e631a4342ac904366222 /cui/source/inc/cuigrfflt.hxx | |
parent | fdo#61251 prefer exact matches before case guess matching (diff) | |
download | core-b775e0612fe760441edc5c9cd61df8eb29a3ff39.tar.gz core-b775e0612fe760441edc5c9cd61df8eb29a3ff39.zip |
convert sepia dialog to .ui
Change-Id: I6032ea0da029e5bff145e582892655143400f710
Diffstat (limited to 'cui/source/inc/cuigrfflt.hxx')
-rw-r--r-- | cui/source/inc/cuigrfflt.hxx | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/cui/source/inc/cuigrfflt.hxx b/cui/source/inc/cuigrfflt.hxx index 79c836b78bf7..4fa7b3d57b8c 100644 --- a/cui/source/inc/cuigrfflt.hxx +++ b/cui/source/inc/cuigrfflt.hxx @@ -205,22 +205,18 @@ public: // - GraphicFilterSepia - // ---------------------- -class GraphicFilterSepia : public oldGraphicFilterDialog +class GraphicFilterSepia : public GraphicFilterDialog { private: - - FixedText maFtSepia; - MetricField maMtrSepia; - + MetricField* mpMtrSepia; public: - - GraphicFilterSepia( Window* pParent, const Graphic& rGraphic, - sal_uInt16 nSepiaPercent ); - ~GraphicFilterSepia(); - + GraphicFilterSepia( Window* pParent, const Graphic& rGraphic, + sal_uInt16 nSepiaPercent ); virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ); - sal_uInt16 GetSepiaPercent() const - { return sal::static_int_cast< sal_uInt16 >(maMtrSepia.GetValue()); } + sal_uInt16 GetSepiaPercent() const + { + return sal::static_int_cast< sal_uInt16 >(mpMtrSepia->GetValue()); + } }; // ----------------------- |