diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-25 13:51:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-25 13:57:29 +0200 |
commit | 1f86864e97bea96fdc608f8c8b93024ad4684d51 (patch) | |
tree | e5ec06a2148b26bbc0cdd420de8b82b654547ca3 /sd/source/ui/animations/CustomAnimationPane.cxx | |
parent | 3e6ba91e2d6d362f4af91566e740f5dbc310e026 (diff) |
loplugin:unusedfields various
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
Diffstat (limited to 'sd/source/ui/animations/CustomAnimationPane.cxx')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationPane.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index ba817a62f2fb..c50955fe97b9 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -146,13 +146,11 @@ void fillRepeatComboBox( ListBox* pBox ) } CustomAnimationPane::CustomAnimationPane( Window* pParent, ViewShellBase& rBase, - const css::uno::Reference<css::frame::XFrame>& rxFrame, - const Size& rMinSize ) + const css::uno::Reference<css::frame::XFrame>& rxFrame ) : PanelLayout( pParent, "CustomAnimationsPanel", "modules/simpress/ui/customanimationspanel.ui", rxFrame ), mrBase( rBase ), mpCustomAnimationPresets(nullptr), mnPropertyType( nPropertyTypeNone ), - maMinSize( rMinSize ), mxModel( rBase.GetDocShell()->GetDoc()->getUnoModel(), UNO_QUERY ), maLateInitTimer() { @@ -2278,8 +2276,7 @@ vcl::Window * createCustomAnimationPanel( vcl::Window* pParent, ViewShellBase& r DrawDocShell* pDocSh = rBase.GetDocShell(); if( pDocSh ) { - const Size aMinSize( pParent->LogicToPixel( Size( 80, 256 ), MAP_APPFONT ) ); - pWindow = VclPtr<CustomAnimationPane>::Create( pParent, rBase, rxFrame, aMinSize ); + pWindow = VclPtr<CustomAnimationPane>::Create( pParent, rBase, rxFrame ); } return pWindow; |