private boolean action_removeSectionWithoutContents(OOComponentHelper ooDoc, String sectionName) {
   boolean bResult = false;
   try {
     XTextSection theSection = ooDocument.getSection(sectionName);
     XText docText = ooDocument.getTextDocument().getText();
     docText.removeTextContent(theSection);
     bResult = true;
   } catch (NoSuchElementException ex) {
     log.error("in removeSectionWIthoutContents : " + ex.getLocalizedMessage(), ex);
     bResult = false;
   } finally {
     return bResult;
   }
 }