summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-13 11:47:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-13 11:47:33 +0200
commit7274490e8af1de05ab84b5e08017a3378502ea96 (patch)
tree5b122c20077489f625c8f1c7cff3c1ce0f66f6ae /basctl
parent85d71244eb8caf55aab8094b587dfee7fa1e97b2 (diff)
loplugin:oncevar: empty strings: basctl
Change-Id: Ie3ecf1dc0ad038113dbeab5332874bbd3279abab
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside3.cxx3
-rw-r--r--basctl/source/basicide/localizationmgr.cxx3
-rw-r--r--basctl/source/basicide/macrodlg.cxx3
-rw-r--r--basctl/source/basicide/moduldlg.cxx3
4 files changed, 4 insertions, 8 deletions
diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx
index ddf2113b3fe3..d42b183eaa54 100644
--- a/basctl/source/basicide/baside3.cxx
+++ b/basctl/source/basicide/baside3.cxx
@@ -1155,9 +1155,8 @@ EntryDescriptor DialogWindow::CreateEntryDescriptor()
{
ScriptDocument aDocument( GetDocument() );
OUString aLibName( GetLibName() );
- OUString aLibSubName;
LibraryLocation eLocation = aDocument.getLibraryLocation( aLibName );
- return EntryDescriptor( aDocument, eLocation, aLibName, aLibSubName, GetName(), OBJ_TYPE_DIALOG );
+ return EntryDescriptor( aDocument, eLocation, aLibName, OUString(), GetName(), OBJ_TYPE_DIALOG );
}
void DialogWindow::SetReadOnly (bool bReadOnly)
diff --git a/basctl/source/basicide/localizationmgr.cxx b/basctl/source/basicide/localizationmgr.cxx
index 18b64c4f5a04..1af9b1224e33 100644
--- a/basctl/source/basicide/localizationmgr.cxx
+++ b/basctl/source/basicide/localizationmgr.cxx
@@ -1054,11 +1054,10 @@ void LocalizationMgr::copyResourceForDroppedDialog( const Reference< container::
return;
// Dialog as control
- OUString aDummyName;
Any aDialogCtrl;
aDialogCtrl <<= xDialogModel;
implHandleControlResourceProperties( aDialogCtrl, aDialogName,
- aDummyName, xStringResourceManager, xSourceStringResolver, MOVE_RESOURCES );
+ OUString(), xStringResourceManager, xSourceStringResolver, MOVE_RESOURCES );
// Handle all controls
Sequence< OUString > aNames = xDialogModel->getElementNames();
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx
index fd0fadce4541..f5a593b2bde9 100644
--- a/basctl/source/basicide/macrodlg.cxx
+++ b/basctl/source/basicide/macrodlg.cxx
@@ -761,9 +761,8 @@ IMPL_LINK( MacroChooser, ButtonHdl, Button *, pButton, void )
EntryDescriptor aDesc = m_pBasicBox->GetEntryDescriptor(pCurEntry);
ScriptDocument aDocument( aDesc.GetDocument() );
OUString aLibName( aDesc.GetLibName() );
- OUString aModName;
createModImpl( static_cast<vcl::Window*>( this ), aDocument,
- *m_pBasicBox, aLibName, aModName, true );
+ *m_pBasicBox, aLibName, OUString(), true );
}
else if (pButton == m_pOrganizeButton)
{
diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx
index 0e02742d6d07..c5e5a54380d2 100644
--- a/basctl/source/basicide/moduldlg.cxx
+++ b/basctl/source/basicide/moduldlg.cxx
@@ -792,9 +792,8 @@ void ObjectPage::NewModule()
if ( GetSelection( aDocument, aLibName ) )
{
- OUString aModName;
createModImpl( static_cast<vcl::Window*>( this ), aDocument,
- *m_pBasicBox, aLibName, aModName, true );
+ *m_pBasicBox, aLibName, OUString(), true );
}
}