summaryrefslogtreecommitdiff
path: root/basctl/source/basicide
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-28 17:15:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-28 17:15:36 +0200
commite9bae752fe762e82137e709a39f74e4db0b9af31 (patch)
treeefac8f76903d102700d15acad0bd31d5b3f3feb1 /basctl/source/basicide
parentbe00e2a73d10483b675a080f4899f8bf85d331db (diff)
ChooseMacro rMacroDesc parameter is unused
...ever since 49751c87652bdd9de8aeca244b4644811f4b0956 "INTEGRATION: CWS tbe11" Change-Id: I038616f5e69bbf1fa04c2fff3ca63e381549aa89
Diffstat (limited to 'basctl/source/basicide')
-rw-r--r--basctl/source/basicide/baside2.cxx2
-rw-r--r--basctl/source/basicide/basides1.cxx2
-rw-r--r--basctl/source/basicide/basobj2.cxx9
3 files changed, 5 insertions, 8 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx
index 0c9568f9eadf..1d2c0cf8dbdf 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -337,7 +337,7 @@ void ModulWindow::BasicExecute()
if ( !pMethod )
{
// If not in a method then prompt the user
- ChooseMacro( uno::Reference< frame::XModel >(), false, OUString() );
+ ChooseMacro( uno::Reference< frame::XModel >(), false );
return;
}
if ( pMethod )
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index a1c9304139ec..a9c9187a5ad4 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -268,7 +268,7 @@ void Shell::ExecuteGlobal( SfxRequest& rReq )
break;
case SID_BASICIDE_CHOOSEMACRO:
{
- ChooseMacro( nullptr, false, OUString() );
+ ChooseMacro( nullptr, false );
}
break;
case SID_BASICIDE_CREATEMACRO:
diff --git a/basctl/source/basicide/basobj2.cxx b/basctl/source/basicide/basobj2.cxx
index 59267871fc17..13b84b029ff0 100644
--- a/basctl/source/basicide/basobj2.cxx
+++ b/basctl/source/basicide/basobj2.cxx
@@ -43,12 +43,11 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::container;
extern "C" {
- SAL_DLLPUBLIC_EXPORT rtl_uString* basicide_choose_macro( void* pOnlyInDocument_AsXModel, void* pDocFrame_AsXFrame, sal_Bool bChooseOnly, rtl_uString* pMacroDesc )
+ SAL_DLLPUBLIC_EXPORT rtl_uString* basicide_choose_macro( void* pOnlyInDocument_AsXModel, void* pDocFrame_AsXFrame, sal_Bool bChooseOnly )
{
- OUString aMacroDesc( pMacroDesc );
Reference< frame::XModel > aDocument( static_cast< frame::XModel* >( pOnlyInDocument_AsXModel ) );
Reference< frame::XFrame > aDocFrame( static_cast< frame::XFrame* >( pDocFrame_AsXFrame ) );
- OUString aScriptURL = basctl::ChooseMacro( aDocument, aDocFrame, bChooseOnly, aMacroDesc );
+ OUString aScriptURL = basctl::ChooseMacro( aDocument, aDocFrame, bChooseOnly );
rtl_uString* pScriptURL = aScriptURL.pData;
rtl_uString_acquire( pScriptURL );
@@ -235,10 +234,8 @@ namespace
OUString ChooseMacro( const uno::Reference< frame::XModel >& rxLimitToDocument,
const uno::Reference< frame::XFrame >& xDocFrame,
- bool bChooseOnly, const OUString& rMacroDesc )
+ bool bChooseOnly )
{
- (void)rMacroDesc;
-
EnsureIde();
GetExtraData()->ChoosingMacro() = true;