code: public CmsGallerySearchScope getGalleryDefaultScope() {
  
          CmsGallerySearchScope result = CmsGallerySearchScope.siteShared;
          if (m_galleryDefaultScope != null) {
              try {
                  result = CmsGallerySearchScope.valueOf(m_galleryDefaultScope);
              } catch (Throwable t) {
                  // ignore
              }
          }
          return result;
      }
docs: Returns the gallery default scope.<p>
  
  @return the gallery default scope