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
3a32caa1
Kaydet (Commit)
3a32caa1
authored
Kas 07, 2017
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
test: avoid 'using namespace' declarations in a header
Change-Id: I8dc06129360124fcaa52bc13bb9d134918b84c17
üst
5946eedf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
cppunitasserthelper.hxx
include/test/cppunitasserthelper.hxx
+9
-9
No files found.
include/test/cppunitasserthelper.hxx
Dosyayı görüntüle @
3a32caa1
...
...
@@ -17,9 +17,6 @@
#include <cppunit/TestAssert.h>
using
namespace
com
::
sun
::
star
;
using
namespace
com
::
sun
::
star
::
uno
;
CPPUNIT_NS_BEGIN
/** @brief Trait used by CPPUNIT_ASSERT* macros to compare com::sun::star::table::CellAddress.
...
...
@@ -27,11 +24,14 @@ CPPUNIT_NS_BEGIN
* This specialization from @c struct @c assertion_traits<> helps to compare
* @see com::sun::star::table::CellAddress.
*/
template
<>
struct
assertion_traits
<
table
::
CellAddress
>
template
<>
struct
assertion_traits
<
css
::
table
::
CellAddress
>
{
static
bool
equal
(
const
table
::
CellAddress
&
x
,
const
table
::
CellAddress
&
y
)
{
return
x
==
y
;
}
static
bool
equal
(
const
css
::
table
::
CellAddress
&
x
,
const
css
::
table
::
CellAddress
&
y
)
{
return
x
==
y
;
}
static
std
::
string
toString
(
const
table
::
CellAddress
&
x
)
static
std
::
string
toString
(
const
css
::
table
::
CellAddress
&
x
)
{
OStringStream
ost
;
ost
<<
"Sheet: "
<<
x
.
Sheet
<<
" Column: "
<<
x
.
Column
<<
" Row: "
<<
x
.
Row
;
...
...
@@ -44,14 +44,14 @@ template <> struct assertion_traits<table::CellAddress>
* This specialization from @c struct @c assertion_traits<> helps to compare
* @see com::sun::star::table::CellRangeAddress.
*/
template
<>
struct
assertion_traits
<
table
::
CellRangeAddress
>
template
<>
struct
assertion_traits
<
css
::
table
::
CellRangeAddress
>
{
static
bool
equal
(
const
table
::
CellRangeAddress
&
x
,
const
table
::
CellRangeAddress
&
y
)
static
bool
equal
(
const
css
::
table
::
CellRangeAddress
&
x
,
const
css
::
table
::
CellRangeAddress
&
y
)
{
return
x
==
y
;
}
static
std
::
string
toString
(
const
table
::
CellRangeAddress
&
x
)
static
std
::
string
toString
(
const
css
::
table
::
CellRangeAddress
&
x
)
{
OStringStream
ost
;
ost
<<
"Sheet: "
<<
x
.
Sheet
<<
" StartColumn: "
<<
x
.
StartColumn
...
...
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