Kaydet (Commit) 7ca7e52b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Some loplugin:conststringvar/stringconstant improvements: vcl

Change-Id: I999549a840864060be4e80fe973ebb530202b807
üst 15f84c9c
......@@ -171,11 +171,11 @@ ResMgr* ImplGetResMgr()
if( !pSVData->mpResMgr && ! bMessageOnce )
{
bMessageOnce = true;
const char* pMsg =
const char pMsg[] =
"Missing vcl resource. This indicates that files vital to localization are missing. "
"You might have a corrupt installation.";
SAL_WARN("vcl", "" << pMsg << "\n");
ScopedVclPtrInstance< MessageDialog > aBox( nullptr, OUString(pMsg, strlen(pMsg), RTL_TEXTENCODING_ASCII_US) );
ScopedVclPtrInstance< MessageDialog > aBox( nullptr, pMsg );
aBox->Execute();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment