Kaydet (Commit) 6cccaa9a authored tarafından Noel Grandin's avatar Noel Grandin

WB_ANIMATION is dead

ever since

    commit 5bb93690
    INTEGRATION: CWS hedaburemove01 (1.1.2); FILE ADDED

Change-Id: Iad592e268644d10944e46bf80eae30042beab6da
Reviewed-on: https://gerrit.libreoffice.org/41298Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst e5dbc6e0
......@@ -30,7 +30,6 @@ class GraphCtrlUserCall;
class SvxGraphCtrlAccessibleContext;
#define WB_SDRMODE ((WinBits)0x0080)
#define WB_ANIMATION ((WinBits)0x0100)
class SVX_DLLPUBLIC GraphCtrl : public Control
{
......@@ -51,7 +50,6 @@ class SVX_DLLPUBLIC GraphCtrl : public Control
sal_uInt16 nPolyEdit;
bool bEditMode;
bool bSdrMode;
bool bAnim;
bool mbInIdleUpdate;
DECL_LINK( UpdateHdl, Timer*, void );
......
......@@ -63,7 +63,6 @@ GraphCtrl::GraphCtrl( vcl::Window* pParent, WinBits nStyle ) :
nPolyEdit ( 0 ),
bEditMode ( false ),
bSdrMode ( false ),
bAnim ( false ),
mbInIdleUpdate ( false ),
pModel ( nullptr ),
pView ( nullptr )
......@@ -103,7 +102,6 @@ void GraphCtrl::dispose()
void GraphCtrl::SetWinStyle( WinBits nWinBits )
{
nWinStyle = nWinBits;
bAnim = ( nWinStyle & WB_ANIMATION ) == WB_ANIMATION;
bSdrMode = ( nWinStyle & WB_SDRMODE ) == WB_SDRMODE;
const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
......@@ -168,7 +166,7 @@ void GraphCtrl::InitSdrModel()
void GraphCtrl::SetGraphic( const Graphic& rGraphic, bool bNewModel )
{
// If possible we dither bitmaps for the display
if ( !bAnim && ( rGraphic.GetType() == GraphicType::Bitmap ) )
if ( rGraphic.GetType() == GraphicType::Bitmap )
{
if ( rGraphic.IsTransparent() )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment