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
88e940f3
Kaydet (Commit)
88e940f3
authored
Haz 11, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Dead code
Change-Id: I08bd15316e7952d05b769326c0a8a1d3493b0eb8
üst
d2cc121e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
122 deletions
+7
-122
xfcell.cxx
lotuswordpro/source/filter/xfilter/xfcell.cxx
+0
-42
xfcell.hxx
lotuswordpro/source/filter/xfilter/xfcell.hxx
+0
-4
xfcontent.hxx
lotuswordpro/source/filter/xfilter/xfcontent.hxx
+0
-4
xfcontentcontainer.cxx
lotuswordpro/source/filter/xfilter/xfcontentcontainer.cxx
+0
-33
xfcontentcontainer.hxx
lotuswordpro/source/filter/xfilter/xfcontentcontainer.hxx
+7
-6
xfrow.cxx
lotuswordpro/source/filter/xfilter/xfrow.cxx
+0
-29
xfrow.hxx
lotuswordpro/source/filter/xfilter/xfrow.hxx
+0
-4
No files found.
lotuswordpro/source/filter/xfilter/xfcell.cxx
Dosyayı görüntüle @
88e940f3
...
@@ -73,48 +73,6 @@ XFCell::XFCell()
...
@@ -73,48 +73,6 @@ XFCell::XFCell()
m_bProtect
=
false
;
m_bProtect
=
false
;
}
}
XFCell
::
XFCell
(
const
XFCell
&
other
)
:
XFContentContainer
(
other
)
{
if
(
other
.
m_pSubTable
)
m_pSubTable
=
new
XFTable
(
*
other
.
m_pSubTable
);
else
m_pSubTable
=
NULL
;
m_pOwnerRow
=
NULL
;
m_nCol
=
other
.
m_nCol
;
m_nColSpaned
=
other
.
m_nColSpaned
;
m_nRepeated
=
other
.
m_nRepeated
;
m_eValueType
=
other
.
m_eValueType
;
m_bProtect
=
other
.
m_bProtect
;
m_strValue
=
other
.
m_strValue
;
m_strDisplay
=
other
.
m_strDisplay
;
m_strFormula
=
other
.
m_strFormula
;
}
XFCell
&
XFCell
::
operator
=
(
const
XFCell
&
other
)
{
if
(
this
==
&
other
)
return
*
this
;
if
(
m_pSubTable
)
delete
m_pSubTable
;
if
(
other
.
m_pSubTable
)
m_pSubTable
=
new
XFTable
(
*
other
.
m_pSubTable
);
else
m_pSubTable
=
NULL
;
m_pOwnerRow
=
NULL
;
m_nCol
=
other
.
m_nCol
;
m_nColSpaned
=
other
.
m_nColSpaned
;
m_nRepeated
=
other
.
m_nRepeated
;
m_eValueType
=
other
.
m_eValueType
;
m_bProtect
=
other
.
m_bProtect
;
m_strValue
=
other
.
m_strValue
;
m_strDisplay
=
other
.
m_strDisplay
;
m_strFormula
=
other
.
m_strFormula
;
return
*
this
;
}
XFCell
::~
XFCell
()
XFCell
::~
XFCell
()
{
{
if
(
m_pSubTable
)
if
(
m_pSubTable
)
...
...
lotuswordpro/source/filter/xfilter/xfcell.hxx
Dosyayı görüntüle @
88e940f3
...
@@ -76,10 +76,6 @@ class XFCell : public XFContentContainer
...
@@ -76,10 +76,6 @@ class XFCell : public XFContentContainer
public
:
public
:
XFCell
();
XFCell
();
XFCell
(
const
XFCell
&
other
);
XFCell
&
operator
=
(
const
XFCell
&
other
);
virtual
~
XFCell
();
virtual
~
XFCell
();
public
:
public
:
...
...
lotuswordpro/source/filter/xfilter/xfcontent.hxx
Dosyayı görüntüle @
88e940f3
...
@@ -92,10 +92,6 @@ public:
...
@@ -92,10 +92,6 @@ public:
*/
*/
OUString
GetStyleName
()
{
return
m_strStyleName
;}
OUString
GetStyleName
()
{
return
m_strStyleName
;}
/**
*/
XFContent
*
Clone
()
{
return
NULL
;}
protected
:
protected
:
XFContent
()
{}
XFContent
()
{}
...
...
lotuswordpro/source/filter/xfilter/xfcontentcontainer.cxx
Dosyayı görüntüle @
88e940f3
...
@@ -64,39 +64,6 @@ XFContentContainer::XFContentContainer()
...
@@ -64,39 +64,6 @@ XFContentContainer::XFContentContainer()
{
{
}
}
XFContentContainer
::
XFContentContainer
(
const
XFContentContainer
&
other
)
:
XFContent
(
other
)
{
std
::
vector
<
XFContent
*>::
const_iterator
it
;
for
(
it
=
other
.
m_aContents
.
begin
();
it
!=
other
.
m_aContents
.
end
();
++
it
)
{
XFContent
*
pContent
=
*
it
;
if
(
pContent
)
{
XFContent
*
pClone
=
pContent
->
Clone
();
if
(
pClone
)
Add
(
pClone
);
}
}
}
XFContentContainer
&
XFContentContainer
::
operator
=
(
const
XFContentContainer
&
other
)
{
std
::
vector
<
XFContent
*>::
const_iterator
it
;
for
(
it
=
other
.
m_aContents
.
begin
();
it
!=
other
.
m_aContents
.
end
();
++
it
)
{
XFContent
*
pContent
=
*
it
;
if
(
pContent
)
{
XFContent
*
pClone
=
pContent
->
Clone
();
if
(
pClone
)
Add
(
pClone
);
}
}
return
*
this
;
}
XFContentContainer
::~
XFContentContainer
()
XFContentContainer
::~
XFContentContainer
()
{
{
std
::
vector
<
XFContent
*>::
iterator
it
;
std
::
vector
<
XFContent
*>::
iterator
it
;
...
...
lotuswordpro/source/filter/xfilter/xfcontentcontainer.hxx
Dosyayı görüntüle @
88e940f3
...
@@ -60,23 +60,24 @@
...
@@ -60,23 +60,24 @@
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFCONTENTCONTAINER_HXX
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFCONTENTCONTAINER_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFCONTENTCONTAINER_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFCONTENTCONTAINER_HXX
#include "xfcontent.hxx"
#include <sal/config.h>
#include <vector>
#include <vector>
#include <boost/noncopyable.hpp>
#include "xfcontent.hxx"
/**
/**
* @brief
* @brief
* A container for content.
* A container for content.
* The contents will be deleted when delete container.
* The contents will be deleted when delete container.
*/
*/
class
XFContentContainer
:
public
XFContent
class
XFContentContainer
:
public
XFContent
,
private
boost
::
noncopyable
{
{
public
:
public
:
XFContentContainer
();
XFContentContainer
();
XFContentContainer
(
const
XFContentContainer
&
other
);
XFContentContainer
&
operator
=
(
const
XFContentContainer
&
other
);
/**
/**
* @descr Destructure, all contents will be deleted too.
* @descr Destructure, all contents will be deleted too.
*/
*/
...
...
lotuswordpro/source/filter/xfilter/xfrow.cxx
Dosyayı görüntüle @
88e940f3
...
@@ -73,35 +73,6 @@ XFRow::XFRow()
...
@@ -73,35 +73,6 @@ XFRow::XFRow()
{
{
}
}
XFRow
::
XFRow
(
const
XFRow
&
other
)
:
XFContent
(
other
)
{
m_pOwnerTable
=
NULL
;
m_nRepeat
=
other
.
m_nRepeat
;
m_nRow
=
other
.
m_nRow
;
for
(
int
i
=
1
;
i
<=
other
.
GetCellCount
();
i
++
)
{
XFCell
*
pCell
=
new
XFCell
;
*
pCell
=
*
other
.
GetCell
(
i
);
AddCell
(
pCell
);
}
}
XFRow
&
XFRow
::
operator
=
(
const
XFRow
&
other
)
{
m_pOwnerTable
=
NULL
;
m_nRepeat
=
other
.
m_nRepeat
;
m_nRow
=
other
.
m_nRow
;
for
(
int
i
=
1
;
i
<=
other
.
GetCellCount
();
i
++
)
{
XFCell
*
pCell
=
new
XFCell
;
*
pCell
=
*
other
.
GetCell
(
i
);
AddCell
(
pCell
);
}
return
*
this
;
}
XFRow
::~
XFRow
()
XFRow
::~
XFRow
()
{
{
std
::
map
<
sal_Int32
,
XFCell
*>::
iterator
it
;
std
::
map
<
sal_Int32
,
XFCell
*>::
iterator
it
;
...
...
lotuswordpro/source/filter/xfilter/xfrow.hxx
Dosyayı görüntüle @
88e940f3
...
@@ -70,10 +70,6 @@ class XFRow : public XFContent
...
@@ -70,10 +70,6 @@ class XFRow : public XFContent
public
:
public
:
XFRow
();
XFRow
();
XFRow
(
const
XFRow
&
other
);
XFRow
&
operator
=
(
const
XFRow
&
other
);
virtual
~
XFRow
();
virtual
~
XFRow
();
public
:
public
:
...
...
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