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
491f9a6c
Kaydet (Commit)
491f9a6c
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, stoc
Change-Id: I8c7d5088aed055c3734165343189233b3124c9be
üst
ebcc8707
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
34 additions
and
5 deletions
+34
-5
base.hxx
stoc/source/corereflection/base.hxx
+5
-0
crefl.cxx
stoc/source/corereflection/crefl.cxx
+1
-1
invocation.cxx
stoc/source/invocation/invocation.cxx
+1
-1
iafactory.cxx
stoc/source/invocation_adapterfactory/iafactory.cxx
+1
-1
javaloader.cxx
stoc/source/javaloader/javaloader.cxx
+2
-0
javavm.cxx
stoc/source/javavm/javavm.cxx
+4
-1
proxyfac.cxx
stoc/source/proxy_factory/proxyfac.cxx
+1
-1
convert.cxx
stoc/source/typeconv/convert.cxx
+2
-0
UriReference.hxx
stoc/source/uriproc/UriReference.hxx
+17
-0
No files found.
stoc/source/corereflection/base.hxx
Dosyayı görüntüle @
491f9a6c
...
...
@@ -97,8 +97,11 @@ class IdlReflectionServiceImpl
inline
css
::
uno
::
Reference
<
css
::
reflection
::
XIdlClass
>
constructClass
(
typelib_TypeDescription
*
pTypeDescr
);
public
:
/// @throws css::uno::RuntimeException
const
css
::
uno
::
Mapping
&
getCpp2Uno
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
const
css
::
uno
::
Mapping
&
getUno2Cpp
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
uno_Interface
*
mapToUno
(
const
css
::
uno
::
Any
&
rObj
,
typelib_InterfaceTypeDescription
*
pTo
)
throw
(
css
::
uno
::
RuntimeException
);
// ctor/ dtor
...
...
@@ -130,7 +133,9 @@ public:
virtual
css
::
uno
::
Any
SAL_CALL
getByHierarchicalName
(
const
OUString
&
rName
)
throw
(
css
::
container
::
NoSuchElementException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
sal_Bool
SAL_CALL
hasByHierarchicalName
(
const
OUString
&
rName
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
/// @throws css::uno::RuntimeException
css
::
uno
::
Reference
<
css
::
reflection
::
XIdlClass
>
forType
(
typelib_TypeDescription
*
pTypeDescr
)
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
css
::
uno
::
Reference
<
css
::
reflection
::
XIdlClass
>
forType
(
typelib_TypeDescriptionReference
*
pRef
)
throw
(
css
::
uno
::
RuntimeException
);
};
...
...
stoc/source/corereflection/crefl.cxx
Dosyayı görüntüle @
491f9a6c
...
...
@@ -406,7 +406,7 @@ uno_Interface * IdlReflectionServiceImpl::mapToUno(
static_cast
<
XWeak
*>
(
static_cast
<
OWeakObject
*>
(
this
))
);
}
/// @throws css::uno::Exception
Reference
<
XInterface
>
SAL_CALL
IdlReflectionServiceImpl_create
(
const
Reference
<
XComponentContext
>
&
xContext
)
throw
(
css
::
uno
::
Exception
)
...
...
stoc/source/invocation/invocation.cxx
Dosyayı görüntüle @
491f9a6c
...
...
@@ -1139,7 +1139,7 @@ Reference<XInterface> InvocationService::createInstanceWithArguments(
}
}
/// @throws RuntimeException
Reference
<
XInterface
>
SAL_CALL
InvocationService_CreateInstance
(
const
Reference
<
XComponentContext
>
&
xCtx
)
throw
(
RuntimeException
)
{
...
...
stoc/source/invocation_adapterfactory/iafactory.cxx
Dosyayı görüntüle @
491f9a6c
...
...
@@ -894,7 +894,7 @@ Sequence< OUString > FactoryImpl::getSupportedServiceNames()
return
invadp_getSupportedServiceNames
();
}
/// @throws Exception
static
Reference
<
XInterface
>
SAL_CALL
FactoryImpl_create
(
const
Reference
<
XComponentContext
>
&
xContext
)
throw
(
Exception
)
...
...
stoc/source/javaloader/javaloader.cxx
Dosyayı görüntüle @
491f9a6c
...
...
@@ -100,6 +100,7 @@ class JavaComponentLoader : public WeakImplHelper<XImplementationLoader, XServic
public
:
/// @throws RuntimeException
explicit
JavaComponentLoader
(
const
css
::
uno
::
Reference
<
XComponentContext
>
&
xCtx
)
throw
(
RuntimeException
);
...
...
@@ -356,6 +357,7 @@ static Mutex & getInitMutex()
return
*
pMutex
;
}
/// @throws Exception
css
::
uno
::
Reference
<
XInterface
>
SAL_CALL
JavaComponentLoader_CreateInstance
(
const
css
::
uno
::
Reference
<
XComponentContext
>
&
xCtx
)
throw
(
Exception
)
{
css
::
uno
::
Reference
<
XInterface
>
xRet
;
...
...
stoc/source/javavm/javavm.cxx
Dosyayı görüntüle @
491f9a6c
...
...
@@ -265,6 +265,7 @@ bool askForRetry(css::uno::Any const & rException)
// Only gets the properties if the "Proxy Server" entry in the option dialog is
// set to manual (i.e. not to none)
/// @throws css::uno::Exception
void
getINetPropsFromConfig
(
stoc_javavm
::
JVM
*
pjvm
,
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiComponentFactory
>
&
xSMgr
,
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
&
xCtx
)
throw
(
css
::
uno
::
Exception
)
...
...
@@ -346,6 +347,7 @@ void getINetPropsFromConfig(stoc_javavm::JVM * pjvm,
xConfRegistry_simple
->
close
();
}
/// @throws css::uno::Exception
void
getDefaultLocaleFromConfig
(
stoc_javavm
::
JVM
*
pjvm
,
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiComponentFactory
>
&
xSMgr
,
...
...
@@ -449,7 +451,7 @@ void getDefaultLocaleFromConfig(
xConfRegistry_simple
->
close
();
}
/// @throws css::uno::Exception
void
getJavaPropsFromSafetySettings
(
stoc_javavm
::
JVM
*
pjvm
,
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiComponentFactory
>
&
xSMgr
,
...
...
@@ -536,6 +538,7 @@ void setTimeZone(stoc_javavm::JVM * pjvm) throw() {
pjvm
->
pushProp
(
"user.timezone=ECT"
);
}
/// @throws css::uno::Exception
void
initVMConfiguration
(
stoc_javavm
::
JVM
*
pjvm
,
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiComponentFactory
>
&
xSMgr
,
...
...
stoc/source/proxy_factory/proxyfac.cxx
Dosyayı görüntüle @
491f9a6c
...
...
@@ -438,7 +438,7 @@ Sequence< OUString > FactoryImpl::getSupportedServiceNames()
return
proxyfac_getSupportedServiceNames
();
}
/// @throws Exception
Reference
<
XInterface
>
SAL_CALL
proxyfac_create
(
SAL_UNUSED_PARAMETER
Reference
<
XComponentContext
>
const
&
)
throw
(
Exception
)
...
...
stoc/source/typeconv/convert.cxx
Dosyayı görüntüle @
491f9a6c
...
...
@@ -243,9 +243,11 @@ static bool getHyperValue( sal_Int64 & rnVal, const OUString & rStr )
class
TypeConverter_Impl
:
public
WeakImplHelper
<
XTypeConverter
,
XServiceInfo
>
{
// ...misc helpers...
/// @throws CannotConvertException
static
sal_Int64
toHyper
(
const
Any
&
rAny
,
sal_Int64
min
,
sal_uInt64
max
=
SAL_UINT64_MAX
)
throw
(
CannotConvertException
);
/// @throws CannotConvertException
static
double
toDouble
(
const
Any
&
rAny
,
double
min
=
-
DBL_MAX
,
double
max
=
DBL_MAX
)
throw
(
CannotConvertException
);
...
...
stoc/source/uriproc/UriReference.hxx
Dosyayı görüntüle @
491f9a6c
...
...
@@ -37,43 +37,60 @@ public:
~
UriReference
();
/// @throws css::uno::RuntimeException
OUString
getUriReference
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
bool
isAbsolute
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
const
OUString
&
getScheme
()
throw
(
css
::
uno
::
RuntimeException
)
{
return
m_scheme
;}
/// @throws css::uno::RuntimeException
OUString
getSchemeSpecificPart
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
bool
isHierarchical
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
bool
hasAuthority
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
OUString
getAuthority
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
OUString
getPath
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
bool
hasRelativePath
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
sal_Int32
getPathSegmentCount
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
OUString
getPathSegment
(
sal_Int32
index
)
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
bool
hasQuery
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
OUString
getQuery
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
bool
hasFragment
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
OUString
getFragment
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
void
setFragment
(
OUString
const
&
fragment
)
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
void
clearFragment
()
throw
(
css
::
uno
::
RuntimeException
);
osl
::
Mutex
m_mutex
;
...
...
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