New loplugin:dynexcspec: Add @throws documentation, vcl
Change-Id: Icc398ec6cbb9152ee86b4ac0003619ae04206cd6
This commit is contained in:
parent
6cf68af560
commit
2bba0a173d
17 changed files with 68 additions and 0 deletions
|
@ -56,25 +56,31 @@ public:
|
|||
virtual ~DragAndDropClient();
|
||||
|
||||
// css::datatransfer::dnd::XDragGestureListener
|
||||
/// @throws css::uno::RuntimeException
|
||||
virtual void dragGestureRecognized( const css::datatransfer::dnd::DragGestureEvent& dge )
|
||||
throw (css::uno::RuntimeException,
|
||||
std::exception);
|
||||
|
||||
// css::datatransfer::dnd::XDragSourceListener
|
||||
/// @throws css::uno::RuntimeException
|
||||
virtual void dragDropEnd(const css::datatransfer::dnd::DragSourceDropEvent& dsde )
|
||||
throw (css::uno::RuntimeException,
|
||||
std::exception);
|
||||
|
||||
// css::datatransfer::dnd::XDropTargetListener
|
||||
/// @throws css::uno::RuntimeException
|
||||
virtual void drop( const css::datatransfer::dnd::DropTargetDropEvent& dtde )
|
||||
throw (css::uno::RuntimeException,
|
||||
std::exception);
|
||||
/// @throws css::uno::RuntimeException
|
||||
virtual void dragEnter( const css::datatransfer::dnd::DropTargetDragEnterEvent& dtdee )
|
||||
throw (css::uno::RuntimeException,
|
||||
std::exception);
|
||||
/// @throws css::uno::RuntimeException
|
||||
virtual void dragExit( const css::datatransfer::dnd::DropTargetEvent& dte )
|
||||
throw (css::uno::RuntimeException,
|
||||
std::exception);
|
||||
/// @throws css::uno::RuntimeException
|
||||
virtual void dragOver( const css::datatransfer::dnd::DropTargetDragEvent& dtde )
|
||||
throw (css::uno::RuntimeException,
|
||||
std::exception);
|
||||
|
|
|
@ -70,6 +70,7 @@ namespace unotools
|
|||
// XIntegerReadOnlyBitmap
|
||||
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL getData( css::rendering::IntegerBitmapLayout& bitmapLayout, const css::geometry::IntegerRectangle2D& rect ) throw (css::lang::IndexOutOfBoundsException, css::rendering::VolatileContentDestroyedException, css::uno::RuntimeException, std::exception) override;
|
||||
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL getPixel( css::rendering::IntegerBitmapLayout& bitmapLayout, const css::geometry::IntegerPoint2D& pos ) throw (css::lang::IndexOutOfBoundsException, css::rendering::VolatileContentDestroyedException, css::uno::RuntimeException, std::exception) override;
|
||||
/// @throws css::uno::RuntimeException
|
||||
css::uno::Reference< css::rendering::XBitmapPalette > SAL_CALL getPalette( ) throw (css::uno::RuntimeException);
|
||||
virtual css::rendering::IntegerBitmapLayout SAL_CALL getMemoryLayout( ) throw (css::uno::RuntimeException, std::exception) override;
|
||||
|
||||
|
|
|
@ -46,22 +46,28 @@ class DNDEventDispatcher: public ::cppu::WeakImplHelper<
|
|||
* fire the events on the dnd listener container of the specified window
|
||||
*/
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static sal_Int32 fireDragEnterEvent( vcl::Window *pWindow, const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext >& xContext,
|
||||
const sal_Int8 nDropAction, const Point& rLocation, const sal_Int8 nSourceAction,
|
||||
const css::uno::Sequence< css::datatransfer::DataFlavor >& aFlavorList ) throw(css::uno::RuntimeException);
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static sal_Int32 fireDragOverEvent( vcl::Window *pWindow, const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext >& xContext,
|
||||
const sal_Int8 nDropAction, const Point& rLocation, const sal_Int8 nSourceAction ) throw(css::uno::RuntimeException);
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static sal_Int32 fireDragExitEvent( vcl::Window *pWindow ) throw(css::uno::RuntimeException);
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static sal_Int32 fireDropActionChangedEvent( vcl::Window *pWindow, const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext >& xContext,
|
||||
const sal_Int8 nDropAction, const Point& rLocation, const sal_Int8 nSourceAction ) throw(css::uno::RuntimeException);
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static sal_Int32 fireDropEvent( vcl::Window *pWindow, const css::uno::Reference< css::datatransfer::dnd::XDropTargetDropContext >& xContext,
|
||||
const sal_Int8 nDropAction, const Point& rLocation, const sal_Int8 nSourceAction,
|
||||
const css::uno::Reference< css::datatransfer::XTransferable >& xTransferable ) throw(css::uno::RuntimeException);
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static sal_Int32 fireDragGestureEvent( vcl::Window *pWindow, const css::uno::Reference< css::datatransfer::dnd::XDragSource >& xSource,
|
||||
const css::uno::Any& event, const Point& rOrigin, const sal_Int8 nDragAction )throw(css::uno::RuntimeException);
|
||||
|
||||
|
|
|
@ -315,6 +315,7 @@ private:
|
|||
return uno::Sequence< sal_Int8 >();
|
||||
}
|
||||
|
||||
// @throws uno::RuntimeException
|
||||
uno::Reference< rendering::XBitmapPalette > SAL_CALL getPalette( ) throw (uno::RuntimeException)
|
||||
{
|
||||
uno::Reference< XBitmapPalette > aRet;
|
||||
|
|
|
@ -43,6 +43,7 @@ getAsConst( const OString& rString )
|
|||
return aUgly[ nIdx ].getStr();
|
||||
}
|
||||
|
||||
/// @throws uno::RuntimeException
|
||||
static css::uno::Reference<css::accessibility::XAccessibleAction>
|
||||
getAction( AtkAction *action ) throw (uno::RuntimeException)
|
||||
{
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
/// @throws uno::RuntimeException
|
||||
static css::uno::Reference<css::accessibility::XAccessibleComponent>
|
||||
getComponent( AtkComponent *pComponent ) throw (uno::RuntimeException)
|
||||
{
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
/// @throws uno::RuntimeException
|
||||
static css::uno::Reference<css::accessibility::XAccessibleEditableText>
|
||||
getEditableText( AtkEditableText *pEditableText ) throw (uno::RuntimeException)
|
||||
{
|
||||
|
|
|
@ -189,6 +189,7 @@ hyper_link_get_type()
|
|||
|
||||
// ---------------------- AtkHyperText ----------------------
|
||||
|
||||
/// @throws uno::RuntimeException
|
||||
static css::uno::Reference<css::accessibility::XAccessibleHypertext>
|
||||
getHypertext( AtkHypertext *pHypertext ) throw (uno::RuntimeException)
|
||||
{
|
||||
|
|
|
@ -35,6 +35,7 @@ getAsConst( const OUString& rString )
|
|||
return aUgly[ nIdx ].getStr();
|
||||
}
|
||||
|
||||
/// @throws uno::RuntimeException
|
||||
static css::uno::Reference<css::accessibility::XAccessibleImage>
|
||||
getImage( AtkImage *pImage ) throw (uno::RuntimeException)
|
||||
{
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
/// @throws uno::RuntimeException
|
||||
static css::uno::Reference<css::accessibility::XAccessibleSelection>
|
||||
getSelection( AtkSelection *pSelection ) throw (uno::RuntimeException)
|
||||
{
|
||||
|
|
|
@ -48,6 +48,7 @@ getAsConst( const OUString& rString )
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
/// @throws uno::RuntimeException
|
||||
static css::uno::Reference<css::accessibility::XAccessibleTable>
|
||||
getTable( AtkTable *pTable ) throw (uno::RuntimeException)
|
||||
{
|
||||
|
|
|
@ -133,6 +133,7 @@ adjust_boundaries( css::uno::Reference<css::accessibility::XAccessibleText> cons
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
/// @throws uno::RuntimeException
|
||||
static css::uno::Reference<css::accessibility::XAccessibleText>
|
||||
getText( AtkText *pText ) throw (uno::RuntimeException)
|
||||
{
|
||||
|
@ -149,6 +150,7 @@ static css::uno::Reference<css::accessibility::XAccessibleText>
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
/// @throws uno::RuntimeException
|
||||
static css::uno::Reference<css::accessibility::XAccessibleTextMarkup>
|
||||
getTextMarkup( AtkText *pText ) throw (uno::RuntimeException)
|
||||
{
|
||||
|
@ -165,6 +167,7 @@ static css::uno::Reference<css::accessibility::XAccessibleTextMarkup>
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
/// @throws uno::RuntimeException
|
||||
static css::uno::Reference<css::accessibility::XAccessibleTextAttributes>
|
||||
getTextAttributes( AtkText *pText ) throw (uno::RuntimeException)
|
||||
{
|
||||
|
@ -181,6 +184,7 @@ static css::uno::Reference<css::accessibility::XAccessibleTextAttributes>
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
/// @throws uno::RuntimeException
|
||||
static css::uno::Reference<css::accessibility::XAccessibleMultiLineText>
|
||||
getMultiLineText( AtkText *pText ) throw (uno::RuntimeException)
|
||||
{
|
||||
|
|
|
@ -207,6 +207,7 @@ String2Float( uno::Any& rAny, const gchar * value )
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
/// @throws uno::RuntimeException
|
||||
static css::uno::Reference<css::accessibility::XAccessibleComponent>
|
||||
getComponent( AtkText *pText ) throw (uno::RuntimeException)
|
||||
{
|
||||
|
|
|
@ -139,36 +139,50 @@ class DocumentFocusListener :
|
|||
std::set< uno::Reference< uno::XInterface > > m_aRefList;
|
||||
|
||||
public:
|
||||
/// @trhows lang::IndexOutOfBoundsException
|
||||
/// @throws uno::RuntimeException
|
||||
void attachRecursive(
|
||||
const uno::Reference< accessibility::XAccessible >& xAccessible
|
||||
) throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
|
||||
|
||||
/// @trhows lang::IndexOutOfBoundsException
|
||||
/// @throws uno::RuntimeException
|
||||
void attachRecursive(
|
||||
const uno::Reference< accessibility::XAccessible >& xAccessible,
|
||||
const uno::Reference< accessibility::XAccessibleContext >& xContext
|
||||
) throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
|
||||
|
||||
/// @trhows lang::IndexOutOfBoundsException
|
||||
/// @throws uno::RuntimeException
|
||||
void attachRecursive(
|
||||
const uno::Reference< accessibility::XAccessible >& xAccessible,
|
||||
const uno::Reference< accessibility::XAccessibleContext >& xContext,
|
||||
const uno::Reference< accessibility::XAccessibleStateSet >& xStateSet
|
||||
) throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
|
||||
|
||||
/// @trhows lang::IndexOutOfBoundsException
|
||||
/// @throws uno::RuntimeException
|
||||
void detachRecursive(
|
||||
const uno::Reference< accessibility::XAccessible >& xAccessible
|
||||
) throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
|
||||
|
||||
/// @trhows lang::IndexOutOfBoundsException
|
||||
/// @throws uno::RuntimeException
|
||||
void detachRecursive(
|
||||
const uno::Reference< accessibility::XAccessible >& xAccessible,
|
||||
const uno::Reference< accessibility::XAccessibleContext >& xContext
|
||||
) throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
|
||||
|
||||
/// @trhows lang::IndexOutOfBoundsException
|
||||
/// @throws uno::RuntimeException
|
||||
void detachRecursive(
|
||||
const uno::Reference< accessibility::XAccessible >& xAccessible,
|
||||
const uno::Reference< accessibility::XAccessibleContext >& xContext,
|
||||
const uno::Reference< accessibility::XAccessibleStateSet >& xStateSet
|
||||
) throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
|
||||
|
||||
/// @trhows lang::IndexOutOfBoundsException
|
||||
/// @throws uno::RuntimeException
|
||||
static uno::Reference< accessibility::XAccessible > getAccessible(const lang::EventObject& aEvent )
|
||||
throw (lang::IndexOutOfBoundsException, uno::RuntimeException);
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
/// @throws uno::RuntimeException
|
||||
static css::uno::Reference<css::accessibility::XAccessibleValue>
|
||||
getValue( AtkValue *pValue ) throw (uno::RuntimeException)
|
||||
{
|
||||
|
|
|
@ -49,12 +49,16 @@ class SalGtkPicker
|
|||
osl::Mutex m_rbHelperMtx;
|
||||
GtkWidget *m_pDialog;
|
||||
protected:
|
||||
/// @throws css::uno::RuntimeException
|
||||
void SAL_CALL implsetTitle( const OUString& aTitle )
|
||||
throw( css::uno::RuntimeException );
|
||||
|
||||
/// @throws css::lang::IllegalArgumentException
|
||||
/// @throws css::uno::RuntimeException
|
||||
void SAL_CALL implsetDisplayDirectory( const OUString& rDirectory )
|
||||
throw( css::lang::IllegalArgumentException, css::uno::RuntimeException );
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
OUString SAL_CALL implgetDisplayDirectory( )
|
||||
throw( css::uno::RuntimeException );
|
||||
OUString uritounicode(const gchar *pIn);
|
||||
|
|
|
@ -134,6 +134,7 @@ public:
|
|||
virtual void SAL_CALL cancel( ) throw( css::uno::RuntimeException, std::exception ) override;
|
||||
|
||||
// XEventListener
|
||||
/// @throws css::uno::RuntimeException
|
||||
virtual void SAL_CALL disposing( const css::lang::EventObject &rEvent ) throw( css::uno::RuntimeException );
|
||||
using cppu::WeakComponentImplHelperBase::disposing;
|
||||
|
||||
|
@ -144,35 +145,57 @@ public:
|
|||
|
||||
private Q_SLOTS:
|
||||
// XExecutableDialog functions
|
||||
/// @throws css::uno::RuntimeException
|
||||
void setTitleSlot( const OUString &rTitle ) throw( css::uno::RuntimeException ) { return setTitle( rTitle ); }
|
||||
/// @throws css::uno::RuntimeException
|
||||
sal_Int16 executeSlot() throw( css::uno::RuntimeException ) { return execute(); }
|
||||
|
||||
// XFilePicker functions
|
||||
/// @throws css::uno::RuntimeException
|
||||
void setMultiSelectionModeSlot( bool bMode ) throw( css::uno::RuntimeException ) { return setMultiSelectionMode( bMode ); }
|
||||
/// @throws css::uno::RuntimeException
|
||||
void setDefaultNameSlot( const OUString &rName ) throw( css::uno::RuntimeException ) { return setDefaultName( rName ); }
|
||||
/// @throws css::uno::RuntimeException
|
||||
void setDisplayDirectorySlot( const OUString &rDirectory ) throw( css::uno::RuntimeException ) { return setDisplayDirectory( rDirectory ); }
|
||||
/// @throws css::uno::RuntimeException
|
||||
OUString getDisplayDirectorySlot() throw( css::uno::RuntimeException ) { return getDisplayDirectory(); }
|
||||
/// @throws css::uno::RuntimeException
|
||||
css::uno::Sequence< OUString > getFilesSlot() throw( css::uno::RuntimeException ) { return getFiles(); }
|
||||
|
||||
// XFilterManager functions
|
||||
/// @throws css::lang::IllegalArgumentException
|
||||
/// @throws css::uno::RuntimeException
|
||||
void appendFilterSlot( const OUString &rTitle, const OUString &rFilter ) throw( css::lang::IllegalArgumentException, css::uno::RuntimeException ) { return appendFilter( rTitle, rFilter ); }
|
||||
/// @throws css::lang::IllegalArgumentException
|
||||
/// @throws css::uno::RuntimeException
|
||||
void setCurrentFilterSlot( const OUString &rTitle ) throw( css::lang::IllegalArgumentException, css::uno::RuntimeException ) { return setCurrentFilter( rTitle ); }
|
||||
/// @throws css::uno::RuntimeException
|
||||
OUString getCurrentFilterSlot() throw( css::uno::RuntimeException ) { return getCurrentFilter(); }
|
||||
|
||||
// XFilterGroupManager functions
|
||||
/// @throws css::lang::IllegalArgumentException
|
||||
/// @throws css::uno::RuntimeException
|
||||
void appendFilterGroupSlot( const OUString &rGroupTitle, const css::uno::Sequence< css::beans::StringPair > &rFilters ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException) { return appendFilterGroup( rGroupTitle, rFilters ); }
|
||||
|
||||
// XFilePickerControlAccess functions
|
||||
/// @throws css::uno::RuntimeException
|
||||
void setValueSlot( sal_Int16 nControlId, sal_Int16 nControlAction, const css::uno::Any &rValue ) throw (css::uno::RuntimeException) { return setValue( nControlId, nControlAction, rValue ); }
|
||||
/// @throws css::uno::RuntimeException
|
||||
css::uno::Any getValueSlot( sal_Int16 nControlId, sal_Int16 nControlAction ) throw (css::uno::RuntimeException) { return getValue( nControlId, nControlAction ); }
|
||||
/// @throws css::uno::RuntimeException
|
||||
void enableControlSlot( sal_Int16 nControlId, bool bEnable ) throw( css::uno::RuntimeException ) { return enableControl( nControlId, bEnable ); }
|
||||
/// @throws css::uno::RuntimeException
|
||||
void setLabelSlot( sal_Int16 nControlId, const OUString &rLabel ) throw (css::uno::RuntimeException) { return setLabel( nControlId, rLabel ); }
|
||||
/// @throws css::uno::RuntimeException
|
||||
OUString getLabelSlot( sal_Int16 nControlId ) throw (css::uno::RuntimeException) { return getLabel( nControlId ); }
|
||||
|
||||
// XFilePicker2 functions
|
||||
/// @throws css::uno::RuntimeException
|
||||
css::uno::Sequence< OUString > getSelectedFilesSlot() throw (css::uno::RuntimeException) { return getSelectedFiles(); }
|
||||
|
||||
// XInitialization
|
||||
/// @throws css::uno::Exception
|
||||
/// @throws css::uno::RuntimeException
|
||||
void initializeSlot( const css::uno::Sequence< css::uno::Any > &rArguments ) throw( css::uno::Exception, css::uno::RuntimeException ) { return initialize( rArguments ); }
|
||||
|
||||
Q_SIGNALS:
|
||||
|
|
Loading…
Reference in a new issue