summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2019-07-22 12:52:09 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2019-07-22 16:16:30 +0200
commitadb3e60d3f61b5d8c9690fe38cf55ced19f038b0 (patch)
treec6f705c62cf9721b37198a3df929ebdbbe8ab73f
parent04cdfa7aa0fea15c1fc737631c62260d8a9c2312 (diff)
kf5/gtk3_kde5 fpickers: Drop unused 'allowRemoteUrls'
Change-Id: I591bf9fbe6e22bedda5a94334130a4f674cd66e6 Reviewed-on: https://gerrit.libreoffice.org/76110 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r--compilerplugins/clang/unusedfields.only-used-in-constructor.results2
-rw-r--r--compilerplugins/clang/unusedfields.untouched.results2
-rw-r--r--vcl/unx/gtk3_kde5/kde5_filepicker.cxx1
-rw-r--r--vcl/unx/gtk3_kde5/kde5_filepicker.hxx2
-rw-r--r--vcl/unx/kf5/KF5FilePicker.cxx1
-rw-r--r--vcl/unx/kf5/KF5FilePicker.hxx2
6 files changed, 0 insertions, 10 deletions
diff --git a/compilerplugins/clang/unusedfields.only-used-in-constructor.results b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
index db4b5e7efed6..ca08d4cca7a5 100644
--- a/compilerplugins/clang/unusedfields.only-used-in-constructor.results
+++ b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
@@ -842,8 +842,6 @@ vcl/unx/gtk/glomenu.cxx:20
GLOMenu parent_instance const GMenuModel
vcl/unx/kf5/KF5FilePicker.hxx:32
KF5FilePicker _layout class QGridLayout *
-vcl/unx/kf5/KF5FilePicker.hxx:34
- KF5FilePicker allowRemoteUrls _Bool
writerfilter/source/dmapper/PropertyMap.hxx:198
writerfilter::dmapper::SectionPropertyMap m_nDebugSectionNumber sal_Int32
xmloff/source/text/XMLTextListBlockContext.hxx:35
diff --git a/compilerplugins/clang/unusedfields.untouched.results b/compilerplugins/clang/unusedfields.untouched.results
index d7092855f60b..0982b2dca66c 100644
--- a/compilerplugins/clang/unusedfields.untouched.results
+++ b/compilerplugins/clang/unusedfields.untouched.results
@@ -762,8 +762,6 @@ vcl/unx/gtk3/gtk3gtkinst.cxx:3532
CrippledViewport viewport GtkViewport
vcl/unx/gtk/a11y/atkhypertext.cxx:29
HyperLink atk_hyper_link const AtkHyperlink
-vcl/unx/kf5/KF5FilePicker.hxx:34
- KF5FilePicker allowRemoteUrls _Bool
writerfilter/source/ooxml/OOXMLStreamImpl.hxx:43
writerfilter::ooxml::OOXMLStreamImpl mxFastParser css::uno::Reference<css::xml::sax::XFastParser>
writerperfect/inc/WPFTEncodingDialog.hxx:37
diff --git a/vcl/unx/gtk3_kde5/kde5_filepicker.cxx b/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
index 2ee4dbd8e85c..a3c2ecf63483 100644
--- a/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
+++ b/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
@@ -42,7 +42,6 @@ KDE5FilePicker::KDE5FilePicker(QObject* parent)
, _extraControls(new QWidget)
, _layout(new QGridLayout(_extraControls))
, _winId(0)
- , allowRemoteUrls(false)
{
_dialog->setSupportedSchemes({
QStringLiteral("file"), QStringLiteral("ftp"), QStringLiteral("http"),
diff --git a/vcl/unx/gtk3_kde5/kde5_filepicker.hxx b/vcl/unx/gtk3_kde5/kde5_filepicker.hxx
index c979a5ddcad9..0442c333ab05 100644
--- a/vcl/unx/gtk3_kde5/kde5_filepicker.hxx
+++ b/vcl/unx/gtk3_kde5/kde5_filepicker.hxx
@@ -55,8 +55,6 @@ protected:
sal_uIntPtr _winId;
- bool allowRemoteUrls;
-
public:
explicit KDE5FilePicker(QObject* parent = nullptr);
~KDE5FilePicker() override;
diff --git a/vcl/unx/kf5/KF5FilePicker.cxx b/vcl/unx/kf5/KF5FilePicker.cxx
index 366ca89ffa54..9ecbbb7d8feb 100644
--- a/vcl/unx/kf5/KF5FilePicker.cxx
+++ b/vcl/unx/kf5/KF5FilePicker.cxx
@@ -54,7 +54,6 @@ KF5FilePicker::KF5FilePicker(css::uno::Reference<css::uno::XComponentContext> co
// Native kf5 filepicker does not add file extension automatically
: Qt5FilePicker(context, eMode, true, true)
, _layout(new QGridLayout(m_pExtraControls))
- , allowRemoteUrls(false)
{
// use native dialog
m_pFileDialog->setOption(QFileDialog::DontUseNativeDialog, false);
diff --git a/vcl/unx/kf5/KF5FilePicker.hxx b/vcl/unx/kf5/KF5FilePicker.hxx
index 6bfc7ee96077..4325e782d0f4 100644
--- a/vcl/unx/kf5/KF5FilePicker.hxx
+++ b/vcl/unx/kf5/KF5FilePicker.hxx
@@ -31,8 +31,6 @@ protected:
//layout for extra custom controls
QGridLayout* _layout;
- bool allowRemoteUrls;
-
public:
explicit KF5FilePicker(css::uno::Reference<css::uno::XComponentContext> const& context,
QFileDialog::FileMode);