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

loplugin:unusedfields in forms..fpicker

Change-Id: Ifd3afbf276100e3cef802bbcc0792b43a9cd84f8
Reviewed-on: https://gerrit.libreoffice.org/68228
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst a25ee52f
......@@ -163,7 +163,6 @@ void OComboBoxModel::disposing()
OBoundControlModel::disposing();
OEntryListHelper::disposing();
OErrorBroadcaster::disposing();
m_xFormatter = nullptr;
}
......
......@@ -54,9 +54,6 @@ class OComboBoxModel final
css::uno::Any m_aLastKnownValue;
css::uno::Sequence<OUString> m_aDesignModeStringItems;
// upon loading, in some cases we reset fill our string item list ourself. We don't want
// to lose the user's items then, so we remember them here.
css::uno::Reference< css::util::XNumberFormatter> m_xFormatter;
css::form::ListSourceType m_eListSourceType; // ListSource's type
bool m_bEmptyIsNull; // Empty string is interpreted as NULL
......
......@@ -255,7 +255,6 @@ bool Submission::doSubmit( const Reference< XInteractionHandler >& xHandler )
return false;
}
xSubmission->setEncoding(getEncoding());
CSubmission::SubmissionResult aResult = xSubmission->submit( xHandler );
if (aResult == CSubmission::SUCCESS)
......
......@@ -110,7 +110,6 @@ protected:
css::uno::Reference< css::xml::dom::XDocumentFragment > m_aFragment;
css::uno::Reference< css::io::XInputStream > m_aResultStream;
css::uno::Reference< css::uno::XComponentContext > m_xContext;
OUString m_aEncoding;
::std::unique_ptr< CSerialization > createSerialization(const css::uno::Reference< css::task::XInteractionHandler >& aHandler
,css::uno::Reference<css::ucb::XCommandEnvironment>& _rOutEnv);
......@@ -129,10 +128,6 @@ public:
virtual ~CSubmission() {}
void setEncoding(const OUString& aEncoding)
{
m_aEncoding = aEncoding;
}
virtual SubmissionResult submit(const css::uno::Reference< css::task::XInteractionHandler >& ) = 0;
SubmissionResult replace(const OUString&, const css::uno::Reference< css::xml::dom::XDocument >&, const css::uno::Reference< css::frame::XFrame>&);
......
......@@ -144,8 +144,6 @@ public:
mutable uno::Sequence< sheet::FormulaToken > m_aSeparatorsOpCodes;
mutable uno::Sequence< sheet::FormulaOpCodeMapEntry > m_aFunctionOpCodes;
mutable const sheet::FormulaOpCodeMapEntry* m_pFunctionOpCodesEnd;
mutable uno::Sequence< sheet::FormulaOpCodeMapEntry > m_aUnaryOpCodes;
mutable uno::Sequence< sheet::FormulaOpCodeMapEntry > m_aBinaryOpCodes;
::std::map<const FormulaToken*, sheet::FormulaToken> m_aTokenMap;
IFormulaEditorHelper* m_pHelper;
VclPtr<Dialog> m_pParent;
......@@ -403,10 +401,6 @@ void FormulaDlg_Impl::InitFormulaOpCodeMapper()
m_aFunctionOpCodes = m_xOpCodeMapper->getAvailableMappings( sheet::FormulaLanguage::ODFF, sheet::FormulaMapGroup::FUNCTIONS);
m_pFunctionOpCodesEnd = m_aFunctionOpCodes.getConstArray() + m_aFunctionOpCodes.getLength();
m_aUnaryOpCodes = m_xOpCodeMapper->getAvailableMappings( sheet::FormulaLanguage::ODFF, sheet::FormulaMapGroup::UNARY_OPERATORS);
m_aBinaryOpCodes = m_xOpCodeMapper->getAvailableMappings( sheet::FormulaLanguage::ODFF, sheet::FormulaMapGroup::BINARY_OPERATORS);
uno::Sequence< OUString > aArgs(3);
aArgs[TOKEN_OPEN] = "(";
aArgs[TOKEN_CLOSE] = ")";
......
......@@ -141,9 +141,8 @@ OUString SAL_CALL SvtFolderPicker::getDirectory()
return OUString();
}
void SAL_CALL SvtFolderPicker::setDescription( const OUString& aDescription )
void SAL_CALL SvtFolderPicker::setDescription( const OUString& )
{
m_aDescription = aDescription;
}
void SvtFolderPicker::cancel()
......
......@@ -40,8 +40,6 @@ typedef
class SvtFolderPicker: public SvtFolderPicker_Base
{
private:
OUString m_aDescription;
css::uno::Reference< css::ui::dialogs::XDialogClosedListener >
m_xListener;
......@@ -55,7 +53,6 @@ public:
// XFolderPicker2 functions
virtual void SAL_CALL setDisplayDirectory( const OUString& aDirectory ) override;
virtual OUString SAL_CALL getDisplayDirectory() override;
virtual OUString SAL_CALL getDirectory() override;
......
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