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
39ab5402
Kaydet (Commit)
39ab5402
authored
Agu 08, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: remove various unused methods
üst
aa4bcd28
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
116 deletions
+0
-116
bencont.cxx
lotuswordpro/source/filter/bencont.cxx
+0
-86
bento.hxx
lotuswordpro/source/filter/bento.hxx
+0
-1
lwpoleobject.cxx
lotuswordpro/source/filter/lwpoleobject.cxx
+0
-8
lwpoleobject.hxx
lotuswordpro/source/filter/lwpoleobject.hxx
+0
-2
xfdrawpath.cxx
lotuswordpro/source/filter/xfilter/xfdrawpath.cxx
+0
-14
xfdrawpath.hxx
lotuswordpro/source/filter/xfilter/xfdrawpath.hxx
+0
-5
No files found.
lotuswordpro/source/filter/bencont.cxx
Dosyayı görüntüle @
39ab5402
...
@@ -382,92 +382,6 @@ sal_uInt32 GetSvStreamSize(SvStream * pStream)
...
@@ -382,92 +382,6 @@ sal_uInt32 GetSvStreamSize(SvStream * pStream)
return
ulLength
;
return
ulLength
;
}
}
/**
* Find hazily according to part of property name
* @date 01/31/2005
* @param
* @return the value stream pointers vector with the property names
*/
BenError
LtcBenContainer
::
CreateGraphicStreams
(
std
::
vector
<
SvStream
*>
*
pStreamVector
)
{
/* traverse all named objects to find all the graphic property names */
CBenObject
*
pObj
=
NULL
;
char
*
pName
;
std
::
vector
<
std
::
string
>
aGrPropertyVector
;
while
(
(
pObj
=
GetNextObject
(
pObj
))
)
{
if
(
pObj
->
IsNamedObject
())
{
CBenNamedObject
*
pNamedObj
=
static_cast
<
CBenNamedObject
*>
(
pObj
);
if
(
!
pNamedObj
->
IsPropertyName
())
continue
;
// Gr2E,41FDD458-S
// Gr2E,41FDD458-D
pName
=
const_cast
<
char
*>
(
pNamedObj
->
GetName
());
if
(
(
pName
[
0
]
==
'G'
)
&&
(
pName
[
1
]
==
'r'
)
&&
(
(
pName
[
14
]
==
'D'
)
||
(
pName
[
14
]
==
'S'
)
)
)
{
aGrPropertyVector
.
push_back
(
std
::
string
(
pName
));
}
}
}
/* traverse the found properties and construct the stream vectors */
std
::
vector
<
std
::
string
>::
iterator
itor
;
for
(
itor
=
aGrPropertyVector
.
begin
();
itor
!=
aGrPropertyVector
.
end
();
++
itor
)
{
// get property names with suffix of S&D
char
sSName
[
32
],
sDName
[
32
];
strcpy
(
sSName
,
itor
->
c_str
());
strcpy
(
sDName
,
itor
->
c_str
());
sSName
[
14
]
=
'S'
;
sDName
[
14
]
=
'D'
;
// erase strings in vector
std
::
vector
<
std
::
string
>::
iterator
itorSearch
;
for
(
itorSearch
=
aGrPropertyVector
.
begin
();
itorSearch
!=
aGrPropertyVector
.
end
();
++
itorSearch
)
{
if
(
(
*
itorSearch
==
sSName
)
||
(
*
itorSearch
==
sDName
)
)
{
std
::
vector
<
std
::
string
>::
iterator
itorDel
=
itorSearch
;
aGrPropertyVector
.
erase
(
itorDel
);
}
}
// get S&D's stream and merge them together
{
SvStream
*
pD
=
NULL
,
*
pS
=
NULL
;
pS
=
FindValueStreamWithPropertyName
(
sSName
);
assert
(
pS
!=
NULL
);
pD
=
FindValueStreamWithPropertyName
(
sDName
);
assert
(
pD
!=
NULL
);
sal_uInt32
nDLen
=
GetSvStreamSize
(
pD
);
sal_uInt32
nLen
=
GetSvStreamSize
(
pS
)
+
nDLen
;
assert
(
nLen
>
0
);
char
*
pBuf
=
new
char
[
nLen
];
assert
(
pBuf
!=
NULL
);
char
*
pPointer
=
pBuf
;
pD
->
Read
(
pPointer
,
nDLen
);
pPointer
+=
nDLen
;
pS
->
Read
(
pPointer
,
nLen
-
nDLen
);
delete
pS
;
delete
pD
;
SvMemoryStream
*
pStream
=
new
SvMemoryStream
(
pBuf
,
nLen
,
STREAM_READ
);
assert
(
pStream
!=
NULL
);
pStreamVector
->
push_back
(
pStream
);
}
}
aGrPropertyVector
.
clear
();
return
BenErr_OK
;
}
/**
/**
* Find hazily according to object ID
* Find hazily according to object ID
...
...
lotuswordpro/source/filter/bento.hxx
Dosyayı görüntüle @
39ab5402
...
@@ -296,7 +296,6 @@ public: // Internal methods
...
@@ -296,7 +296,6 @@ public: // Internal methods
LtcUtBenValueStream
*
FindNextValueStreamWithPropertyName
(
const
char
*
sPropertyName
,
LtcUtBenValueStream
*
pCurrentValueStream
);
LtcUtBenValueStream
*
FindNextValueStreamWithPropertyName
(
const
char
*
sPropertyName
,
LtcUtBenValueStream
*
pCurrentValueStream
);
LtcUtBenValueStream
*
FindValueStreamWithPropertyName
(
const
char
*
sPropertyName
);
LtcUtBenValueStream
*
FindValueStreamWithPropertyName
(
const
char
*
sPropertyName
);
LtcUtBenValueStream
*
FindObjectValueStreamWithObjectIDAndProperty
(
BenObjectID
ObjectID
,
const
char
*
sPropertyName
);
LtcUtBenValueStream
*
FindObjectValueStreamWithObjectIDAndProperty
(
BenObjectID
ObjectID
,
const
char
*
sPropertyName
);
BenError
CreateGraphicStreams
(
std
::
vector
<
SvStream
*>
*
pStreamVector
)
;
BenError
CreateGraphicStream
(
SvStream
*
&
pStream
,
const
char
*
pObjectName
);
BenError
CreateGraphicStream
(
SvStream
*
&
pStream
,
const
char
*
pObjectName
);
void
ReadAswEntry
(
SvStream
*
pStream
,
AswEntry
&
rEntry
);
void
ReadAswEntry
(
SvStream
*
pStream
,
AswEntry
&
rEntry
);
...
...
lotuswordpro/source/filter/lwpoleobject.cxx
Dosyayı görüntüle @
39ab5402
...
@@ -275,12 +275,4 @@ void LwpOleObject::RegisterStyle()
...
@@ -275,12 +275,4 @@ void LwpOleObject::RegisterStyle()
{
{
}
}
/**
* @descr: Read OLE object picture information
*/
sal_Bool
LwpOlePres
::
Read
(
SvStream
&
/*rStm*/
)
{
return
sal_True
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
lotuswordpro/source/filter/lwpoleobject.hxx
Dosyayı görüntüle @
39ab5402
...
@@ -182,8 +182,6 @@ public:
...
@@ -182,8 +182,6 @@ public:
void
SetAdviseFlags
(
sal_uLong
nAdv
)
{
nAdvFlags
=
nAdv
;
}
void
SetAdviseFlags
(
sal_uLong
nAdv
)
{
nAdvFlags
=
nAdv
;
}
void
SetSize
(
const
Size
&
rSize
)
{
aSize
=
rSize
;
}
void
SetSize
(
const
Size
&
rSize
)
{
aSize
=
rSize
;
}
Size
GetSize
()
const
{
return
aSize
;
}
Size
GetSize
()
const
{
return
aSize
;
}
/// return FALSE => unknown format
sal_Bool
Read
(
SvStream
&
rStm
);
};
};
...
...
lotuswordpro/source/filter/xfilter/xfdrawpath.cxx
Dosyayı görüntüle @
39ab5402
...
@@ -125,20 +125,6 @@ void XFDrawPath::CurveTo(XFPoint dest, XFPoint ctrl1, XFPoint ctrl2, sal_Bool
...
@@ -125,20 +125,6 @@ void XFDrawPath::CurveTo(XFPoint dest, XFPoint ctrl1, XFPoint ctrl2, sal_Bool
m_aPaths
.
push_back
(
entry
);
m_aPaths
.
push_back
(
entry
);
}
}
void
XFDrawPath
::
SmoothCurveTo
(
XFPoint
dest
,
XFPoint
ctrl
,
sal_Bool
absPosition
)
{
XFSvgPathEntry
entry
;
if
(
absPosition
)
entry
.
SetCommand
(
A2OUSTR
(
"C"
));
else
entry
.
SetCommand
(
A2OUSTR
(
"c"
));
entry
.
AddPoint
(
ctrl
);
entry
.
AddPoint
(
dest
);
m_aPaths
.
push_back
(
entry
);
}
void
XFDrawPath
::
ClosePath
(
sal_Bool
absPosition
)
void
XFDrawPath
::
ClosePath
(
sal_Bool
absPosition
)
{
{
XFSvgPathEntry
entry
;
XFSvgPathEntry
entry
;
...
...
lotuswordpro/source/filter/xfilter/xfdrawpath.hxx
Dosyayı görüntüle @
39ab5402
...
@@ -118,11 +118,6 @@ public:
...
@@ -118,11 +118,6 @@ public:
*/
*/
void
CurveTo
(
XFPoint
dest
,
XFPoint
ctrl1
,
XFPoint
ctrl2
,
sal_Bool
absPosition
=
sal_True
);
void
CurveTo
(
XFPoint
dest
,
XFPoint
ctrl1
,
XFPoint
ctrl2
,
sal_Bool
absPosition
=
sal_True
);
/**
* @descr Smooth curve command.
*/
void
SmoothCurveTo
(
XFPoint
dest
,
XFPoint
ctrl
,
sal_Bool
absPosition
=
sal_True
);
/**
/**
* @descr Close path command.
* @descr Close path command.
*/
*/
...
...
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