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
c87fa1b5
Kaydet (Commit)
c87fa1b5
authored
Nis 09, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up function declarations
Change-Id: Ia4ed1d576cb3bcf46de3225e5569f9cfd15a6f7e
üst
3f65d353
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
Library_constructors.mk
testtools/Library_constructors.mk
+2
-0
constructors.cxx
testtools/source/bridgetest/constructors.cxx
+5
-4
currentcontextchecker.cxx
testtools/source/bridgetest/currentcontextchecker.cxx
+3
-5
No files found.
testtools/Library_constructors.mk
Dosyayı görüntüle @
c87fa1b5
...
...
@@ -16,6 +16,8 @@ $(eval $(call gb_Executable_set_include,testtools_constructors,\
$$(INCLUDE) \
))
$(eval $(call gb_Library_use_external,testtools_constructors,boost_headers))
$(eval $(call gb_Library_use_internal_api,testtools_constructors,\
bridgetest \
))
...
...
testtools/source/bridgetest/constructors.cxx
Dosyayı görüntüle @
c87fa1b5
...
...
@@ -20,6 +20,7 @@
#include "sal/config.h"
#include "boost/noncopyable.hpp"
#include "com/sun/star/lang/XInitialization.hpp"
#include "com/sun/star/lang/XComponent.hpp"
#include "com/sun/star/uno/Any.hxx"
...
...
@@ -49,14 +50,14 @@
namespace
{
namespace
ttb
=
::
test
::
testtools
::
bridgetest
;
class
Impl
:
public
::
cppu
::
WeakImplHelper1
<
css
::
lang
::
XInitialization
>
{
class
Impl
:
public
cppu
::
WeakImplHelper1
<
css
::
lang
::
XInitialization
>
,
private
boost
::
noncopyable
{
public
:
Impl
()
{}
private
:
Impl
(
Impl
&
);
// not defined
void
operator
=
(
Impl
&
);
// not defined
virtual
~
Impl
()
{}
virtual
void
SAL_CALL
initialize
(
...
...
testtools/source/bridgetest/currentcontextchecker.cxx
Dosyayı görüntüle @
c87fa1b5
...
...
@@ -22,6 +22,7 @@
#include "currentcontextchecker.hxx"
#include "boost/noncopyable.hpp"
#include "com/sun/star/uno/Any.hxx"
#include "com/sun/star/uno/Reference.hxx"
#include "com/sun/star/uno/RuntimeException.hpp"
...
...
@@ -43,7 +44,8 @@ static char const VALUE[] = "good";
class
CurrentContext
:
public
::
osl
::
DebugBase
<
CurrentContext
>
,
public
::
cppu
::
WeakImplHelper1
<
css
::
uno
::
XCurrentContext
>
public
::
cppu
::
WeakImplHelper1
<
css
::
uno
::
XCurrentContext
>
,
private
boost
::
noncopyable
{
public
:
CurrentContext
();
...
...
@@ -52,10 +54,6 @@ public:
virtual
css
::
uno
::
Any
SAL_CALL
getValueByName
(
OUString
const
&
Name
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
private
:
CurrentContext
(
CurrentContext
&
);
// not defined
void
operator
=
(
CurrentContext
&
);
// not defined
};
CurrentContext
::
CurrentContext
()
{}
...
...
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