loplugin:unusedfields in framework
Change-Id: Ic6cfbe9f0c7589804b7ffddac0350c188d974c3d
This commit is contained in:
@@ -79,13 +79,6 @@ class MediaTypeDetectionHelper : public ::cppu::WeakImplHelper< css::util::XS
|
||||
virtual sal_Bool SAL_CALL mapStrings(css::uno::Sequence< OUString >& seqParameter)
|
||||
throw (css::uno::RuntimeException, std::exception) override;
|
||||
|
||||
// variables
|
||||
// should be private every time
|
||||
|
||||
private:
|
||||
|
||||
css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory; /// reference to global servicemanager
|
||||
|
||||
};
|
||||
|
||||
} // namespace framework
|
||||
|
@@ -49,8 +49,6 @@ private:
|
||||
void operator =(UriAbbreviation &) = delete;
|
||||
|
||||
virtual ~UriAbbreviation() {}
|
||||
|
||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
||||
};
|
||||
|
||||
} // namespace framework
|
||||
|
@@ -28,15 +28,11 @@ namespace framework
|
||||
struct CommandInfo
|
||||
{
|
||||
CommandInfo() : nId( 0 ),
|
||||
nImageInfo( 0 ),
|
||||
bMirrored( false ),
|
||||
bRotated( false ) {}
|
||||
nImageInfo( 0 ) {}
|
||||
|
||||
sal_uInt16 nId;
|
||||
::std::vector< sal_uInt16 > aIds;
|
||||
sal_Int16 nImageInfo;
|
||||
bool bMirrored : 1,
|
||||
bRotated : 1;
|
||||
};
|
||||
|
||||
typedef BaseHash< CommandInfo > CommandToInfoMap;
|
||||
|
@@ -44,13 +44,7 @@ namespace framework
|
||||
{
|
||||
using svt::PopupMenuControllerBase::disposing;
|
||||
|
||||
struct ExecuteInfo
|
||||
{
|
||||
css::uno::Reference< css::frame::XDispatch > xDispatch;
|
||||
};
|
||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
||||
css::uno::Reference< css::frame::XDispatchProvider > m_xDispatchProvider;
|
||||
css::uno::Reference< css::container::XNameAccess > m_xUICommandLabels;
|
||||
|
||||
public:
|
||||
MacrosMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext );
|
||||
|
@@ -170,7 +170,6 @@ class ToolBarManager : public ToolbarManager_Base
|
||||
|
||||
css::uno::Reference< css::util::XURLTransformer > m_xURLTransformer;
|
||||
css::uno::Reference< css::frame::XFrame > m_xFrame;
|
||||
css::uno::Reference< css::container::XNameAccess > m_xUICommandLabels;
|
||||
ToolBarControllerMap m_aControllerMap;
|
||||
osl::Mutex m_mutex;
|
||||
::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer; /// container for ALL Listener
|
||||
|
@@ -28,8 +28,7 @@ using namespace ::com::sun::star;
|
||||
|
||||
// constructor
|
||||
|
||||
MediaTypeDetectionHelper::MediaTypeDetectionHelper( const uno::Reference< lang::XMultiServiceFactory >& xFactory )
|
||||
: m_xFactory( xFactory )
|
||||
MediaTypeDetectionHelper::MediaTypeDetectionHelper( const uno::Reference< lang::XMultiServiceFactory >& )
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -43,8 +43,7 @@ DEFINE_INIT_SERVICE ( UriAbbreviation,
|
||||
}
|
||||
)
|
||||
|
||||
UriAbbreviation::UriAbbreviation(css::uno::Reference< css::uno::XComponentContext > const & context) :
|
||||
m_xContext(context)
|
||||
UriAbbreviation::UriAbbreviation(css::uno::Reference< css::uno::XComponentContext > const & )
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user