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
60397e84
Kaydet (Commit)
60397e84
authored
Şub 11, 2012
tarafından
Elton Chung
Kaydeden (comit)
Michael Meeks
Şub 13, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unused code
üst
abc235e7
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
0 additions
and
106 deletions
+0
-106
filterbase.hxx
oox/inc/oox/core/filterbase.hxx
+0
-8
relations.hxx
oox/inc/oox/core/relations.hxx
+0
-2
drawingmltypes.hxx
oox/inc/oox/drawingml/drawingmltypes.hxx
+0
-10
binaryinputstream.hxx
oox/inc/oox/helper/binaryinputstream.hxx
+0
-7
filterbase.cxx
oox/source/core/filterbase.cxx
+0
-10
relations.cxx
oox/source/core/relations.cxx
+0
-6
diagram.cxx
oox/source/drawingml/diagram/diagram.cxx
+0
-10
diagram.hxx
oox/source/drawingml/diagram/diagram.hxx
+0
-1
drawingmltypes.cxx
oox/source/drawingml/drawingmltypes.cxx
+0
-39
binaryinputstream.cxx
oox/source/helper/binaryinputstream.cxx
+0
-5
unusedcode.easy
unusedcode.easy
+0
-8
No files found.
oox/inc/oox/core/filterbase.hxx
Dosyayı görüntüle @
60397e84
...
@@ -128,10 +128,6 @@ public:
...
@@ -128,10 +128,6 @@ public:
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
getComponentContext
()
const
;
getComponentContext
()
const
;
/** Returns the component service factory (always existing). */
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiComponentFactory
>&
getComponentFactory
()
const
;
/** Returns the multi service factory of the component (always existing). */
/** Returns the multi service factory of the component (always existing). */
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
getServiceFactory
()
const
;
getServiceFactory
()
const
;
...
@@ -156,10 +152,6 @@ public:
...
@@ -156,10 +152,6 @@ public:
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
task
::
XStatusIndicator
>&
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
task
::
XStatusIndicator
>&
getStatusIndicator
()
const
;
getStatusIndicator
()
const
;
/** Returns the status interaction handler (may be null). */
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
task
::
XInteractionHandler
>&
getInteractionHandler
()
const
;
/** Returns the media descriptor. */
/** Returns the media descriptor. */
::
comphelper
::
MediaDescriptor
&
getMediaDescriptor
()
const
;
::
comphelper
::
MediaDescriptor
&
getMediaDescriptor
()
const
;
...
...
oox/inc/oox/core/relations.hxx
Dosyayı görüntüle @
60397e84
...
@@ -87,8 +87,6 @@ public:
...
@@ -87,8 +87,6 @@ public:
/** Returns the external target of the relation with the passed relation identifier. */
/** Returns the external target of the relation with the passed relation identifier. */
::
rtl
::
OUString
getExternalTargetFromRelId
(
const
::
rtl
::
OUString
&
rRelId
)
const
;
::
rtl
::
OUString
getExternalTargetFromRelId
(
const
::
rtl
::
OUString
&
rRelId
)
const
;
/** Returns the external target of the first relation with the passed type. */
::
rtl
::
OUString
getExternalTargetFromFirstType
(
const
::
rtl
::
OUString
&
rType
)
const
;
/** Returns the full fragment path for the target of the passed relation. */
/** Returns the full fragment path for the target of the passed relation. */
::
rtl
::
OUString
getFragmentPathFromRelation
(
const
Relation
&
rRelation
)
const
;
::
rtl
::
OUString
getFragmentPathFromRelation
(
const
Relation
&
rRelation
)
const
;
...
...
oox/inc/oox/drawingml/drawingmltypes.hxx
Dosyayı görüntüle @
60397e84
...
@@ -89,9 +89,6 @@ typedef ::boost::shared_ptr< TableProperties > TablePropertiesPtr;
...
@@ -89,9 +89,6 @@ typedef ::boost::shared_ptr< TableProperties > TablePropertiesPtr;
// ============================================================================
// ============================================================================
/** converts the attributes from an CT_Point2D into an awt Point with 1/100th mm */
com
::
sun
::
star
::
awt
::
Point
GetPoint2D
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XFastAttributeList
>&
xAttributes
);
/** converts the attributes from an CT_TLPoint into an awt Point with 1/1000% */
/** converts the attributes from an CT_TLPoint into an awt Point with 1/1000% */
com
::
sun
::
star
::
awt
::
Point
GetPointPercent
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XFastAttributeList
>&
xAttribs
);
com
::
sun
::
star
::
awt
::
Point
GetPointPercent
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XFastAttributeList
>&
xAttribs
);
...
@@ -102,11 +99,6 @@ com::sun::star::awt::Size GetSize2D( const ::com::sun::star::uno::Reference< ::c
...
@@ -102,11 +99,6 @@ com::sun::star::awt::Size GetSize2D( const ::com::sun::star::uno::Reference< ::c
/** converts the attributes from a CT_RelativeRect to an IntegerRectangle2D */
/** converts the attributes from a CT_RelativeRect to an IntegerRectangle2D */
com
::
sun
::
star
::
geometry
::
IntegerRectangle2D
GetRelativeRect
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XFastAttributeList
>&
xAttributes
);
com
::
sun
::
star
::
geometry
::
IntegerRectangle2D
GetRelativeRect
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XFastAttributeList
>&
xAttributes
);
/** converts an emu string into 1/100th mmm but constrain as per ST_TextMargin
* see 5.1.12.73
*/
sal_Int32
GetTextMargin
(
const
::
rtl
::
OUString
&
sValue
);
/** converts EMUs into 1/100th mmm */
/** converts EMUs into 1/100th mmm */
sal_Int32
GetCoordinate
(
sal_Int32
nValue
);
sal_Int32
GetCoordinate
(
sal_Int32
nValue
);
...
@@ -126,8 +118,6 @@ float GetTextSize( const ::rtl::OUString& rValue );
...
@@ -126,8 +118,6 @@ float GetTextSize( const ::rtl::OUString& rValue );
sal_Int32
GetTextSpacingPoint
(
const
::
rtl
::
OUString
&
sValue
);
sal_Int32
GetTextSpacingPoint
(
const
::
rtl
::
OUString
&
sValue
);
sal_Int32
GetTextSpacingPoint
(
const
sal_Int32
nValue
);
sal_Int32
GetTextSpacingPoint
(
const
sal_Int32
nValue
);
::
com
::
sun
::
star
::
drawing
::
TextVerticalAdjust
GetTextVerticalAdjust
(
sal_Int32
nToken
);
/** */
/** */
::
com
::
sun
::
star
::
style
::
TabAlign
GetTabAlign
(
::
sal_Int32
aToken
);
::
com
::
sun
::
star
::
style
::
TabAlign
GetTabAlign
(
::
sal_Int32
aToken
);
...
...
oox/inc/oox/helper/binaryinputstream.hxx
Dosyayı görüntüle @
60397e84
...
@@ -168,13 +168,6 @@ public:
...
@@ -168,13 +168,6 @@ public:
*/
*/
::
rtl
::
OString
readNulCharArray
();
::
rtl
::
OString
readNulCharArray
();
/** Reads a NUL-terminated byte character array and returns a Unicode string.
@param eTextEnc
The text encoding used to create the Unicode string.
*/
::
rtl
::
OUString
readNulCharArrayUC
(
rtl_TextEncoding
eTextEnc
);
/** Reads a NUL-terminated Unicode character array and returns the string.
/** Reads a NUL-terminated Unicode character array and returns the string.
*/
*/
::
rtl
::
OUString
readNulUnicodeArray
();
::
rtl
::
OUString
readNulUnicodeArray
();
...
...
oox/source/core/filterbase.cxx
Dosyayı görüntüle @
60397e84
...
@@ -259,11 +259,6 @@ const Reference< XComponentContext >& FilterBase::getComponentContext() const
...
@@ -259,11 +259,6 @@ const Reference< XComponentContext >& FilterBase::getComponentContext() const
return
mxImpl
->
mxComponentContext
;
return
mxImpl
->
mxComponentContext
;
}
}
const
Reference
<
XMultiComponentFactory
>&
FilterBase
::
getComponentFactory
()
const
{
return
mxImpl
->
mxComponentFactory
;
}
const
Reference
<
XMultiServiceFactory
>&
FilterBase
::
getServiceFactory
()
const
const
Reference
<
XMultiServiceFactory
>&
FilterBase
::
getServiceFactory
()
const
{
{
return
mxImpl
->
mxServiceFactory
;
return
mxImpl
->
mxServiceFactory
;
...
@@ -294,11 +289,6 @@ const Reference< XStatusIndicator >& FilterBase::getStatusIndicator() const
...
@@ -294,11 +289,6 @@ const Reference< XStatusIndicator >& FilterBase::getStatusIndicator() const
return
mxImpl
->
mxStatusIndicator
;
return
mxImpl
->
mxStatusIndicator
;
}
}
const
Reference
<
XInteractionHandler
>&
FilterBase
::
getInteractionHandler
()
const
{
return
mxImpl
->
mxInteractionHandler
;
}
MediaDescriptor
&
FilterBase
::
getMediaDescriptor
()
const
MediaDescriptor
&
FilterBase
::
getMediaDescriptor
()
const
{
{
return
mxImpl
->
maMediaDesc
;
return
mxImpl
->
maMediaDesc
;
...
...
oox/source/core/relations.cxx
Dosyayı görüntüle @
60397e84
...
@@ -92,12 +92,6 @@ OUString Relations::getExternalTargetFromRelId( const OUString& rRelId ) const
...
@@ -92,12 +92,6 @@ OUString Relations::getExternalTargetFromRelId( const OUString& rRelId ) const
return
(
pRelation
&&
pRelation
->
mbExternal
)
?
pRelation
->
maTarget
:
OUString
();
return
(
pRelation
&&
pRelation
->
mbExternal
)
?
pRelation
->
maTarget
:
OUString
();
}
}
OUString
Relations
::
getExternalTargetFromFirstType
(
const
OUString
&
rType
)
const
{
const
Relation
*
pRelation
=
getRelationFromFirstType
(
rType
);
return
(
pRelation
&&
pRelation
->
mbExternal
)
?
pRelation
->
maTarget
:
OUString
();
}
OUString
Relations
::
getFragmentPathFromRelation
(
const
Relation
&
rRelation
)
const
OUString
Relations
::
getFragmentPathFromRelation
(
const
Relation
&
rRelation
)
const
{
{
// no target, no fragment path
// no target, no fragment path
...
...
oox/source/drawingml/diagram/diagram.cxx
Dosyayı görüntüle @
60397e84
...
@@ -344,16 +344,6 @@ void Diagram::addTo( const ShapePtr & pParentShape )
...
@@ -344,16 +344,6 @@ void Diagram::addTo( const ShapePtr & pParentShape )
mpLayout
->
getNode
()
->
accept
(
aCreationVisitor
);
mpLayout
->
getNode
()
->
accept
(
aCreationVisitor
);
}
}
OUString
Diagram
::
getLayoutId
()
const
{
OUString
sLayoutId
;
if
(
mpLayout
)
{
sLayoutId
=
mpLayout
->
getUniqueId
();
}
return
sLayoutId
;
}
uno
::
Reference
<
xml
::
dom
::
XDocument
>
loadFragment
(
uno
::
Reference
<
xml
::
dom
::
XDocument
>
loadFragment
(
core
::
XmlFilterBase
&
rFilter
,
core
::
XmlFilterBase
&
rFilter
,
const
rtl
::
Reference
<
core
::
FragmentHandler
>&
rxHandler
)
const
rtl
::
Reference
<
core
::
FragmentHandler
>&
rxHandler
)
...
...
oox/source/drawingml/diagram/diagram.hxx
Dosyayı görüntüle @
60397e84
...
@@ -302,7 +302,6 @@ public:
...
@@ -302,7 +302,6 @@ public:
const
DiagramColorMap
&
getColors
()
const
{
return
maColors
;
}
const
DiagramColorMap
&
getColors
()
const
{
return
maColors
;
}
void
addTo
(
const
ShapePtr
&
pShape
);
void
addTo
(
const
ShapePtr
&
pShape
);
::
rtl
::
OUString
getLayoutId
()
const
;
private
:
private
:
void
build
(
);
void
build
(
);
DiagramDataPtr
mpData
;
DiagramDataPtr
mpData
;
...
...
oox/source/drawingml/drawingmltypes.cxx
Dosyayı görüntüle @
60397e84
...
@@ -47,23 +47,6 @@ namespace drawingml {
...
@@ -47,23 +47,6 @@ namespace drawingml {
// ============================================================================
// ============================================================================
/** converts an emu string into 1/100th mmm but constrain as per ST_TextMargin
* see 5.1.12.73
*/
sal_Int32
GetTextMargin
(
const
OUString
&
sValue
)
{
sal_Int32
nRet
=
0
;
if
(
!::
sax
::
Converter
::
convertNumber
(
nRet
,
sValue
)
)
nRet
=
0
;
else
if
(
nRet
<
0
)
nRet
=
0
;
else
if
(
nRet
>
51206400
)
nRet
=
51206400
;
nRet
/=
360
;
return
nRet
;
}
/** converts EMUs into 1/100th mmm */
/** converts EMUs into 1/100th mmm */
sal_Int32
GetCoordinate
(
sal_Int32
nValue
)
sal_Int32
GetCoordinate
(
sal_Int32
nValue
)
{
{
...
@@ -97,12 +80,6 @@ double GetPositiveFixedPercentage( const OUString& sValue )
...
@@ -97,12 +80,6 @@ double GetPositiveFixedPercentage( const OUString& sValue )
// --------------------------------------------------------------------
// --------------------------------------------------------------------
/** converts the attributes from an CT_Point2D into an awt Point with 1/100thmm */
Point
GetPoint2D
(
const
Reference
<
XFastAttributeList
>&
xAttribs
)
{
return
Point
(
GetCoordinate
(
xAttribs
->
getOptionalValue
(
XML_x
)
),
GetCoordinate
(
xAttribs
->
getOptionalValue
(
XML_y
)
)
);
}
/** converts the attributes from an CT_TLPoint into an awt Point with 1/1000% */
/** converts the attributes from an CT_TLPoint into an awt Point with 1/1000% */
Point
GetPointPercent
(
const
Reference
<
XFastAttributeList
>&
xAttribs
)
Point
GetPointPercent
(
const
Reference
<
XFastAttributeList
>&
xAttribs
)
{
{
...
@@ -136,22 +113,6 @@ sal_Int32 GetTextSpacingPoint( const sal_Int32 nValue )
...
@@ -136,22 +113,6 @@ sal_Int32 GetTextSpacingPoint( const sal_Int32 nValue )
return
(
nValue
*
254
+
360
)
/
720
;
return
(
nValue
*
254
+
360
)
/
720
;
}
}
TextVerticalAdjust
GetTextVerticalAdjust
(
sal_Int32
nToken
)
{
TextVerticalAdjust
rVal
=
TextVerticalAdjust_TOP
;
switch
(
nToken
)
{
case
XML_b
:
rVal
=
TextVerticalAdjust_BOTTOM
;
break
;
case
XML_ctr
:
rVal
=
TextVerticalAdjust_CENTER
;
break
;
}
return
rVal
;
}
float
GetFontHeight
(
sal_Int32
nHeight
)
float
GetFontHeight
(
sal_Int32
nHeight
)
{
{
// convert 1/100 points to points
// convert 1/100 points to points
...
...
oox/source/helper/binaryinputstream.cxx
Dosyayı görüntüle @
60397e84
...
@@ -65,11 +65,6 @@ OString BinaryInputStream::readNulCharArray()
...
@@ -65,11 +65,6 @@ OString BinaryInputStream::readNulCharArray()
return
aBuffer
.
makeStringAndClear
();
return
aBuffer
.
makeStringAndClear
();
}
}
OUString
BinaryInputStream
::
readNulCharArrayUC
(
rtl_TextEncoding
eTextEnc
)
{
return
OStringToOUString
(
readNulCharArray
(),
eTextEnc
);
}
OUString
BinaryInputStream
::
readNulUnicodeArray
()
OUString
BinaryInputStream
::
readNulUnicodeArray
()
{
{
OUStringBuffer
aBuffer
;
OUStringBuffer
aBuffer
;
...
...
unusedcode.easy
Dosyayı görüntüle @
60397e84
...
@@ -1267,18 +1267,14 @@ ooo::vba::extractIntFromAny(com::sun::star::uno::Any const&, int)
...
@@ -1267,18 +1267,14 @@ ooo::vba::extractIntFromAny(com::sun::star::uno::Any const&, int)
oox::(anonymous namespace)::GenericPropertySet::GenericPropertySet()
oox::(anonymous namespace)::GenericPropertySet::GenericPropertySet()
oox::AttributeList::getHyperHex(int, long) const
oox::AttributeList::getHyperHex(int, long) const
oox::AttributeList::getUnsignedHex(int, unsigned int) const
oox::AttributeList::getUnsignedHex(int, unsigned int) const
oox::BinaryInputStream::readNulCharArrayUC(unsigned short)
oox::ContainerHelper::insertByIndex(com::sun::star::uno::Reference<com::sun::star::container::XIndexContainer> const&, int, com::sun::star::uno::Any const&)
oox::ContainerHelper::insertByIndex(com::sun::star::uno::Reference<com::sun::star::container::XIndexContainer> const&, int, com::sun::star::uno::Any const&)
oox::GraphicHelper::convertScreenPixelToHmm(com::sun::star::awt::Point const&) const
oox::GraphicHelper::convertScreenPixelToHmm(com::sun::star::awt::Point const&) const
oox::ObjectContainer::getObject(rtl::OUString const&) const
oox::ObjectContainer::getObject(rtl::OUString const&) const
oox::PropertyMap::dump()
oox::PropertyMap::dump()
oox::PropertyMap::getProperty(int) const
oox::PropertyMap::getProperty(int) const
oox::PropertySet::getProperties(com::sun::star::uno::Sequence<com::sun::star::uno::Any>&, com::sun::star::uno::Sequence<rtl::OUString> const&) const
oox::PropertySet::getProperties(com::sun::star::uno::Sequence<com::sun::star::uno::Any>&, com::sun::star::uno::Sequence<rtl::OUString> const&) const
oox::core::FilterBase::getComponentFactory() const
oox::core::FilterBase::getInteractionHandler() const
oox::core::PowerPointExport::WriteAnimationNodeCommonPropsEnd(boost::shared_ptr<sax_fastparser::FastSerializerHelper>)
oox::core::PowerPointExport::WriteAnimationNodeCommonPropsEnd(boost::shared_ptr<sax_fastparser::FastSerializerHelper>)
oox::core::PowerPointExport::WriteTextStyles(boost::shared_ptr<sax_fastparser::FastSerializerHelper>)
oox::core::PowerPointExport::WriteTextStyles(boost::shared_ptr<sax_fastparser::FastSerializerHelper>)
oox::core::Relations::getExternalTargetFromFirstType(rtl::OUString const&) const
oox::core::XmlFilterBase::getChartConverter()
oox::core::XmlFilterBase::getChartConverter()
oox::drawingml::ChartExport::exportDataSeq(com::sun::star::uno::Reference<com::sun::star::chart2::data::XDataSequence> const&, int)
oox::drawingml::ChartExport::exportDataSeq(com::sun::star::uno::Reference<com::sun::star::chart2::data::XDataSequence> const&, int)
oox::drawingml::ChartExport::exportXAxis(oox::drawingml::AxisIdPair)
oox::drawingml::ChartExport::exportXAxis(oox::drawingml::AxisIdPair)
...
@@ -1286,11 +1282,7 @@ oox::drawingml::ChartExport::exportYAxis(oox::drawingml::AxisIdPair)
...
@@ -1286,11 +1282,7 @@ oox::drawingml::ChartExport::exportYAxis(oox::drawingml::AxisIdPair)
oox::drawingml::ColorPropertySet::getColor()
oox::drawingml::ColorPropertySet::getColor()
oox::drawingml::ColorPropertySet::setColor(int)
oox::drawingml::ColorPropertySet::setColor(int)
oox::drawingml::CustomShapeProperties::getValue(std::__debug::vector<oox::drawingml::CustomShapeGuide, std::allocator<oox::drawingml::CustomShapeGuide> > const&, unsigned int) const
oox::drawingml::CustomShapeProperties::getValue(std::__debug::vector<oox::drawingml::CustomShapeGuide, std::allocator<oox::drawingml::CustomShapeGuide> > const&, unsigned int) const
oox::drawingml::Diagram::getLayoutId() const
oox::drawingml::DiagramLayout::layout(std::__debug::vector<oox::drawingml::dgm::Point, std::allocator<oox::drawingml::dgm::Point> > const&, com::sun::star::awt::Point const&)
oox::drawingml::DiagramLayout::layout(std::__debug::vector<oox::drawingml::dgm::Point, std::allocator<oox::drawingml::dgm::Point> > const&, com::sun::star::awt::Point const&)
oox::drawingml::GetPoint2D(com::sun::star::uno::Reference<com::sun::star::xml::sax::XFastAttributeList> const&)
oox::drawingml::GetTextMargin(rtl::OUString const&)
oox::drawingml::GetTextVerticalAdjust(int)
oox::drawingml::GraphicProperties::assignUsed(oox::drawingml::GraphicProperties const&)
oox::drawingml::GraphicProperties::assignUsed(oox::drawingml::GraphicProperties const&)
oox::drawingml::TextBodyProperties::pushToPropMap(oox::PropertyMap&) const
oox::drawingml::TextBodyProperties::pushToPropMap(oox::PropertyMap&) const
oox::drawingml::TextListStyle::dump() const
oox::drawingml::TextListStyle::dump() const
...
...
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