New loplugin:dynexcspec: Add @throws documentation, basctl
Change-Id: I34a1b868176f26c1bab841547b97bca56113e47e
This commit is contained in:
@@ -28,6 +28,7 @@ namespace basctl
|
||||
class SIDEModel : public SfxBaseModel,
|
||||
public com::sun::star::lang::XServiceInfo
|
||||
{
|
||||
/// @throws css::io::IOException
|
||||
static void notImplemented() throw ( css::io::IOException );
|
||||
public:
|
||||
explicit SIDEModel(SfxObjectShell *pObjSh = nullptr);
|
||||
@@ -64,6 +65,7 @@ public:
|
||||
static OUString getImplementationName_Static();
|
||||
};
|
||||
|
||||
/// @throws com::sun::star::uno::Exception
|
||||
css::uno::Reference< css::uno::XInterface > SAL_CALL SIDEModel_createInstance(
|
||||
const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
|
||||
throw( com::sun::star::uno::Exception );
|
||||
|
@@ -81,6 +81,8 @@ namespace basctl
|
||||
bool bChooseOnly, const OUString& rMacroDesc )
|
||||
{ return ChooseMacro(rxLimitToDocument, css::uno::Reference< css::frame::XFrame >(), bChooseOnly, rMacroDesc); }
|
||||
|
||||
/// @throws css::container::NoSuchElementException
|
||||
/// @throws css::uno::RuntimeException
|
||||
css::uno::Sequence< OUString > GetMethodNames(
|
||||
const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rModName )
|
||||
throw (css::container::NoSuchElementException, css::uno::RuntimeException, std::exception);
|
||||
@@ -93,6 +95,10 @@ namespace basctl
|
||||
/** renames a dialog
|
||||
|
||||
Will show an error message when renaming fails because the new name is already used.
|
||||
|
||||
@throws css::container::ElementExistException
|
||||
@throws css::container::NoSuchElementException
|
||||
@throws css::uno::RuntimeException
|
||||
*/
|
||||
bool RenameDialog(
|
||||
vcl::Window* pErrorParent, const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rOldName, const OUString& rNewName )
|
||||
|
@@ -115,15 +115,22 @@ public:
|
||||
css::uno::Reference< css::awt::XControl > GetControl() const;
|
||||
|
||||
virtual void PositionAndSizeChange( const css::beans::PropertyChangeEvent& evt );
|
||||
/// @throws css::container::NoSuchElementException
|
||||
/// @throws css::uno::RuntimeException
|
||||
void SAL_CALL NameChange( const css::beans::PropertyChangeEvent& evt ) throw(css::container::NoSuchElementException, css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
void SAL_CALL TabIndexChange( const css::beans::PropertyChangeEvent& evt ) throw( css::uno::RuntimeException);
|
||||
|
||||
// PropertyChangeListener
|
||||
/// @throws css::uno::RuntimeException
|
||||
void SAL_CALL _propertyChange(const css::beans::PropertyChangeEvent& evt) throw (css::uno::RuntimeException, std::exception);
|
||||
|
||||
// ContainerListener
|
||||
/// @throws css::uno::RuntimeException
|
||||
void SAL_CALL _elementInserted( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
void SAL_CALL _elementReplaced( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
void SAL_CALL _elementRemoved( const css::container::ContainerEvent& Event ) throw(css::uno::RuntimeException);
|
||||
|
||||
virtual void SetLayer(SdrLayerID nLayer) override;
|
||||
|
Reference in New Issue
Block a user