summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-22 15:54:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-23 11:54:54 +0100
commitcd383000f84b8b75ffe15d1cd1bb8d5a14a71685 (patch)
tree01387d2f0750baae62139a6ee572c73d122f8714 /forms
parenta25ee52f6861796853cb3ebf12e49834222bcba0 (diff)
loplugin:unusedfields in forms..fpicker
Change-Id: Ifd3afbf276100e3cef802bbcc0792b43a9cd84f8 Reviewed-on: https://gerrit.libreoffice.org/68228 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ComboBox.cxx1
-rw-r--r--forms/source/component/ComboBox.hxx3
-rw-r--r--forms/source/xforms/submission.cxx1
-rw-r--r--forms/source/xforms/submission/submission.hxx5
4 files changed, 0 insertions, 10 deletions
diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx
index ce94ba6d846d..06f5f4234c0d 100644
--- a/forms/source/component/ComboBox.cxx
+++ b/forms/source/component/ComboBox.cxx
@@ -163,7 +163,6 @@ void OComboBoxModel::disposing()
OBoundControlModel::disposing();
OEntryListHelper::disposing();
OErrorBroadcaster::disposing();
- m_xFormatter = nullptr;
}
diff --git a/forms/source/component/ComboBox.hxx b/forms/source/component/ComboBox.hxx
index 06b77f762d5f..dd5db15a010e 100644
--- a/forms/source/component/ComboBox.hxx
+++ b/forms/source/component/ComboBox.hxx
@@ -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
diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx
index 08e04b8b2a33..54cc757db748 100644
--- a/forms/source/xforms/submission.cxx
+++ b/forms/source/xforms/submission.cxx
@@ -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)
diff --git a/forms/source/xforms/submission/submission.hxx b/forms/source/xforms/submission/submission.hxx
index 7d726392c736..77d59b1f740e 100644
--- a/forms/source/xforms/submission/submission.hxx
+++ b/forms/source/xforms/submission/submission.hxx
@@ -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>&);