diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basobj3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/basobj3.cxx b/basctl/source/basicide/basobj3.cxx index dd700b1bb4ce..7de0ab37c50e 100644 --- a/basctl/source/basicide/basobj3.cxx +++ b/basctl/source/basicide/basobj3.cxx @@ -180,7 +180,7 @@ bool RenameDialog ( if ( !rDocument.renameDialog( rLibName, rOldName, rNewName, xExistingDialog ) ) return false; - if ( pWin ) + if (pWin && pShell) { // set new name in window pWin->SetName( rNewName ); |