compilerplugins/clang/unusedfields.only-used-in-constructor.results |    2 --
 compilerplugins/clang/unusedfields.untouched.results                |    2 --
 vcl/unx/gtk3_kde5/kde5_filepicker.cxx                               |    1 -
 vcl/unx/gtk3_kde5/kde5_filepicker.hxx                               |    2 --
 vcl/unx/kf5/KF5FilePicker.cxx                                       |    1 -
 vcl/unx/kf5/KF5FilePicker.hxx                                       |    2 --
 6 files changed, 10 deletions(-)

New commits:
commit adb3e60d3f61b5d8c9690fe38cf55ced19f038b0
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Mon Jul 22 12:52:09 2019 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Mon Jul 22 16:16:30 2019 +0200

    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.wegh...@posteo.de>

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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to