From d99b65c864cc3358238e4eac651f12a34d05e2d9 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 14 Sep 2017 16:57:06 +0200 Subject: Rename GetSelectEntryPos -> GetSelectedEntryPos Change-Id: I0bd4cb463575af843c72d9c8aaf91742203532a4 Reviewed-on: https://gerrit.libreoffice.org/42283 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- xmlsecurity/source/dialogs/macrosecurity.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmlsecurity') diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx index 7616d5fd9992..e434dc093c13 100644 --- a/xmlsecurity/source/dialogs/macrosecurity.cxx +++ b/xmlsecurity/source/dialogs/macrosecurity.cxx @@ -207,7 +207,7 @@ void MacroSecurityTrustedSourcesTP::ImplCheckButtons() m_pViewCertPB->Enable( bCertSelected ); m_pRemoveCertPB->Enable( bCertSelected && !mbAuthorsReadonly); - bool bLocationSelected = m_pTrustFileLocLB->GetSelectEntryPos() != LISTBOX_ENTRY_NOTFOUND; + bool bLocationSelected = m_pTrustFileLocLB->GetSelectedEntryPos() != LISTBOX_ENTRY_NOTFOUND; m_pRemoveLocPB->Enable( bLocationSelected && !mbURLsReadonly); } @@ -286,7 +286,7 @@ IMPL_LINK_NOARG(MacroSecurityTrustedSourcesTP, AddLocPBHdl, Button*, void) IMPL_LINK_NOARG(MacroSecurityTrustedSourcesTP, RemoveLocPBHdl, Button*, void) { - sal_Int32 nSel = m_pTrustFileLocLB->GetSelectEntryPos(); + sal_Int32 nSel = m_pTrustFileLocLB->GetSelectedEntryPos(); if( nSel != LISTBOX_ENTRY_NOTFOUND ) { m_pTrustFileLocLB->RemoveEntry( nSel ); -- cgit