summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-18 15:37:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-21 18:12:52 +0200
commitf0f9d986e38c83ffc9fbc16cef461398231756aa (patch)
treea578a12992f46480d89a78abcde9ccdbc580a5b3 /fpicker
parentb54889fb57ecdc2d8fe1badcb325c1ed70e9e7ec (diff)
loplugin:virtualdead unused param in SvtFileDialog_Base
Change-Id: Id10c6df2a9d00f19dc1dc314515fedbe90918f66 Reviewed-on: https://gerrit.libreoffice.org/81235 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/OfficeFilePicker.cxx4
-rw-r--r--fpicker/source/office/RemoteFilesDialog.cxx2
-rw-r--r--fpicker/source/office/RemoteFilesDialog.hxx2
-rw-r--r--fpicker/source/office/fpdialogbase.hxx2
-rw-r--r--fpicker/source/office/iodlg.cxx2
-rw-r--r--fpicker/source/office/iodlg.hxx2
6 files changed, 7 insertions, 7 deletions
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx
index 0d453066ed6b..aa95fcc8baf2 100644
--- a/fpicker/source/office/OfficeFilePicker.cxx
+++ b/fpicker/source/office/OfficeFilePicker.cxx
@@ -840,13 +840,13 @@ sal_Int32 SAL_CALL SvtFilePicker::getAvailableHeight()
}
-void SAL_CALL SvtFilePicker::setImage( sal_Int16 aImageFormat, const Any& rImage )
+void SAL_CALL SvtFilePicker::setImage( sal_Int16 /*aImageFormat*/, const Any& rImage )
{
checkAlive();
SolarMutexGuard aGuard;
if ( getDialog() )
- getDialog()->setImage( aImageFormat, rImage );
+ getDialog()->setImage( rImage );
}
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index a2f8ffb63631..688f85aff6f7 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -1497,7 +1497,7 @@ sal_Int32 RemoteFilesDialog::getAvailableHeight()
return 0;
}
-void RemoteFilesDialog::setImage( sal_Int16, const css::uno::Any& )
+void RemoteFilesDialog::setImage( const css::uno::Any& )
{
// This dialog doesn't contain preview
}
diff --git a/fpicker/source/office/RemoteFilesDialog.hxx b/fpicker/source/office/RemoteFilesDialog.hxx
index e37e9a37f7e4..f78b2b51c820 100644
--- a/fpicker/source/office/RemoteFilesDialog.hxx
+++ b/fpicker/source/office/RemoteFilesDialog.hxx
@@ -108,7 +108,7 @@ public:
virtual sal_Int32 getAvailableWidth() override;
virtual sal_Int32 getAvailableHeight() override;
- virtual void setImage( sal_Int16 aImageFormat, const css::uno::Any& rImage ) override;
+ virtual void setImage( const css::uno::Any& rImage ) override;
virtual bool getShowState() override;
diff --git a/fpicker/source/office/fpdialogbase.hxx b/fpicker/source/office/fpdialogbase.hxx
index 5b921b9379d0..575f4acd5aab 100644
--- a/fpicker/source/office/fpdialogbase.hxx
+++ b/fpicker/source/office/fpdialogbase.hxx
@@ -103,7 +103,7 @@ public:
virtual sal_Int32 getAvailableWidth() = 0;
virtual sal_Int32 getAvailableHeight() = 0;
- virtual void setImage( sal_Int16 aImageFormat, const css::uno::Any& rImage ) = 0;
+ virtual void setImage( const css::uno::Any& rImage ) = 0;
virtual bool getShowState() = 0;
};
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 332b345b36bd..97d64381d154 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -2583,7 +2583,7 @@ sal_Int32 SvtFileDialog::getAvailableHeight()
}
-void SvtFileDialog::setImage( sal_Int16 /*aImageFormat*/, const Any& rImage )
+void SvtFileDialog::setImage( const Any& rImage )
{
if ( ! _pPrevBmp || ! _pPrevBmp->IsVisible() )
return;
diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx
index 83a639bfa279..9a4af4c35541 100644
--- a/fpicker/source/office/iodlg.hxx
+++ b/fpicker/source/office/iodlg.hxx
@@ -213,7 +213,7 @@ public:
sal_Int32 getTargetColorDepth() override;
sal_Int32 getAvailableWidth() override;
sal_Int32 getAvailableHeight() override;
- void setImage( sal_Int16 aImageFormat, const css::uno::Any& rImage ) override;
+ void setImage( const css::uno::Any& rImage ) override;
bool getShowState() override;
bool isAutoExtensionEnabled() const;