cast to wrong type, can cause crash when opening Options-Writer-AutoCaption
cast to wrong type, can cause crash when opening Options-Writer-AutoCaption

it turns out that GetParent() returns pointer to OfaTreeOptionsDialog,
not SfxSingleTabDialog. Disabling OK button in the options dialog does
not make any sense, so the patch removes that code.

Change-Id: I76618d89f904a6eac80fc08072dcde007b2d9c34

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core