Kaydet (Commit) 1fb55375 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: deal with those that are (technically) const_cast

Change-Id: I0730744b8424bc6dea5e8016199088f86e9570f5
üst 863bfb28
......@@ -201,7 +201,7 @@ void LangGuess_Impl::SetFingerPrintsDB(
OString conf_file_path(path);
conf_file_path += conf_file_name;
m_aGuesser.SetDBPath((const char*)conf_file_path.getStr(), (const char*)path.getStr());
m_aGuesser.SetDBPath(conf_file_path.getStr(), path.getStr());
}
uno::Sequence< Locale > SAL_CALL LangGuess_Impl::getAvailableLanguages( )
......
......@@ -454,7 +454,7 @@ Reference< XSpellAlternatives >
{
char ** suglst = NULL;
OString aWrd(OU2ENC(nWord,eEnc));
int count = pMS->suggest(&suglst, (const char *) aWrd.getStr());
int count = pMS->suggest(&suglst, aWrd.getStr());
if (count)
{
......
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