summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx
index d4a4b95ed881..d09ec3029adc 100644
--- a/basctl/source/basicide/baside3.cxx
+++ b/basctl/source/basicide/baside3.cxx
@@ -1150,7 +1150,7 @@ bool implImportDialog( vcl::Window* pWin, const OUString& rCurPath, const Script
{
BaseWindow* pDlgWin = pShell->FindDlgWin( rDocument, aLibName, aNewDlgName, false, true );
if( pDlgWin != nullptr )
- pShell->RemoveWindow( pDlgWin, true );
+ pShell->RemoveWindow( pDlgWin, false );
MarkDocumentModified( rDocument );
}
else