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
7ec515a7
Kaydet (Commit)
7ec515a7
authored
Nis 16, 2014
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
writerfilter: Hide more debug strings we don't need in production builds.
Change-Id: If30d3a94cd3f18bd5c4856d8a88f6c78e0da3e76
üst
d67da1e7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
OOXMLFactory.cxx
writerfilter/source/ooxml/OOXMLFactory.cxx
+2
-0
OOXMLFactory.hxx
writerfilter/source/ooxml/OOXMLFactory.hxx
+1
-1
factory_ns.xsl
writerfilter/source/ooxml/factory_ns.xsl
+2
-0
factoryimpl_ns.xsl
writerfilter/source/ooxml/factoryimpl_ns.xsl
+2
-0
No files found.
writerfilter/source/ooxml/OOXMLFactory.cxx
Dosyayı görüntüle @
7ec515a7
...
...
@@ -85,10 +85,12 @@ TokenToIdMapPointer OOXMLFactory_ns::getTokenToIdMap(Id nId)
return
m_TokenToIdsMap
[
nId
];
}
#ifdef DEBUG_FACTORY
string
OOXMLFactory_ns
::
getDefineName
(
Id
/*nId*/
)
const
{
return
""
;
}
#endif
// class OOXMLFactory
...
...
writerfilter/source/ooxml/OOXMLFactory.hxx
Dosyayı görüntüle @
7ec515a7
...
...
@@ -102,8 +102,8 @@ public:
virtual
void
charactersAction
(
OOXMLFastContextHandler
*
pHandler
,
const
OUString
&
rString
);
virtual
void
endAction
(
OOXMLFastContextHandler
*
pHandler
);
virtual
void
attributeAction
(
OOXMLFastContextHandler
*
pHandler
,
Token_t
nToken
,
OOXMLValue
::
Pointer_t
pValue
);
virtual
string
getDefineName
(
Id
nId
)
const
;
#ifdef DEBUG_FACTORY
virtual
string
getDefineName
(
Id
nId
)
const
;
virtual
string
getName
()
const
;
#endif
...
...
writerfilter/source/ooxml/factory_ns.xsl
Dosyayı görüntüle @
7ec515a7
...
...
@@ -86,7 +86,9 @@ public:
virtual ListValueMapPointer createListValueMap(Id nId);
virtual CreateElementMapPointer createCreateElementMap(Id nId);
virtual TokenToIdMapPointer createTokenToIdMap(Id nId);
#ifdef DEBUG_FACTORY
virtual string getDefineName(Id nId) const;
</xsl:text>
#endif
<xsl:call-template
name=
"factoryactiondecls"
/>
virtual void attributeAction(OOXMLFastContextHandler * pHandler, Token_t nToken, OOXMLValue::Pointer_t pValue);
...
...
writerfilter/source/ooxml/factoryimpl_ns.xsl
Dosyayı görüntüle @
7ec515a7
...
...
@@ -676,6 +676,7 @@ CreateElementMapPointer </xsl:text>
<xsl:template
name=
"factorygetdefinename"
>
<xsl:text>
#ifdef DEBUG_FACTORY
string
</xsl:text>
<xsl:call-template
name=
"factoryclassname"
/>
<xsl:text>
::getDefineName(Id nId) const
...
...
@@ -699,6 +700,7 @@ string </xsl:text>
return (*pMap)[nId];
}
#endif
</xsl:template>
...
...
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