Kaydet (Commit) 998090bf authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

tdf#92341 Hide in grammar menu and fix label

Change-Id: I1cd5d8df76dddfa3a408c4b568f85bef04733be3
üst 3e3a37eb
...@@ -244,7 +244,7 @@ OUString RetrieveLabelFromCommand( const OUString& aCmdURL ) ...@@ -244,7 +244,7 @@ OUString RetrieveLabelFromCommand( const OUString& aCmdURL )
{ {
for ( sal_Int32 i = 0; i < aPropSeq.getLength(); i++ ) for ( sal_Int32 i = 0; i < aPropSeq.getLength(); i++ )
{ {
if ( aPropSeq[i].Name == "Name" ) if ( aPropSeq[i].Name == "Label" )
{ {
aPropSeq[i].Value >>= aStr; aPropSeq[i].Value >>= aStr;
break; break;
...@@ -536,6 +536,7 @@ m_aInfo16( SW_RES(IMG_INFO_16) ) ...@@ -536,6 +536,7 @@ m_aInfo16( SW_RES(IMG_INFO_16) )
SetHelpId( MN_IGNORE_SELECTION, HID_LINGU_IGNORE_SELECTION); SetHelpId( MN_IGNORE_SELECTION, HID_LINGU_IGNORE_SELECTION);
EnableItem( MN_AUTOCORR, false ); EnableItem( MN_AUTOCORR, false );
EnableItem( MN_AUTO_CORRECT_DLG, false );
uno::Reference< linguistic2::XLanguageGuessing > xLG = SW_MOD()->GetLanguageGuesser(); uno::Reference< linguistic2::XLanguageGuessing > xLG = SW_MOD()->GetLanguageGuesser();
m_nGuessLangWord = LANGUAGE_NONE; m_nGuessLangWord = LANGUAGE_NONE;
......
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