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
5cd46e2b
Kaydet (Commit)
5cd46e2b
authored
Nis 02, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use boost::noncopyable
Change-Id: I9cba1299c54f196a5a7b35384f4c15bbbea273bb
üst
d59fe933
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
43 additions
and
52 deletions
+43
-52
Library_stocservices.mk
stoc/Library_stocservices.mk
+2
-0
implreg.cxx
stoc/source/implementationregistration/implreg.cxx
+2
-3
interact.cxx
stoc/source/javavm/interact.cxx
+3
-4
javavm.cxx
stoc/source/javavm/javavm.cxx
+3
-8
ExternalUriReferenceTranslator.cxx
stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
+5
-5
UriReferenceFactory.cxx
stoc/source/uriproc/UriReferenceFactory.cxx
+9
-9
UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
...rce/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
+7
-9
UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
...rce/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
+7
-9
VndSunStarPkgUrlReferenceFactory.cxx
stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
+5
-5
No files found.
stoc/Library_stocservices.mk
Dosyayı görüntüle @
5cd46e2b
...
...
@@ -23,6 +23,8 @@ $(eval $(call gb_Library_use_libraries,stocservices,\
$(gb_UWINAPI) \
))
$(eval $(call gb_Library_use_external,stocservices,boost_headers))
$(eval $(call gb_Library_set_componentfile,stocservices,stoc/util/stocservices))
$(eval $(call gb_Library_add_exception_objects,stocservices,\
...
...
stoc/source/implementationregistration/implreg.cxx
Dosyayı görüntüle @
5cd46e2b
...
...
@@ -21,6 +21,7 @@
#include <string.h>
#include <list>
#include <boost/noncopyable.hpp>
#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/weak.hxx>
#include <cppuhelper/implbase3.hxx>
...
...
@@ -64,7 +65,7 @@ using namespace osl;
namespace
{
struct
StringPool
struct
StringPool
:
private
boost
::
noncopyable
{
OUString
slash_UNO_slash_REGISTRY_LINKS
;
OUString
slash_IMPLEMENTATIONS
;
...
...
@@ -90,8 +91,6 @@ struct StringPool
,
com_sun_star_registry_SimpleRegistry
(
"com.sun.star.registry.SimpleRegistry"
)
,
Registry
(
"Registry"
)
{}
private
:
StringPool
(
const
StringPool
&
);
};
const
StringPool
&
spool
()
...
...
stoc/source/javavm/interact.cxx
Dosyayı görüntüle @
5cd46e2b
...
...
@@ -20,6 +20,7 @@
#include "interact.hxx"
#include "boost/noncopyable.hpp"
#include "com/sun/star/java/JavaDisabledException.hpp"
#include "com/sun/star/java/JavaVMCreationFailureException.hpp"
#include "com/sun/star/task/XInteractionAbort.hpp"
...
...
@@ -33,7 +34,8 @@ using stoc_javavm::InteractionRequest;
namespace
{
class
AbortContinuation
:
public
cppu
::
WeakImplHelper1
<
css
::
task
::
XInteractionAbort
>
public
cppu
::
WeakImplHelper1
<
css
::
task
::
XInteractionAbort
>
,
private
boost
::
noncopyable
{
public
:
inline
AbortContinuation
()
{}
...
...
@@ -41,9 +43,6 @@ public:
virtual
void
SAL_CALL
select
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
{}
private
:
AbortContinuation
(
AbortContinuation
&
);
// not implemented
void
operator
=
(
AbortContinuation
);
// not implemented
virtual
inline
~
AbortContinuation
()
{}
};
...
...
stoc/source/javavm/javavm.cxx
Dosyayı görüntüle @
5cd46e2b
...
...
@@ -119,16 +119,14 @@ class NoJavaIniException: public css::uno::Exception
};
class
SingletonFactory
:
private
cppu
::
WeakImplHelper1
<
css
::
lang
::
XEventListener
>
private
cppu
::
WeakImplHelper1
<
css
::
lang
::
XEventListener
>
,
private
boost
::
noncopyable
{
public
:
static
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
getSingleton
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
const
&
rContext
);
private
:
SingletonFactory
(
SingletonFactory
&
);
// not implemented
void
operator
=
(
SingletonFactory
);
// not implemented
inline
SingletonFactory
()
{}
virtual
inline
~
SingletonFactory
()
{}
...
...
@@ -545,7 +543,7 @@ void initVMConfiguration(
}
class
DetachCurrentThread
{
class
DetachCurrentThread
:
private
boost
::
noncopyable
{
public
:
explicit
DetachCurrentThread
(
JavaVM
*
jvm
)
:
m_jvm
(
jvm
)
{}
...
...
@@ -556,9 +554,6 @@ public:
}
private
:
DetachCurrentThread
(
DetachCurrentThread
&
);
// not defined
void
operator
=
(
DetachCurrentThread
&
);
// not defined
JavaVM
*
m_jvm
;
};
...
...
stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
Dosyayı görüntüle @
5cd46e2b
...
...
@@ -20,6 +20,7 @@
#include "stocservices.hxx"
#include "boost/noncopyable.hpp"
#include "com/sun/star/lang/XServiceInfo.hpp"
#include "com/sun/star/uno/Exception.hpp"
#include "com/sun/star/uno/Reference.hxx"
...
...
@@ -42,8 +43,10 @@
namespace
{
class
Translator
:
public
cppu
::
WeakImplHelper2
<
css
::
lang
::
XServiceInfo
,
css
::
uri
::
XExternalUriReferenceTranslator
>
class
Translator
:
public
cppu
::
WeakImplHelper2
<
css
::
lang
::
XServiceInfo
,
css
::
uri
::
XExternalUriReferenceTranslator
>
,
private
boost
::
noncopyable
{
public
:
explicit
Translator
(
...
...
@@ -68,9 +71,6 @@ public:
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
private
:
Translator
(
Translator
&
);
// not implemented
void
operator
=
(
Translator
);
// not implemented
virtual
~
Translator
()
{}
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
m_context
;
...
...
stoc/source/uriproc/UriReferenceFactory.cxx
Dosyayı görüntüle @
5cd46e2b
...
...
@@ -25,6 +25,7 @@
#include <exception>
#include <vector>
#include "boost/noncopyable.hpp"
#include "com/sun/star/lang/WrappedTargetRuntimeException.hpp"
#include "com/sun/star/lang/XMultiComponentFactory.hpp"
#include "com/sun/star/lang/XServiceInfo.hpp"
...
...
@@ -93,7 +94,10 @@ sal_Int32 parseScheme(OUString const & uriReference) {
return
-
1
;
}
class
UriReference
:
public
cppu
::
WeakImplHelper1
<
css
::
uri
::
XUriReference
>
{
class
UriReference
:
public
cppu
::
WeakImplHelper1
<
css
::
uri
::
XUriReference
>
,
private
boost
::
noncopyable
{
public
:
UriReference
(
OUString
const
&
scheme
,
bool
bIsHierarchical
,
bool
bHasAuthority
,
...
...
@@ -173,9 +177,6 @@ public:
{
m_base
.
clearFragment
();
}
private
:
UriReference
(
UriReference
&
);
// not implemented
void
operator
=
(
UriReference
);
// not implemented
virtual
~
UriReference
()
{}
stoc
::
uriproc
::
UriReference
m_base
;
...
...
@@ -257,8 +258,10 @@ void processSegments(
}
}
class
Factory
:
public
cppu
::
WeakImplHelper2
<
css
::
lang
::
XServiceInfo
,
css
::
uri
::
XUriReferenceFactory
>
class
Factory
:
public
cppu
::
WeakImplHelper2
<
css
::
lang
::
XServiceInfo
,
css
::
uri
::
XUriReferenceFactory
>
,
private
boost
::
noncopyable
{
public
:
explicit
Factory
(
...
...
@@ -296,9 +299,6 @@ public:
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
private
:
Factory
(
Factory
&
);
// not implemented
void
operator
=
(
Factory
);
// not implemented
virtual
~
Factory
()
{}
css
::
uno
::
Reference
<
css
::
uri
::
XUriReference
>
clone
(
...
...
stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
Dosyayı görüntüle @
5cd46e2b
...
...
@@ -23,6 +23,7 @@
#include <exception>
#include "boost/noncopyable.hpp"
#include "com/sun/star/lang/IllegalArgumentException.hpp"
#include "com/sun/star/lang/XServiceInfo.hpp"
#include "com/sun/star/uno/Reference.hxx"
...
...
@@ -56,7 +57,8 @@ bool parseSchemeSpecificPart(OUString const & part) {
}
class
UrlReference
:
public
::
cppu
::
WeakImplHelper1
<
css
::
uri
::
XVndSunStarExpandUrlReference
>
public
::
cppu
::
WeakImplHelper1
<
css
::
uri
::
XVndSunStarExpandUrlReference
>
,
private
boost
::
noncopyable
{
public
:
UrlReference
(
OUString
const
&
scheme
,
OUString
const
&
path
)
:
...
...
@@ -134,9 +136,6 @@ public:
throw
(
css
::
lang
::
IllegalArgumentException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
private
:
UrlReference
(
UrlReference
&
);
// not defined
void
operator
=
(
UrlReference
);
// not defined
virtual
~
UrlReference
()
{}
stoc
::
uriproc
::
UriReference
base_
;
...
...
@@ -152,8 +151,10 @@ OUString UrlReference::expand(
getPath
(),
::
rtl_UriDecodeWithCharset
,
RTL_TEXTENCODING_UTF8
));
}
class
Parser
:
public
::
cppu
::
WeakImplHelper2
<
css
::
lang
::
XServiceInfo
,
css
::
uri
::
XUriSchemeParser
>
class
Parser
:
public
::
cppu
::
WeakImplHelper2
<
css
::
lang
::
XServiceInfo
,
css
::
uri
::
XUriSchemeParser
>
,
private
boost
::
noncopyable
{
public
:
Parser
()
{}
...
...
@@ -175,9 +176,6 @@ public:
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
private
:
Parser
(
Parser
&
);
// not defined
void
operator
=
(
Parser
);
// not defined
virtual
~
Parser
()
{}
};
...
...
stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
Dosyayı görüntüle @
5cd46e2b
...
...
@@ -22,6 +22,7 @@
#include "UriReference.hxx"
#include "boost/noncopyable.hpp"
#include "com/sun/star/lang/IllegalArgumentException.hpp"
#include "com/sun/star/lang/XServiceInfo.hpp"
#include "com/sun/star/uno/Reference.hxx"
...
...
@@ -190,7 +191,8 @@ bool parseSchemeSpecificPart(OUString const & part) {
}
class
UrlReference
:
public
cppu
::
WeakImplHelper1
<
css
::
uri
::
XVndSunStarScriptUrlReference
>
public
cppu
::
WeakImplHelper1
<
css
::
uri
::
XVndSunStarScriptUrlReference
>
,
private
boost
::
noncopyable
{
public
:
UrlReference
(
OUString
const
&
scheme
,
OUString
const
&
path
)
:
...
...
@@ -281,9 +283,6 @@ public:
throw
(
css
::
uno
::
RuntimeException
,
css
::
lang
::
IllegalArgumentException
,
std
::
exception
)
SAL_OVERRIDE
;
private
:
UrlReference
(
UrlReference
&
);
// not implemented
void
operator
=
(
UrlReference
);
// not implemented
virtual
~
UrlReference
()
{}
sal_Int32
findParameter
(
OUString
const
&
key
);
...
...
@@ -376,8 +375,10 @@ sal_Int32 UrlReference::findParameter(OUString const & key) {
}
}
class
Parser
:
public
cppu
::
WeakImplHelper2
<
css
::
lang
::
XServiceInfo
,
css
::
uri
::
XUriSchemeParser
>
class
Parser
:
public
cppu
::
WeakImplHelper2
<
css
::
lang
::
XServiceInfo
,
css
::
uri
::
XUriSchemeParser
>
,
private
boost
::
noncopyable
{
public
:
Parser
()
{}
...
...
@@ -397,9 +398,6 @@ public:
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
private
:
Parser
(
Parser
&
);
// not implemented
void
operator
=
(
Parser
);
// not implemented
virtual
~
Parser
()
{}
};
...
...
stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
Dosyayı görüntüle @
5cd46e2b
...
...
@@ -20,6 +20,7 @@
#include "stocservices.hxx"
#include "boost/noncopyable.hpp"
#include "com/sun/star/lang/XServiceInfo.hpp"
#include "com/sun/star/uno/Exception.hpp"
#include "com/sun/star/uno/Reference.hxx"
...
...
@@ -44,8 +45,10 @@
namespace
{
class
Factory
:
public
cppu
::
WeakImplHelper2
<
css
::
lang
::
XServiceInfo
,
css
::
uri
::
XVndSunStarPkgUrlReferenceFactory
>
class
Factory
:
public
cppu
::
WeakImplHelper2
<
css
::
lang
::
XServiceInfo
,
css
::
uri
::
XVndSunStarPkgUrlReferenceFactory
>
,
private
boost
::
noncopyable
{
public
:
explicit
Factory
(
...
...
@@ -67,9 +70,6 @@ public:
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
private
:
Factory
(
Factory
&
);
// not implemented
void
operator
=
(
Factory
);
// not implemented
virtual
~
Factory
()
{}
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
m_context
;
...
...
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