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
f46e3920
Kaydet (Commit)
f46e3920
authored
Tem 06, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
writerfilter: remove unused getKind()
Change-Id: I7d98d1fb400e1a73ca0d935d5cfbb82de43d795e
üst
e4bc7227
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
85 deletions
+0
-85
WW8ResourceModel.hxx
writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
+0
-6
OOXMLPropertySetImpl.cxx
writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
+0
-5
OOXMLPropertySetImpl.hxx
writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
+0
-5
factoryimpl.xsl
writerfilter/source/ooxml/factoryimpl.xsl
+0
-63
rtfsprm.cxx
writerfilter/source/rtftok/rtfsprm.cxx
+0
-5
rtfsprm.hxx
writerfilter/source/rtftok/rtfsprm.hxx
+0
-1
No files found.
writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
Dosyayı görüntüle @
f46e3920
...
...
@@ -348,7 +348,6 @@ public:
SAL_WNODEPRECATED_DECLARATIONS_PUSH
typedef
std
::
auto_ptr
<
Sprm
>
Pointer_t
;
SAL_WNODEPRECATED_DECLARATIONS_POP
enum
Kind
{
UNKNOWN
,
CHARACTER
,
PARAGRAPH
,
TABLE
};
/**
Returns id of the SPRM.
...
...
@@ -376,11 +375,6 @@ public:
*/
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProps
()
=
0
;
/**
Returns the kind of this SPRM.
*/
virtual
Kind
getKind
()
=
0
;
/**
Returns name of sprm.
*/
...
...
writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
Dosyayı görüntüle @
f46e3920
...
...
@@ -143,11 +143,6 @@ string OOXMLPropertyImpl::toString() const
}
#endif
Sprm
::
Kind
OOXMLPropertyImpl
::
getKind
()
{
return
SprmKind
(
getId
());
}
Sprm
*
OOXMLPropertyImpl
::
clone
()
{
return
new
OOXMLPropertyImpl
(
*
this
);
...
...
writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
Dosyayı görüntüle @
f46e3920
...
...
@@ -78,9 +78,6 @@ public:
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProps
()
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
getName
()
const
SAL_OVERRIDE
;
#endif
virtual
Kind
getKind
()
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
#endif
virtual
Sprm
*
clone
()
SAL_OVERRIDE
;
...
...
@@ -326,8 +323,6 @@ public:
int
getValue
()
const
{
return
mnValue
;}
};
Sprm
::
Kind
SprmKind
(
sal_uInt32
nSprmCode
);
}
// namespace ooxml
}
// namespace writerfilter
...
...
writerfilter/source/ooxml/factoryimpl.xsl
Dosyayı görüntüle @
f46e3920
...
...
@@ -223,68 +223,6 @@ string fastTokenToId(sal_uInt32 nToken)
</xsl:text>
</xsl:template>
<!--
Generates case labels for mapping from token ids to a single kind
of sprm.
@param kind the sprm kind for which to generate the case labels
-->
<xsl:template
name=
"sprmkindcase"
>
<xsl:param
name=
"kind"
/>
<xsl:for-each
select=
"key('resources-with-kind', $kind)/element"
>
<xsl:if
test=
"generate-id(.) = generate-id(key('sprms-with-code', @tokenid))"
>
<xsl:text>
case
</xsl:text>
<xsl:call-template
name=
"idtoqname"
>
<xsl:with-param
name=
"id"
select=
"@tokenid"
/>
</xsl:call-template>
<xsl:text>
: //
</xsl:text>
<xsl:value-of
select=
"ancestor::resource/@name"
/>
<xsl:text>
,
</xsl:text>
<xsl:value-of
select=
"@name"
/>
</xsl:if>
</xsl:for-each>
</xsl:template>
<!--
Generates SprmKind.
-->
<xsl:template
name=
"sprmkind"
>
<xsl:text>
Sprm::Kind SprmKind(sal_uInt32 nSprmCode)
{
Sprm::Kind nResult = Sprm::UNKNOWN;
switch (nSprmCode)
{
</xsl:text>
<xsl:call-template
name=
"sprmkindcase"
>
<xsl:with-param
name=
"kind"
>
paragraph
</xsl:with-param>
</xsl:call-template>
<xsl:text>
nResult = Sprm::PARAGRAPH;
break;
</xsl:text>
<xsl:call-template
name=
"sprmkindcase"
>
<xsl:with-param
name=
"kind"
>
character
</xsl:with-param>
</xsl:call-template>
<xsl:text>
nResult = Sprm::CHARACTER;
break;
</xsl:text>
<xsl:call-template
name=
"sprmkindcase"
>
<xsl:with-param
name=
"kind"
>
table
</xsl:with-param>
</xsl:call-template>
<xsl:text>
nResult = Sprm::TABLE;
break;
</xsl:text>
<xsl:text>
default:
break;
}
return nResult;
}
</xsl:text>
</xsl:template>
<xsl:template
name=
"getfastparser"
>
<xsl:text>
uno::Reference
<
xml::sax::XFastParser
>
OOXMLStreamImpl::getFastParser()
...
...
@@ -327,7 +265,6 @@ namespace ooxml {
<xsl:call-template
name=
"factoryfornamespace"
/>
<xsl:call-template
name=
"factorycreatefromstart"
/>
<xsl:call-template
name=
"fasttokentoid"
/>
<xsl:call-template
name=
"sprmkind"
/>
<xsl:call-template
name=
"getfastparser"
/>
<xsl:text>
/// @endcond
...
...
writerfilter/source/rtftok/rtfsprm.cxx
Dosyayı görüntüle @
f46e3920
...
...
@@ -51,11 +51,6 @@ writerfilter::Reference<Properties>::Pointer_t RTFSprm::getProps()
return
m_pValue
->
getProperties
();
}
Sprm
::
Kind
RTFSprm
::
getKind
()
{
return
Sprm
::
UNKNOWN
;
}
#ifdef DEBUG_DOMAINMAPPER
std
::
string
RTFSprm
::
getName
()
const
{
...
...
writerfilter/source/rtftok/rtfsprm.hxx
Dosyayı görüntüle @
f46e3920
...
...
@@ -110,7 +110,6 @@ public:
virtual
writerfilter
::
Reference
<
BinaryObj
>::
Pointer_t
getBinary
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Stream
>::
Pointer_t
getStream
()
SAL_OVERRIDE
;
virtual
writerfilter
::
Reference
<
Properties
>::
Pointer_t
getProps
()
SAL_OVERRIDE
;
virtual
Kind
getKind
()
SAL_OVERRIDE
;
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
getName
()
const
SAL_OVERRIDE
;
virtual
std
::
string
toString
()
const
SAL_OVERRIDE
;
...
...
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