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

loplugin:unusedfields forms,formula,fpicker,framework

Change-Id: Ic7af56ac801c1e5b3fcf3c4e8413656e96220279
üst b55fb34c
...@@ -334,7 +334,6 @@ OBoundControl::OBoundControl( const Reference< XComponentContext >& _rxContext, ...@@ -334,7 +334,6 @@ OBoundControl::OBoundControl( const Reference< XComponentContext >& _rxContext,
:OControl( _rxContext, _rAggregateService, _bSetDelegator ) :OControl( _rxContext, _rAggregateService, _bSetDelegator )
,m_bLocked(false) ,m_bLocked(false)
,m_aOriginalFont( EmptyFontDescriptor() ) ,m_aOriginalFont( EmptyFontDescriptor() )
,m_nOriginalTextLineColor( 0 )
{ {
} }
......
...@@ -269,10 +269,8 @@ class OBoundControl :public OControl ...@@ -269,10 +269,8 @@ class OBoundControl :public OControl
protected: protected:
bool m_bLocked : 1; bool m_bLocked : 1;
OUString m_sOriginalHelpText; // as long as the text/value is invalid, we change the help text of our peer
css::awt::FontDescriptor css::awt::FontDescriptor
m_aOriginalFont; // as long as the text/value is invalid, we also change the font m_aOriginalFont; // as long as the text/value is invalid, we also change the font
sal_Int32 m_nOriginalTextLineColor; // (we add red underlining)
public: public:
OBoundControl( OBoundControl(
......
...@@ -146,7 +146,6 @@ public: ...@@ -146,7 +146,6 @@ public:
::std::map<FormulaToken*,sheet::FormulaToken> m_aTokenMap; ::std::map<FormulaToken*,sheet::FormulaToken> m_aTokenMap;
IFormulaEditorHelper* m_pHelper; IFormulaEditorHelper* m_pHelper;
VclPtr<Dialog> m_pParent; VclPtr<Dialog> m_pParent;
IControlReferenceHandler* m_pDlg;
VclPtr<TabControl> m_pTabCtrl; VclPtr<TabControl> m_pTabCtrl;
VclPtr<VclVBox> m_pParaWinBox; VclPtr<VclVBox> m_pParaWinBox;
VclPtr<ParaWin> pParaWin; VclPtr<ParaWin> pParaWin;
...@@ -187,7 +186,6 @@ public: ...@@ -187,7 +186,6 @@ public:
const OUString aTitle1; const OUString aTitle1;
const OUString aTitle2; const OUString aTitle2;
const OUString aTxtEnd;
OUString aTxtOk; // behind aBtnEnd OUString aTxtOk; // behind aBtnEnd
FormulaHelper m_aFormulaHelper; FormulaHelper m_aFormulaHelper;
...@@ -233,14 +231,12 @@ FormulaDlg_Impl::FormulaDlg_Impl(Dialog* pParent ...@@ -233,14 +231,12 @@ FormulaDlg_Impl::FormulaDlg_Impl(Dialog* pParent
m_pBinaryOpCodesEnd(nullptr), m_pBinaryOpCodesEnd(nullptr),
m_pHelper (_pHelper), m_pHelper (_pHelper),
m_pParent (pParent), m_pParent (pParent),
m_pDlg (_pDlg),
pTheRefEdit (nullptr), pTheRefEdit (nullptr),
pTheRefButton (nullptr), pTheRefButton (nullptr),
pMEdit (nullptr), pMEdit (nullptr),
bUserMatrixFlag (false), bUserMatrixFlag (false),
aTitle1 ( ModuleRes( STR_TITLE1 ) ), aTitle1 ( ModuleRes( STR_TITLE1 ) ),
aTitle2 ( ModuleRes( STR_TITLE2 ) ), aTitle2 ( ModuleRes( STR_TITLE2 ) ),
aTxtEnd ( ModuleRes( STR_END ) ),
m_aFormulaHelper(_pFunctionMgr), m_aFormulaHelper(_pFunctionMgr),
bIsShutDown (false), bIsShutDown (false),
bMakingTree (false), bMakingTree (false),
......
...@@ -239,8 +239,7 @@ SvtExpFileDlg_Impl::SvtExpFileDlg_Impl( WinBits ) : ...@@ -239,8 +239,7 @@ SvtExpFileDlg_Impl::SvtExpFileDlg_Impl( WinBits ) :
_bDoubleClick ( false ), _bDoubleClick ( false ),
m_bNeedDelayedFilterExecute ( false ), m_bNeedDelayedFilterExecute ( false ),
_pDefaultFilter ( nullptr ), _pDefaultFilter ( nullptr ),
_bMultiSelection ( false ), _bMultiSelection ( false )
_bFolderHasOpened ( false )
{ {
} }
......
...@@ -181,8 +181,6 @@ public: ...@@ -181,8 +181,6 @@ public:
// remember sizes // remember sizes
OUString _aIniKey; OUString _aIniKey;
bool _bFolderHasOpened;
SvtExpFileDlg_Impl( WinBits nBits ); SvtExpFileDlg_Impl( WinBits nBits );
~SvtExpFileDlg_Impl(); ~SvtExpFileDlg_Impl();
......
...@@ -52,7 +52,6 @@ namespace framework ...@@ -52,7 +52,6 @@ namespace framework
}; };
css::uno::Reference< css::uno::XComponentContext > m_xContext; css::uno::Reference< css::uno::XComponentContext > m_xContext;
css::uno::Reference< css::frame::XDispatchProvider > m_xDispatchProvider; css::uno::Reference< css::frame::XDispatchProvider > m_xDispatchProvider;
OUString m_aModuleIdentifier;
css::uno::Reference< css::container::XNameAccess > m_xUICommandLabels; css::uno::Reference< css::container::XNameAccess > m_xUICommandLabels;
public: public:
......
...@@ -173,17 +173,12 @@ class MenuBarManager : public css::frame::XStatusListener , ...@@ -173,17 +173,12 @@ class MenuBarManager : public css::frame::XStatusListener ,
css::uno::Reference< css::frame::XStatusListener >& xManager, css::uno::Reference< css::frame::XStatusListener >& xManager,
css::uno::Reference< css::frame::XDispatch >& rDispatch ) : css::uno::Reference< css::frame::XDispatch >& rDispatch ) :
nItemId( aItemId ), nItemId( aItemId ),
bCheckHide( true ),
xSubMenuManager( xManager ), xSubMenuManager( xManager ),
xMenuItemDispatch( rDispatch ) {} xMenuItemDispatch( rDispatch ) {}
sal_uInt16 nItemId; sal_uInt16 nItemId;
bool bCheckHide;
OUString aTargetFrame; OUString aTargetFrame;
OUString aMenuItemURL; OUString aMenuItemURL;
OUString aFilter;
OUString aPassword;
OUString aTitle;
css::uno::Reference< css::frame::XStatusListener > xSubMenuManager; css::uno::Reference< css::frame::XStatusListener > xSubMenuManager;
css::uno::Reference< css::frame::XDispatch > xMenuItemDispatch; css::uno::Reference< css::frame::XDispatch > xMenuItemDispatch;
css::uno::Reference< css::frame::XPopupMenuController > xPopupMenuController; css::uno::Reference< css::frame::XPopupMenuController > xPopupMenuController;
......
...@@ -48,12 +48,6 @@ using namespace ::com::sun::star::frame; ...@@ -48,12 +48,6 @@ using namespace ::com::sun::star::frame;
// Namespace // Namespace
struct ModuleToCommands
{
const char* pModuleId;
const char* pCommands;
};
static const char CONFIGURATION_ROOT_ACCESS[] = "/org.openoffice.Office.UI."; static const char CONFIGURATION_ROOT_ACCESS[] = "/org.openoffice.Office.UI.";
static const char CONFIGURATION_CMD_ELEMENT_ACCESS[] = "/UserInterface/Commands"; static const char CONFIGURATION_CMD_ELEMENT_ACCESS[] = "/UserInterface/Commands";
static const char CONFIGURATION_POP_ELEMENT_ACCESS[] = "/UserInterface/Popups"; static const char CONFIGURATION_POP_ELEMENT_ACCESS[] = "/UserInterface/Popups";
......
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