summaryrefslogtreecommitdiff
path: root/basic/source/comp/dim.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-06 10:17:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-06 13:56:49 +0200
commit7d6e751faa545552de7859cd6530926676caf09f (patch)
treeaf1f5451761b73f5769692ac6524454c375a591d /basic/source/comp/dim.cxx
parent84687944439f5a2d96d771429bf58bf49b084d8c (diff)
loplugin:ostr basic
Change-Id: Ie5fc4676bd1cab2c0417b479bf08dda00936469a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167191 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/comp/dim.cxx')
-rw-r--r--basic/source/comp/dim.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx
index cbc25b0152b4..7321d8496a6e 100644
--- a/basic/source/comp/dim.cxx
+++ b/basic/source/comp/dim.cxx
@@ -66,7 +66,7 @@ SbiSymDef* SbiParser::VarDecl( SbiExprListPtr* ppDim, bool bStatic, bool bConst
if( !ppDim && pDim )
{
if(pDim->GetDims() )
- Error( ERRCODE_BASIC_EXPECTED, "()" );
+ Error( ERRCODE_BASIC_EXPECTED, u"()"_ustr );
}
else if( ppDim )
*ppDim = std::move(pDim);
@@ -704,8 +704,8 @@ void SbiParser::DefType()
}
}
- pType->Remove( "Name", SbxClassType::DontCare );
- pType->Remove( "Parent", SbxClassType::DontCare );
+ pType->Remove( u"Name"_ustr, SbxClassType::DontCare );
+ pType->Remove( u"Parent"_ustr, SbxClassType::DontCare );
rTypeArray->Insert(pType, rTypeArray->Count());
}
@@ -835,8 +835,8 @@ void SbiParser::DefEnum( bool bPrivate )
}
}
- pEnum->Remove( "Name", SbxClassType::DontCare );
- pEnum->Remove( "Parent", SbxClassType::DontCare );
+ pEnum->Remove( u"Name"_ustr, SbxClassType::DontCare );
+ pEnum->Remove( u"Parent"_ustr, SbxClassType::DontCare );
rEnumArray->Insert(pEnum, rEnumArray->Count());
}
@@ -1220,7 +1220,7 @@ void SbiParser::DefProc( bool bStatic, bool bPrivate )
}
else
{
- Error( ERRCODE_BASIC_EXPECTED, "Get or Let or Set" );
+ Error( ERRCODE_BASIC_EXPECTED, u"Get or Let or Set"_ustr );
}
}