summaryrefslogtreecommitdiff
path: root/vcl/android
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-07 17:16:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-08 08:08:35 +0200
commita209172669e7a2de6065486e385e4e3007b74bd2 (patch)
tree4a7e008cf700fb23ecc6e4cd44de1c6a08a9b7e7 /vcl/android
parent2675cbf042130f24fe7ea299b85b8f5f4794a667 (diff)
loplugin:constantparam
Change-Id: Ib92aba17c46a4ada75c2a0630f281759d995f32e Reviewed-on: https://gerrit.libreoffice.org/40843 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/android')
-rw-r--r--vcl/android/androidinst.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx
index 56d6c39a303a..a2cb49cb60aa 100644
--- a/vcl/android/androidinst.cxx
+++ b/vcl/android/androidinst.cxx
@@ -82,8 +82,7 @@ public:
virtual ~AndroidSalSystem() {}
virtual int ShowNativeDialog( const OUString& rTitle,
const OUString& rMessage,
- const std::list< OUString >& rButtons,
- int nDefButton );
+ const std::list< OUString >& rButtons );
};
SalSystem *AndroidSalInstance::CreateSalSystem()
@@ -204,10 +203,9 @@ void DestroySalInstance( SalInstance *pInst )
int AndroidSalSystem::ShowNativeDialog( const OUString& rTitle,
const OUString& rMessage,
- const std::list< OUString >& rButtons,
- int nDefButton )
+ const std::list< OUString >& rButtons )
{
- (void)rButtons; (void)nDefButton;
+ (void)rButtons;
LOGI("LibreOffice native dialog '%s': '%s'",
OUStringToOString(rTitle, RTL_TEXTENCODING_ASCII_US).getStr(),
OUStringToOString(rMessage, RTL_TEXTENCODING_ASCII_US).getStr());