tdf#87178 Resetting menu shouldn't reset other resources
Change-Id: I6d6334cac9fdb5dfa3e35fe0cba70e5d9adf6fc2
This commit is contained in:
@@ -1325,7 +1325,14 @@ void SaveInData::ApplyMenu(
|
||||
void
|
||||
MenuSaveInData::Reset()
|
||||
{
|
||||
GetConfigManager()->reset();
|
||||
try
|
||||
{
|
||||
GetConfigManager()->removeSettings( m_aMenuResourceURL );
|
||||
}
|
||||
catch ( const css::uno::Exception& )
|
||||
{}
|
||||
|
||||
PersistChanges( GetConfigManager() );
|
||||
|
||||
delete pRootEntry;
|
||||
pRootEntry = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user