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
8ec7e525
Kaydet (Commit)
8ec7e525
authored
Agu 06, 2014
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
writerfilter: getDefineName() is unused, kill it.
Change-Id: I7d733a509f8256d0c2bfbb4bbd91ed6924452051
üst
9ff65cb5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
39 deletions
+0
-39
OOXMLFactory.cxx
writerfilter/source/ooxml/OOXMLFactory.cxx
+0
-7
OOXMLFactory.hxx
writerfilter/source/ooxml/OOXMLFactory.hxx
+0
-3
factory_ns.py
writerfilter/source/ooxml/factory_ns.py
+0
-3
factoryimpl_ns.py
writerfilter/source/ooxml/factoryimpl_ns.py
+0
-26
No files found.
writerfilter/source/ooxml/OOXMLFactory.cxx
Dosyayı görüntüle @
8ec7e525
...
@@ -72,13 +72,6 @@ CreateElementMapPointer OOXMLFactory_ns::getCreateElementMap(Id nId)
...
@@ -72,13 +72,6 @@ CreateElementMapPointer OOXMLFactory_ns::getCreateElementMap(Id nId)
return
m_CreateElementsMap
[
nId
];
return
m_CreateElementsMap
[
nId
];
}
}
#ifdef DEBUG_DOMAINMAPPER
std
::
string
OOXMLFactory_ns
::
getDefineName
(
Id
/*nId*/
)
const
{
return
""
;
}
#endif
// class OOXMLFactory
// class OOXMLFactory
typedef
rtl
::
Static
<
osl
::
Mutex
,
OOXMLFactory
>
OOXMLFactory_Mutex
;
typedef
rtl
::
Static
<
osl
::
Mutex
,
OOXMLFactory
>
OOXMLFactory_Mutex
;
...
...
writerfilter/source/ooxml/OOXMLFactory.hxx
Dosyayı görüntüle @
8ec7e525
...
@@ -93,9 +93,6 @@ public:
...
@@ -93,9 +93,6 @@ public:
virtual
void
charactersAction
(
OOXMLFastContextHandler
*
pHandler
,
const
OUString
&
rString
);
virtual
void
charactersAction
(
OOXMLFastContextHandler
*
pHandler
,
const
OUString
&
rString
);
virtual
void
endAction
(
OOXMLFastContextHandler
*
pHandler
);
virtual
void
endAction
(
OOXMLFastContextHandler
*
pHandler
);
virtual
void
attributeAction
(
OOXMLFastContextHandler
*
pHandler
,
Token_t
nToken
,
OOXMLValue
::
Pointer_t
pValue
);
virtual
void
attributeAction
(
OOXMLFastContextHandler
*
pHandler
,
Token_t
nToken
,
OOXMLValue
::
Pointer_t
pValue
);
#ifdef DEBUG_DOMAINMAPPER
virtual
std
::
string
getDefineName
(
Id
nId
)
const
;
#endif
AttributeToResourceMapPointer
getAttributeToResourceMap
(
Id
nId
);
AttributeToResourceMapPointer
getAttributeToResourceMap
(
Id
nId
);
CreateElementMapPointer
getCreateElementMap
(
Id
nId
);
CreateElementMapPointer
getCreateElementMap
(
Id
nId
);
...
...
writerfilter/source/ooxml/factory_ns.py
Dosyayı görüntüle @
8ec7e525
...
@@ -39,9 +39,6 @@ public:
...
@@ -39,9 +39,6 @@ public:
virtual CreateElementMapPointer createCreateElementMap(Id nId);
virtual CreateElementMapPointer createCreateElementMap(Id nId);
virtual bool getListValue(Id nId, const OUString& rValue, sal_uInt32& rOutValue);
virtual bool getListValue(Id nId, const OUString& rValue, sal_uInt32& rOutValue);
virtual Id getResourceId(Id nDefine, sal_Int32 nToken);
virtual Id getResourceId(Id nDefine, sal_Int32 nToken);
#ifdef DEBUG_DOMAINMAPPER
virtual string getDefineName(Id nId) const;
#endif
"""
%
nsToken
)
"""
%
nsToken
)
actions
=
[]
actions
=
[]
...
...
writerfilter/source/ooxml/factoryimpl_ns.py
Dosyayı görüntüle @
8ec7e525
...
@@ -507,31 +507,6 @@ def factoryActions(nsNode):
...
@@ -507,31 +507,6 @@ def factoryActions(nsNode):
print
()
print
()
# factoryGetDefineName
def
factoryGetDefineName
(
nsNode
):
print
(
"""#ifdef DEBUG_DOMAINMAPPER
string OOXMLFactory_
%
s::getDefineName(Id nId) const
{
static IdToStringMapPointer pMap;
if (pMap.get() == NULL)
{
pMap = IdToStringMapPointer(new IdToStringMap());
"""
%
nsToLabel
(
nsNode
))
for
defineNode
in
getChildrenByName
(
getChildByName
(
nsNode
,
"grammar"
),
"define"
):
print
(
""" (*pMap)[
%
s] = "
%
s";"""
%
(
idForDefine
(
nsNode
,
defineNode
),
defineNode
.
getAttribute
(
"name"
)))
print
(
""" }
return (*pMap)[nId];
}
#endif
"""
)
# factoryGetResourceId
# factoryGetResourceId
...
@@ -704,7 +679,6 @@ namespace ooxml {
...
@@ -704,7 +679,6 @@ namespace ooxml {
factoryGetListValue
(
nsNode
)
factoryGetListValue
(
nsNode
)
factoryCreateElementMap
(
files
,
nsNode
)
factoryCreateElementMap
(
files
,
nsNode
)
factoryActions
(
nsNode
)
factoryActions
(
nsNode
)
factoryGetDefineName
(
nsNode
)
factoryGetResourceId
(
nsNode
)
factoryGetResourceId
(
nsNode
)
factoryAttributeAction
(
nsNode
)
factoryAttributeAction
(
nsNode
)
...
...
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