Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
2527c001
Kaydet (Commit)
2527c001
authored
Ock 19, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
New loplugin:dynexcspec: Add @throws documentation, svtools
Change-Id: I274142728ea25be094343e3489758314e371a857
üst
9859ee7b
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
40 additions
and
3 deletions
+40
-3
accessibleruler.hxx
include/svtools/accessibleruler.hxx
+6
-2
popupmenucontrollerbase.hxx
include/svtools/popupmenucontrollerbase.hxx
+1
-0
toolbarmenu.hxx
include/svtools/toolbarmenu.hxx
+1
-0
unoevent.hxx
include/svtools/unoevent.hxx
+10
-1
toolbarmenuimp.hxx
svtools/source/control/toolbarmenuimp.hxx
+14
-0
valueimp.hxx
svtools/source/control/valueimp.hxx
+1
-0
graphicunofactory.cxx
svtools/source/graphic/graphicunofactory.cxx
+1
-0
treecontrolpeer.hxx
svtools/source/uno/treecontrolpeer.hxx
+4
-0
unoevent.cxx
svtools/source/uno/unoevent.cxx
+1
-0
unoimap.cxx
svtools/source/uno/unoimap.cxx
+1
-0
No files found.
include/svtools/accessibleruler.hxx
Dosyayı görüntüle @
2527c001
...
...
@@ -68,7 +68,7 @@ public:
protected
:
virtual
~
SvtRulerAccessible
()
override
;
public
:
/// @throws css::uno::RuntimeException
bool
SAL_CALL
isVisible
()
throw
(
css
::
uno
::
RuntimeException
);
...
...
@@ -166,9 +166,13 @@ public:
protected
:
/// @Return the object's current bounding box relative to the desktop.
///
/// @throws css::uno::RuntimeException
Rectangle
GetBoundingBoxOnScreen
()
throw
(
css
::
uno
::
RuntimeException
);
/// @Return the object's current bounding box relative to the parent object.
///
/// @throws css::uno::RuntimeException
Rectangle
GetBoundingBox
()
throw
(
css
::
uno
::
RuntimeException
);
...
...
@@ -177,7 +181,7 @@ protected:
/// @returns true if it's disposed or in disposing
inline
bool
IsAlive
()
const
;
///
throws the exception
DisposedException if it's not alive
///
@throws
DisposedException if it's not alive
void
ThrowExceptionIfNotAlive
()
throw
(
css
::
lang
::
DisposedException
);
private
:
...
...
include/svtools/popupmenucontrollerbase.hxx
Dosyayı görüntüle @
2527c001
...
...
@@ -98,6 +98,7 @@ namespace svt
void
dispatchCommand
(
const
OUString
&
sCommandURL
,
const
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>&
rArgs
,
const
OUString
&
sTarget
=
OUString
()
);
protected
:
/// @throws css::uno::RuntimeException
void
throwIfDisposed
()
throw
(
css
::
uno
::
RuntimeException
);
/** helper method to cause statusChanged is called once for the given command url */
...
...
include/svtools/toolbarmenu.hxx
Dosyayı görüntüle @
2527c001
...
...
@@ -60,6 +60,7 @@ protected:
void
EndPopupMode
();
// Forwarded from XStatusListener (subclasses must override this one to get the status updates):
/// @throws css::uno::RuntimeException
virtual
void
statusChanged
(
const
css
::
frame
::
FeatureStateEvent
&
Event
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
);
private
:
...
...
include/svtools/unoevent.hxx
Dosyayı görüntüle @
2527c001
...
...
@@ -127,6 +127,11 @@ public:
protected
:
/// Must be implemented in subclass.
///
/// @throws css::lang::IllegalArgumentException
/// @throws css::container::NoSuchElementException
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
virtual
void
replaceByName
(
const
sal_uInt16
nEvent
,
/// item ID of event
const
SvxMacro
&
rMacro
)
/// event (will be copied)
...
...
@@ -137,6 +142,10 @@ protected:
css
::
uno
::
RuntimeException
)
=
0
;
/// Must be implemented in subclass.
///
/// @throws css::container::NoSuchElementException
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
virtual
void
getByName
(
SvxMacro
&
rMacro
,
const
sal_uInt16
nEvent
)
...
...
@@ -262,7 +271,7 @@ protected:
/// do we have an event?
/// return true: we have a macro for the event
/// return false: no macro; getByName() will return an empty macro
///
IllegalArgumentException:
the event is not supported
///
@throws css::lang::IllegalArgumentException if
the event is not supported
bool
hasById
(
const
sal_uInt16
nEvent
)
const
/// item ID of event
throw
(
...
...
svtools/source/control/toolbarmenuimp.hxx
Dosyayı görüntüle @
2527c001
...
...
@@ -86,7 +86,10 @@ public:
const
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessibleContext
>&
GetAccessible
();
/// @throws css::uno::RuntimeException
sal_Int32
getAccessibleChildCount
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::lang::IndexOutOfBoundsException
/// @throws css::uno::RuntimeException
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessible
>
getAccessibleChild
(
sal_Int32
index
)
throw
(
css
::
lang
::
IndexOutOfBoundsException
,
css
::
uno
::
RuntimeException
);
bool
HasCheck
()
const
...
...
@@ -174,6 +177,8 @@ private:
state of being disposed). If that is the case then
DisposedException is thrown to inform the (indirect) caller of the
foul deed.
@throws css::lang::DisposedException
*/
void
ThrowIfDisposed
()
throw
(
css
::
lang
::
DisposedException
);
};
...
...
@@ -261,11 +266,20 @@ struct ToolbarMenu_Impl
void
fireAccessibleEvent
(
short
nEventId
,
const
css
::
uno
::
Any
&
rOldValue
,
const
css
::
uno
::
Any
&
rNewValue
);
/// @throws css::uno::RuntimeException
sal_Int32
getAccessibleChildCount
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::lang::IndexOutOfBoundsException
/// @throws css::uno::RuntimeException
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessible
>
getAccessibleChild
(
sal_Int32
index
)
throw
(
css
::
lang
::
IndexOutOfBoundsException
,
css
::
uno
::
RuntimeException
);
/// @throws css::lang::IndexOutOfBoundsException
/// @throws css::uno::RuntimeException
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessible
>
getAccessibleChild
(
Control
*
pControl
,
sal_Int32
childIndex
)
throw
(
css
::
lang
::
IndexOutOfBoundsException
,
css
::
uno
::
RuntimeException
);
/// @throws css::lang::IndexOutOfBoundsException
/// @throws css::uno::RuntimeException
void
selectAccessibleChild
(
sal_Int32
nChildIndex
)
throw
(
css
::
lang
::
IndexOutOfBoundsException
,
css
::
uno
::
RuntimeException
);
/// @throws css::lang::IndexOutOfBoundsException
/// @throws css::uno::RuntimeException
bool
isAccessibleChildSelected
(
sal_Int32
nChildIndex
)
throw
(
css
::
lang
::
IndexOutOfBoundsException
,
css
::
uno
::
RuntimeException
);
void
clearAccessibleSelection
();
...
...
svtools/source/control/valueimp.hxx
Dosyayı görüntüle @
2527c001
...
...
@@ -178,6 +178,7 @@ private:
state of being disposed). If that is the case then
DisposedException is thrown to inform the (indirect) caller of the
foul deed.
@throws css::lang::DisposedException
*/
void
ThrowIfDisposed
()
throw
(
css
::
lang
::
DisposedException
);
...
...
svtools/source/graphic/graphicunofactory.cxx
Dosyayı görüntüle @
2527c001
...
...
@@ -39,6 +39,7 @@ class GObjectImpl : public GObjectAccess_BASE
::
osl
::
Mutex
m_aMutex
;
std
::
unique_ptr
<
GraphicObject
>
mpGObject
;
public
:
/// @throws uno::RuntimeException
explicit
GObjectImpl
(
uno
::
Sequence
<
uno
::
Any
>
const
&
args
)
throw
(
uno
::
RuntimeException
,
std
::
exception
);
// XGraphicObject
...
...
svtools/source/uno/treecontrolpeer.hxx
Dosyayı görüntüle @
2527c001
...
...
@@ -113,6 +113,7 @@ public:
css
::
uno
::
Any
SAL_CALL
getProperty
(
const
OUString
&
PropertyName
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
private
:
/// @throws css::lang::IllegalArgumentException
UnoTreeListEntry
*
getEntry
(
const
css
::
uno
::
Reference
<
css
::
awt
::
tree
::
XTreeNode
>&
xNode
,
bool
bThrow
=
true
)
throw
(
css
::
lang
::
IllegalArgumentException
);
void
disposeControl
();
...
...
@@ -132,7 +133,10 @@ private:
static
OUString
getEntryString
(
const
css
::
uno
::
Any
&
rValue
);
/// @throws css::uno::RuntimeException
UnoTreeListBoxImpl
&
getTreeListBoxOrThrow
()
const
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
/// @throws css::lang::IllegalArgumentException
void
ChangeNodesSelection
(
const
css
::
uno
::
Any
&
rSelection
,
bool
bSelect
,
bool
bSetSelection
)
throw
(
css
::
uno
::
RuntimeException
,
css
::
lang
::
IllegalArgumentException
);
void
onChangeDataModel
(
UnoTreeListBoxImpl
&
rTree
,
const
css
::
uno
::
Reference
<
css
::
awt
::
tree
::
XTreeDataModel
>&
xDataModel
);
...
...
svtools/source/uno/unoevent.cxx
Dosyayı görüntüle @
2527c001
...
...
@@ -134,6 +134,7 @@ void getAnyFromMacro(Any& rAny, const SvxMacro& rMacro)
}
}
/// @throws IllegalArgumentException
void
getMacroFromAny
(
SvxMacro
&
rMacro
,
const
Any
&
rAny
)
...
...
svtools/source/uno/unoimap.cxx
Dosyayı görüntüle @
2527c001
...
...
@@ -516,6 +516,7 @@ public:
virtual
~
SvUnoImageMap
()
override
;
bool
fillImageMap
(
ImageMap
&
rMap
)
const
;
/// @throws IllegalArgumentException
static
SvUnoImageMapObject
*
getObject
(
const
Any
&
aElement
)
throw
(
IllegalArgumentException
);
UNO3_GETIMPLEMENTATION_DECL
(
SvUnoImageMap
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment