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 b22db958658e..a7b0b20b147d 100644
--- a/basctl/source/basicide/baside3.cxx
+++ b/basctl/source/basicide/baside3.cxx
@@ -820,7 +820,7 @@ bool DialogWindow::SaveDialog()
if( aExtension == "properties" || aExtension == "default" )
{
- if( aPureName.indexOf( aDialogName_ ) == 0 )
+ if( aPureName.startsWith( aDialogName_ ) )
{
try
{