Commits

Anonymous committed 1b3e19a

sb140: #i117310# support EXCEPTIONS_OFF (no UNO_QUERY_THROW)

  • Participants
  • Parent commits 5afe1c6

Comments (0)

Files changed (1)

File xmloff/inc/xmloff/PropertySetInfoHash.hxx

     return static_cast< std::size_t >(
         reinterpret_cast< sal_uIntPtr >(
             com::sun::star::uno::Reference< com::sun::star::uno::XInterface >(
-                r, com::sun::star::uno::UNO_QUERY_THROW)
+                r, com::sun::star::uno::UNO_QUERY)
             .get()));
+        // should be UNO_QUERY_THROW, but some clients are compiled with
+        // EXCEPTIONS_OFF
 }
 
 inline bool PropertySetInfoHash::operator()(