[Libreoffice-commits] core.git: dbaccess/source editeng/source filter/source include/xmloff linguistic/source reportdesign/source sc/source starmath/source svx/source sw/source xmloff/inc xmloff/source
Stephan Bergmann
sbergman at redhat.com
Tue Mar 29 07:12:21 UTC 2016
dbaccess/source/filter/xml/xmlExport.cxx | 34 ++---
dbaccess/source/filter/xml/xmlExport.hxx | 10 -
editeng/source/misc/SvXMLAutoCorrectExport.cxx | 12 -
editeng/source/misc/SvXMLAutoCorrectExport.hxx | 12 -
editeng/source/xml/xmltxtexp.cxx | 12 -
filter/source/svg/svgexport.cxx | 6
filter/source/svg/svgfilter.hxx | 8 -
include/xmloff/nmspmap.hxx | 6
include/xmloff/txtstyli.hxx | 2
include/xmloff/xmlexp.hxx | 20 +--
include/xmloff/xmlexppr.hxx | 2
include/xmloff/xmlimp.hxx | 10 -
include/xmloff/xmlimppr.hxx | 22 +--
include/xmloff/xmlmetae.hxx | 2
linguistic/source/convdicxml.cxx | 10 -
linguistic/source/convdicxml.hxx | 6
reportdesign/source/filter/xml/xmlExport.cxx | 46 +++----
reportdesign/source/filter/xml/xmlExport.hxx | 10 -
sc/source/filter/xml/xmlexprt.cxx | 26 ++--
sc/source/filter/xml/xmlexprt.hxx | 12 -
sc/source/filter/xml/xmlimprt.cxx | 2
starmath/source/mathmlexport.cxx | 6
starmath/source/mathmlexport.hxx | 6
svx/source/inc/xmlxtexp.hxx | 6
svx/source/xml/xmlxtexp.cxx | 16 +-
sw/source/core/inc/SwXMLBlockExport.hxx | 12 -
sw/source/core/swg/SwXMLBlockExport.cxx | 24 +--
sw/source/filter/xml/xmlexp.cxx | 10 -
sw/source/filter/xml/xmlexp.hxx | 12 -
sw/source/filter/xml/xmlfmte.cxx | 8 -
sw/source/filter/xml/xmlmeta.cxx | 4
sw/source/filter/xml/xmltbli.cxx | 2
sw/source/uibase/config/StoredChapterNumbering.cxx | 36 ++---
xmloff/inc/MetaExportComponent.hxx | 8 -
xmloff/inc/SchXMLExport.hxx | 8 -
xmloff/inc/xmlversion.hxx | 6
xmloff/source/chart/SchXMLExport.cxx | 12 -
xmloff/source/core/DomBuilderContext.cxx | 2
xmloff/source/core/RDFaImportHelper.cxx | 2
xmloff/source/core/nmspmap.cxx | 18 +-
xmloff/source/core/xmlexp.cxx | 60 ++++-----
xmloff/source/core/xmlimp.cxx | 136 ++++++++++-----------
xmloff/source/draw/XMLShapeStyleContext.cxx | 2
xmloff/source/draw/sdxmlexp.cxx | 26 ++--
xmloff/source/draw/sdxmlexp_impl.hxx | 12 -
xmloff/source/draw/ximpstyl.cxx | 2
xmloff/source/meta/MetaExportComponent.cxx | 12 -
xmloff/source/meta/xmlmetae.cxx | 4
xmloff/source/meta/xmlversion.cxx | 12 -
xmloff/source/style/PageMasterImportContext.cxx | 2
xmloff/source/style/xmlexppr.cxx | 6
xmloff/source/style/xmlimppr.cxx | 32 ++--
xmloff/source/text/XMLAutoTextEventExport.cxx | 14 +-
xmloff/source/text/XMLAutoTextEventExport.hxx | 14 +-
xmloff/source/text/XMLSectionImportContext.cxx | 2
xmloff/source/text/txtfldi.cxx | 8 -
xmloff/source/text/txtimp.cxx | 4
xmloff/source/text/txtstyli.cxx | 2
xmloff/source/text/txtvfldi.cxx | 4
xmloff/source/transform/TransformerBase.cxx | 2
60 files changed, 412 insertions(+), 412 deletions(-)
New commits:
commit 9b1307f790c550d91b062cbdf1e3fe41d7e7ea4a
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 29 08:07:14 2016 +0200
Avoid reserved identifiers
Change-Id: I759939aa74570be63f5d41814c22aad1851d65c4
Reviewed-on: https://gerrit.libreoffice.org/23587
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx
index f1b5a55..7fcbd4a 100644
--- a/dbaccess/source/filter/xml/xmlExport.cxx
+++ b/dbaccess/source/filter/xml/xmlExport.cxx
@@ -191,31 +191,31 @@ ODBExport::ODBExport(const Reference< XComponentContext >& _rxContext, OUString
GetMM100UnitConverter().SetCoreMeasureUnit(util::MeasureUnit::MM_10TH);
GetMM100UnitConverter().SetXMLMeasureUnit(util::MeasureUnit::CM);
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_OFFICE), GetXMLToken(XML_N_OFFICE), XML_NAMESPACE_OFFICE );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_OOO), GetXMLToken(XML_N_OOO), XML_NAMESPACE_OOO );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_SVG), GetXMLToken(XML_N_SVG), XML_NAMESPACE_SVG );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_OFFICE), GetXMLToken(XML_N_OFFICE), XML_NAMESPACE_OFFICE );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_OOO), GetXMLToken(XML_N_OOO), XML_NAMESPACE_OOO );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_SVG), GetXMLToken(XML_N_SVG), XML_NAMESPACE_SVG );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_DB), GetXMLToken(XML_N_DB_OASIS), XML_NAMESPACE_DB );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_DB), GetXMLToken(XML_N_DB_OASIS), XML_NAMESPACE_DB );
if( nExportFlag & (SvXMLExportFlags::STYLES|SvXMLExportFlags::MASTERSTYLES|SvXMLExportFlags::AUTOSTYLES|SvXMLExportFlags::FONTDECLS) )
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_FO), GetXMLToken(XML_N_FO_COMPAT), XML_NAMESPACE_FO );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_FO), GetXMLToken(XML_N_FO_COMPAT), XML_NAMESPACE_FO );
if( nExportFlag & (SvXMLExportFlags::META|SvXMLExportFlags::STYLES|SvXMLExportFlags::MASTERSTYLES|SvXMLExportFlags::AUTOSTYLES|SvXMLExportFlags::CONTENT|SvXMLExportFlags::SCRIPTS|SvXMLExportFlags::SETTINGS) )
{
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_XLINK), GetXMLToken(XML_N_XLINK), XML_NAMESPACE_XLINK );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_XLINK), GetXMLToken(XML_N_XLINK), XML_NAMESPACE_XLINK );
}
if( nExportFlag & SvXMLExportFlags::SETTINGS )
{
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_CONFIG), GetXMLToken(XML_N_CONFIG), XML_NAMESPACE_CONFIG );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_CONFIG), GetXMLToken(XML_N_CONFIG), XML_NAMESPACE_CONFIG );
}
if( nExportFlag & (SvXMLExportFlags::STYLES|SvXMLExportFlags::MASTERSTYLES|SvXMLExportFlags::AUTOSTYLES|SvXMLExportFlags::CONTENT|SvXMLExportFlags::FONTDECLS) )
{
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_STYLE), GetXMLToken(XML_N_STYLE), XML_NAMESPACE_STYLE );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_STYLE), GetXMLToken(XML_N_STYLE), XML_NAMESPACE_STYLE );
}
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_TABLE), GetXMLToken(XML_N_TABLE), XML_NAMESPACE_TABLE );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_NUMBER), GetXMLToken(XML_N_NUMBER), XML_NAMESPACE_NUMBER );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_TABLE), GetXMLToken(XML_N_TABLE), XML_NAMESPACE_TABLE );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_NUMBER), GetXMLToken(XML_N_NUMBER), XML_NAMESPACE_NUMBER );
m_xExportHelper = new SvXMLExportPropertyMapper(GetTableStylesPropertySetMapper());
m_xColumnExportHelper = new OSpecialHandleXMLExportPropertyMapper(GetColumnStylesPropertySetMapper());
@@ -1216,7 +1216,7 @@ void ODBExport::exportAutoStyle(XPropertySet* _xProp)
}
}
-void ODBExport::_ExportContent()
+void ODBExport::ExportContent_()
{
exportDataSource();
exportForms();
@@ -1225,12 +1225,12 @@ void ODBExport::_ExportContent()
exportTables(true);
}
-void ODBExport::_ExportMasterStyles()
+void ODBExport::ExportMasterStyles_()
{
GetPageExport()->exportMasterStyles( true );
}
-void ODBExport::_ExportAutoStyles()
+void ODBExport::ExportAutoStyles_()
{
// there are no styles that require their own autostyles
if ( getExportFlags() & SvXMLExportFlags::CONTENT )
@@ -1260,9 +1260,9 @@ void ODBExport::_ExportAutoStyles()
}
}
-void ODBExport::_ExportStyles(bool bUsed)
+void ODBExport::ExportStyles_(bool bUsed)
{
- SvXMLExport::_ExportStyles(bUsed);
+ SvXMLExport::ExportStyles_(bUsed);
}
sal_uInt32 ODBExport::exportDoc(enum ::xmloff::token::XMLTokenEnum eClass)
@@ -1407,11 +1407,11 @@ void SAL_CALL ODBExport::setSourceDocument( const Reference< XComponent >& xDoc
SvXMLExport::setSourceDocument(xDoc);
}
-void ODBExport::_ExportFontDecls()
+void ODBExport::ExportFontDecls_()
{
GetFontAutoStylePool(); // make sure the pool is created
collectComponentStyles();
- SvXMLExport::_ExportFontDecls();
+ SvXMLExport::ExportFontDecls_();
}
void ODBExport::collectComponentStyles()
diff --git a/dbaccess/source/filter/xml/xmlExport.hxx b/dbaccess/source/filter/xml/xmlExport.hxx
index 57c8249..ad6d3eb 100644
--- a/dbaccess/source/filter/xml/xmlExport.hxx
+++ b/dbaccess/source/filter/xml/xmlExport.hxx
@@ -160,11 +160,11 @@ private:
ODBExport();
protected:
- virtual void _ExportStyles( bool bUsed ) override;
- virtual void _ExportAutoStyles() override;
- virtual void _ExportContent() override;
- virtual void _ExportMasterStyles() override;
- virtual void _ExportFontDecls() override;
+ virtual void ExportStyles_( bool bUsed ) override;
+ virtual void ExportAutoStyles_() override;
+ virtual void ExportContent_() override;
+ virtual void ExportMasterStyles_() override;
+ virtual void ExportFontDecls_() override;
virtual sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass ) override;
virtual SvXMLAutoStylePoolP* CreateAutoStylePool() override;
diff --git a/editeng/source/misc/SvXMLAutoCorrectExport.cxx b/editeng/source/misc/SvXMLAutoCorrectExport.cxx
index 07189ce..a89a374 100644
--- a/editeng/source/misc/SvXMLAutoCorrectExport.cxx
+++ b/editeng/source/misc/SvXMLAutoCorrectExport.cxx
@@ -34,7 +34,7 @@ SvXMLAutoCorrectExport::SvXMLAutoCorrectExport(
: SvXMLExport( xContext, "", rFileName, util::MeasureUnit::CM, rHandler ),
pAutocorr_List( pNewAutocorr_List )
{
- _GetNamespaceMap().Add( GetXMLToken ( XML_NP_BLOCK_LIST),
+ GetNamespaceMap_().Add( GetXMLToken ( XML_NP_BLOCK_LIST),
GetXMLToken ( XML_N_BLOCK_LIST ),
XML_NAMESPACE_BLOCKLIST );
}
@@ -46,8 +46,8 @@ sal_uInt32 SvXMLAutoCorrectExport::exportDoc(enum XMLTokenEnum /*eClass*/)
addChaffWhenEncryptedStorage();
AddAttribute ( XML_NAMESPACE_NONE,
- _GetNamespaceMap().GetAttrNameByKey ( XML_NAMESPACE_BLOCKLIST ),
- _GetNamespaceMap().GetNameByKey ( XML_NAMESPACE_BLOCKLIST ) );
+ GetNamespaceMap_().GetAttrNameByKey ( XML_NAMESPACE_BLOCKLIST ),
+ GetNamespaceMap_().GetNameByKey ( XML_NAMESPACE_BLOCKLIST ) );
{
SvXMLElementExport aRoot (*this, XML_NAMESPACE_BLOCKLIST, XML_BLOCK_LIST, true, true);
SvxAutocorrWordList::Content aContent = pAutocorr_List->getSortedContent();
@@ -78,7 +78,7 @@ SvXMLExceptionListExport::SvXMLExceptionListExport(
: SvXMLExport( xContext, "", rFileName, util::MeasureUnit::CM, rHandler ),
rList( rNewList )
{
- _GetNamespaceMap().Add( GetXMLToken ( XML_NP_BLOCK_LIST ),
+ GetNamespaceMap_().Add( GetXMLToken ( XML_NP_BLOCK_LIST ),
GetXMLToken ( XML_N_BLOCK_LIST ),
XML_NAMESPACE_BLOCKLIST );
}
@@ -90,8 +90,8 @@ sal_uInt32 SvXMLExceptionListExport::exportDoc(enum XMLTokenEnum /*eClass*/)
addChaffWhenEncryptedStorage();
AddAttribute ( XML_NAMESPACE_NONE,
- _GetNamespaceMap().GetAttrNameByKey ( XML_NAMESPACE_BLOCKLIST ),
- _GetNamespaceMap().GetNameByKey ( XML_NAMESPACE_BLOCKLIST ) );
+ GetNamespaceMap_().GetAttrNameByKey ( XML_NAMESPACE_BLOCKLIST ),
+ GetNamespaceMap_().GetNameByKey ( XML_NAMESPACE_BLOCKLIST ) );
{
SvXMLElementExport aRoot (*this, XML_NAMESPACE_BLOCKLIST, XML_BLOCK_LIST, true, true);
sal_uInt16 nBlocks= rList.size();
diff --git a/editeng/source/misc/SvXMLAutoCorrectExport.hxx b/editeng/source/misc/SvXMLAutoCorrectExport.hxx
index 548b7c9..604fb7e 100644
--- a/editeng/source/misc/SvXMLAutoCorrectExport.hxx
+++ b/editeng/source/misc/SvXMLAutoCorrectExport.hxx
@@ -38,9 +38,9 @@ public:
virtual ~SvXMLAutoCorrectExport() {}
sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum eClass) override;
- void _ExportAutoStyles() override {}
- void _ExportMasterStyles () override {}
- void _ExportContent() override {}
+ void ExportAutoStyles_() override {}
+ void ExportMasterStyles_ () override {}
+ void ExportContent_() override {}
};
class SvStringsISortDtor;
@@ -58,9 +58,9 @@ public:
virtual ~SvXMLExceptionListExport() {}
sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum eClass) override;
- void _ExportAutoStyles() override {}
- void _ExportMasterStyles () override {}
- void _ExportContent() override {}
+ void ExportAutoStyles_() override {}
+ void ExportMasterStyles_ () override {}
+ void ExportContent_() override {}
};
#endif
diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx
index 08312ac..e7fb670 100644
--- a/editeng/source/xml/xmltxtexp.cxx
+++ b/editeng/source/xml/xmltxtexp.cxx
@@ -324,9 +324,9 @@ public:
virtual ~SvxXMLTextExportComponent();
// methods without content:
- virtual void _ExportAutoStyles() override;
- virtual void _ExportMasterStyles() override;
- virtual void _ExportContent() override;
+ virtual void ExportAutoStyles_() override;
+ virtual void ExportMasterStyles_() override;
+ virtual void ExportContent_() override;
private:
css::uno::Reference< css::text::XText > mxText;
@@ -413,7 +413,7 @@ void SvxWriteXML( EditEngine& rEditEngine, SvStream& rStream, const ESelection&
}
// methods without content:
-void SvxXMLTextExportComponent::_ExportAutoStyles()
+void SvxXMLTextExportComponent::ExportAutoStyles_()
{
rtl::Reference< XMLTextParagraphExport > xTextExport( GetTextParagraphExport() );
@@ -421,13 +421,13 @@ void SvxXMLTextExportComponent::_ExportAutoStyles()
xTextExport->exportTextAutoStyles();
}
-void SvxXMLTextExportComponent::_ExportContent()
+void SvxXMLTextExportComponent::ExportContent_()
{
rtl::Reference< XMLTextParagraphExport > xTextExport( GetTextParagraphExport() );
xTextExport->exportText( mxText );
}
-void SvxXMLTextExportComponent::_ExportMasterStyles() {}
+void SvxXMLTextExportComponent::ExportMasterStyles_() {}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx
index d66c8aa..8e06845 100644
--- a/filter/source/svg/svgexport.cxx
+++ b/filter/source/svg/svgexport.cxx
@@ -358,17 +358,17 @@ SVGExport::SVGExport(
mbIsUsePositionedCharacters = aFilterDataHashMap.getUnpackedValueOrDefault(SVG_PROP_POSITIONED_CHARACTERS, false);
// add namespaces
- _GetNamespaceMap().Add(
+ GetNamespaceMap_().Add(
GetXMLToken(XML_NP_PRESENTATION),
GetXMLToken(XML_N_PRESENTATION),
XML_NAMESPACE_PRESENTATION);
- _GetNamespaceMap().Add(
+ GetNamespaceMap_().Add(
GetXMLToken(XML_NP_SMIL),
GetXMLToken(XML_N_SMIL_COMPAT),
XML_NAMESPACE_SMIL);
- _GetNamespaceMap().Add(
+ GetNamespaceMap_().Add(
GetXMLToken(XML_NP_ANIMATION),
GetXMLToken(XML_N_ANIMATION),
XML_NAMESPACE_ANIMATION);
diff --git a/filter/source/svg/svgfilter.hxx b/filter/source/svg/svgfilter.hxx
index fc929d6..0d1921d 100644
--- a/filter/source/svg/svgfilter.hxx
+++ b/filter/source/svg/svgfilter.hxx
@@ -114,10 +114,10 @@ public:
protected:
- virtual void _ExportStyles( bool /* bUsed */ ) override {}
- virtual void _ExportAutoStyles() override {}
- virtual void _ExportContent() override {}
- virtual void _ExportMasterStyles() override {}
+ virtual void ExportStyles_( bool /* bUsed */ ) override {}
+ virtual void ExportAutoStyles_() override {}
+ virtual void ExportContent_() override {}
+ virtual void ExportMasterStyles_() override {}
virtual sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum /* eClass */ ) override { return 0; }
private:
diff --git a/include/xmloff/nmspmap.hxx b/include/xmloff/nmspmap.hxx
index 818ff1a..d182967 100644
--- a/include/xmloff/nmspmap.hxx
+++ b/include/xmloff/nmspmap.hxx
@@ -80,7 +80,7 @@ class XMLOFF_DLLPUBLIC SvXMLNamespaceMap
mutable NameSpaceHash aNameCache;
NameSpaceMap aNameMap;
mutable QNameCache aQNameCache;
- SAL_DLLPRIVATE sal_uInt16 _Add( const OUString& rPrefix, const OUString &rName, sal_uInt16 nKey );
+ SAL_DLLPRIVATE sal_uInt16 Add_( const OUString& rPrefix, const OUString &rName, sal_uInt16 nKey );
public:
@@ -111,14 +111,14 @@ public:
OUString GetAttrNameByKey( sal_uInt16 nKey ) const;
/* This will replace the version with the unused 5th default parameter */
- sal_uInt16 _GetKeyByAttrName( const OUString& rAttrName,
+ sal_uInt16 GetKeyByAttrName_( const OUString& rAttrName,
OUString *pPrefix,
OUString *pLocalName,
OUString *pNamespace = nullptr,
bool bCache = true) const;
/* This will replace the version with the unused 3rd default parameter */
- sal_uInt16 _GetKeyByAttrName( const OUString& rAttrName,
+ sal_uInt16 GetKeyByAttrName_( const OUString& rAttrName,
OUString *pLocalName = nullptr) const;
sal_uInt16 GetFirstKey() const;
diff --git a/include/xmloff/txtstyli.hxx b/include/xmloff/txtstyli.hxx
index 8a1ec1f..bfcd7fc 100644
--- a/include/xmloff/txtstyli.hxx
+++ b/include/xmloff/txtstyli.hxx
@@ -99,7 +99,7 @@ public:
inline bool HasCombinedCharactersLetter()
{ return bHasCombinedCharactersLetter; }
- const ::std::vector< XMLPropertyState > & _GetProperties() { return GetProperties(); }
+ const ::std::vector< XMLPropertyState > & GetProperties_() { return GetProperties(); }
};
#endif
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx
index 27016cf..38f08c7 100644
--- a/include/xmloff/xmlexp.hxx
+++ b/include/xmloff/xmlexp.hxx
@@ -155,7 +155,7 @@ class XMLOFF_DLLPUBLIC SvXMLExport : public ::cppu::WeakImplHelper6<
XMLErrors* mpXMLErrors;
const enum ::xmloff::token::XMLTokenEnum meClass;
- SAL_DLLPRIVATE void _InitCtor();
+ SAL_DLLPRIVATE void InitCtor_();
SvXMLExportFlags mnExportFlags;
SvXMLErrorFlags mnErrorFlags;
@@ -168,7 +168,7 @@ private:
// Shapes in Writer cannot be named via context menu (#i51726#)
SvtModuleOptions::EFactory meModelType;
- SAL_DLLPRIVATE void _DetermineModelType();
+ SAL_DLLPRIVATE void DetermineModelType_();
SAL_DLLPRIVATE void ImplExportMeta(); // <office:meta>
SAL_DLLPRIVATE void ImplExportSettings(); // <office:settings>
@@ -185,37 +185,37 @@ protected:
void setExportFlags( SvXMLExportFlags nExportFlags ) { mnExportFlags = nExportFlags; }
// Get (modifyable) namespace map
- SvXMLNamespaceMap& _GetNamespaceMap() { return *mpNamespaceMap; }
+ SvXMLNamespaceMap& GetNamespaceMap_() { return *mpNamespaceMap; }
// get a new namespave map (used in starmath to have a default namespace)
void ResetNamespaceMap();
/// Override this method to export the content of <office:meta>.
/// There is a default implementation.
- virtual void _ExportMeta();
+ virtual void ExportMeta_();
/// Override this method to export the content of <office:scripts>.
/// There is a default implementation.
- virtual void _ExportScripts();
+ virtual void ExportScripts_();
/// Override this method to export the font declarations
/// The default implementation will export the contents of the
/// XMLFontAutoStylePool if it has been created.
- virtual void _ExportFontDecls();
+ virtual void ExportFontDecls_();
/// Override this method to export the content of <style:styles>.
/// If bUsed is set, used styles should be exported only.
/// Overriding Methods must call this method !
- virtual void _ExportStyles( bool bUsed );
+ virtual void ExportStyles_( bool bUsed );
/// Override this method to export the contents of <style:auto-styles>.
- virtual void _ExportAutoStyles() = 0;
+ virtual void ExportAutoStyles_() = 0;
/// Override this method to export the contents of <style:master-styles>.
- virtual void _ExportMasterStyles() = 0;
+ virtual void ExportMasterStyles_() = 0;
/// Override this method to export the content of <office:body>.
- virtual void _ExportContent() = 0;
+ virtual void ExportContent_() = 0;
OUString GetSourceShellID() const;
OUString GetDestinationShellID() const;
diff --git a/include/xmloff/xmlexppr.hxx b/include/xmloff/xmlexppr.hxx
index 0c2c32f..b293e76 100644
--- a/include/xmloff/xmlexppr.hxx
+++ b/include/xmloff/xmlexppr.hxx
@@ -63,7 +63,7 @@ protected:
default and isn't inherited, apart from bDefault is true)
After this process It'll called 'Contextfilter' for application-specific
filter-processes. */
- std::vector<XMLPropertyState> _Filter(
+ std::vector<XMLPropertyState> Filter_(
const css::uno::Reference<css::beans::XPropertySet>& rPropSet,
bool bDefault, bool bDisableFoFontFamily ) const;
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx
index 6c5ae70..6cc8607 100644
--- a/include/xmloff/xmlimp.hxx
+++ b/include/xmloff/xmlimp.hxx
@@ -154,7 +154,7 @@ class XMLOFF_DLLPUBLIC SvXMLImport : public ::cppu::WeakImplHelper7<
StyleMap *mpStyleMap;
OUString msPackageProtocol;
- SAL_DLLPRIVATE void _InitCtor();
+ SAL_DLLPRIVATE void InitCtor_();
SvXMLImportFlags mnImportFlags;
SvXMLErrorFlags mnErrorFlags;
@@ -198,8 +198,8 @@ protected:
void SetGraphicResolver( css::uno::Reference< css::document::XGraphicObjectResolver >& _xGraphicResolver );
- void _CreateNumberFormatsSupplier();
- void _CreateDataStylesImport();
+ void CreateNumberFormatsSupplier_();
+ void CreateDataStylesImport_();
public:
// SvXMLImport( sal_uInt16 nImportFlags = IMPORT_ALL ) throw();
@@ -567,7 +567,7 @@ inline void SvXMLImport::SetGraphicResolver(
inline css::uno::Reference< css::util::XNumberFormatsSupplier > & SvXMLImport::GetNumberFormatsSupplier()
{
if ( ! mxNumberFormatsSupplier.is() && mxModel.is() )
- _CreateNumberFormatsSupplier();
+ CreateNumberFormatsSupplier_();
return mxNumberFormatsSupplier;
}
@@ -575,7 +575,7 @@ inline css::uno::Reference< css::util::XNumberFormatsSupplier > & SvXMLImport::G
inline SvXMLNumFmtHelper* SvXMLImport::GetDataStylesImport()
{
if ( mpNumImport == nullptr)
- _CreateDataStylesImport();
+ CreateDataStylesImport_();
return mpNumImport;
}
diff --git a/include/xmloff/xmlimppr.hxx b/include/xmloff/xmlimppr.hxx
index de1908f..640d7bb 100644
--- a/include/xmloff/xmlimppr.hxx
+++ b/include/xmloff/xmlimppr.hxx
@@ -45,7 +45,7 @@ class SvXMLImport;
*
* It should not be used in any other context.
*/
-struct _ContextID_Index_Pair
+struct ContextID_Index_Pair
{
sal_Int16 nContextID;
sal_Int32 nIndex;
@@ -106,12 +106,12 @@ public:
void CheckSpecialContext(
const ::std::vector< XMLPropertyState >& rProperties,
const css::uno::Reference< css::beans::XPropertySet >& rPropSet,
- _ContextID_Index_Pair* pSpecialContextIds ) const;
+ ContextID_Index_Pair* pSpecialContextIds ) const;
bool FillPropertySet(
const ::std::vector< XMLPropertyState >& rProperties,
const css::uno::Reference< css::beans::XPropertySet >& rPropSet,
- _ContextID_Index_Pair* pSpecialContextIds = nullptr ) const;
+ ContextID_Index_Pair* pSpecialContextIds = nullptr ) const;
void FillPropertySequence(
const ::std::vector< XMLPropertyState >& aProperties,
@@ -124,7 +124,7 @@ public:
/** implementation helper for FillPropertySet: fill an XPropertySet.
* Exceptions will be asserted. */
- static bool _FillPropertySet(
+ static bool FillPropertySet_(
const ::std::vector<XMLPropertyState> & rProperties,
const css::uno::Reference< css::beans::XPropertySet> & rPropSet,
const css::uno::Reference< css::beans::XPropertySetInfo> & rPropSetInfo,
@@ -133,11 +133,11 @@ public:
// parameter for use by txtstyli.cxx; allows efficient
// catching the combined characters property
- _ContextID_Index_Pair* pSpecialContextIds = nullptr );
+ ContextID_Index_Pair* pSpecialContextIds = nullptr );
/** implementation helper for FillPropertySet: fill an XMultiPropertySet.
* If unsuccessul, set return value. */
- static bool _FillMultiPropertySet(
+ static bool FillMultiPropertySet_(
const ::std::vector<XMLPropertyState> & rProperties,
const css::uno::Reference< css::beans::XMultiPropertySet> & rMultiPropSet,
const css::uno::Reference< css::beans::XPropertySetInfo> & rPropSetInfo,
@@ -145,11 +145,11 @@ public:
// parameters for use by txtstyli.cxx; allows efficient
// catching the combined characters property
- _ContextID_Index_Pair* pSpecialContextIds = nullptr );
+ ContextID_Index_Pair* pSpecialContextIds = nullptr );
/** implementation helper for FillPropertySet: fill an XTolerantMultiPropertySet.
* If unsuccessul, set return value. */
- static bool _FillTolerantMultiPropertySet(
+ static bool FillTolerantMultiPropertySet_(
const ::std::vector<XMLPropertyState> & rProperties,
const css::uno::Reference< css::beans::XTolerantMultiPropertySet> & rTolPropSet,
const rtl::Reference<XMLPropertySetMapper> & rPropMapper,
@@ -157,14 +157,14 @@ public:
// parameters for use by txtstyli.cxx; allows efficient
// catching the combined characters property
- _ContextID_Index_Pair* pSpecialContextIds = nullptr );
+ ContextID_Index_Pair* pSpecialContextIds = nullptr );
- static void _PrepareForMultiPropertySet(
+ static void PrepareForMultiPropertySet_(
const ::std::vector<XMLPropertyState> & rProperties,
const css::uno::Reference< css::beans::XPropertySetInfo> & rPropSetInfo,
const rtl::Reference<XMLPropertySetMapper> & rPropMapper,
- _ContextID_Index_Pair* pSpecialContextIds,
+ ContextID_Index_Pair* pSpecialContextIds,
css::uno::Sequence< OUString >& rNames,
css::uno::Sequence< css::uno::Any >& rValues);
};
diff --git a/include/xmloff/xmlmetae.hxx b/include/xmloff/xmlmetae.hxx
index 4fb72d0..94505f7 100644
--- a/include/xmloff/xmlmetae.hxx
+++ b/include/xmloff/xmlmetae.hxx
@@ -65,7 +65,7 @@ private:
enum ::xmloff::token::XMLTokenEnum eElementName );
/// currently unused; for exporting via the XDocumentProperties interface
- SAL_DLLPRIVATE void _MExport();
+ SAL_DLLPRIVATE void MExport_();
public:
SvXMLMetaExport( SvXMLExport& i_rExport,
diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx
index 62843b2..747401e 100644
--- a/linguistic/source/convdicxml.cxx
+++ b/linguistic/source/convdicxml.cxx
@@ -301,14 +301,14 @@ bool ConvDicXMLExport::Export()
sal_uInt32 ConvDicXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum /*eClass*/ )
{
- _GetNamespaceMap().Add( "tcd",
+ GetNamespaceMap_().Add( "tcd",
XML_NAMESPACE_TCD_STRING, XML_NAMESPACE_TCD );
GetDocHandler()->startDocument();
// Add xmlns line and some other arguments
- AddAttribute( _GetNamespaceMap().GetAttrNameByKey( XML_NAMESPACE_TCD ),
- _GetNamespaceMap().GetNameByKey( XML_NAMESPACE_TCD ) );
+ AddAttribute( GetNamespaceMap_().GetAttrNameByKey( XML_NAMESPACE_TCD ),
+ GetNamespaceMap_().GetNameByKey( XML_NAMESPACE_TCD ) );
AddAttributeASCII( XML_NAMESPACE_TCD, "package", "org.openoffice.Office" );
OUString aIsoLang( LanguageTag::convertToBcp47( rDic.nLanguage ) );
@@ -320,7 +320,7 @@ sal_uInt32 ConvDicXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum /*eCl
//!! before the call to endDocument
{
SvXMLElementExport aRoot( *this, XML_NAMESPACE_TCD, "text-conversion-dictionary", true, true );
- _ExportContent();
+ ExportContent_();
}
GetDocHandler()->endDocument();
@@ -330,7 +330,7 @@ sal_uInt32 ConvDicXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum /*eCl
}
-void ConvDicXMLExport::_ExportContent()
+void ConvDicXMLExport::ExportContent_()
{
// acquire sorted list of all keys
ConvMapKeySet aKeySet;
diff --git a/linguistic/source/convdicxml.hxx b/linguistic/source/convdicxml.hxx
index 2966c2b..c96c4a8 100644
--- a/linguistic/source/convdicxml.hxx
+++ b/linguistic/source/convdicxml.hxx
@@ -57,9 +57,9 @@ public:
}
// SvXMLExport
- void _ExportAutoStyles() override {}
- void _ExportMasterStyles() override {}
- void _ExportContent() override;
+ void ExportAutoStyles_() override {}
+ void ExportMasterStyles_() override {}
+ void ExportContent_() override;
sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass ) override;
bool Export();
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx
index 59bdd04..47790b1 100644
--- a/reportdesign/source/filter/xml/xmlExport.cxx
+++ b/reportdesign/source/filter/xml/xmlExport.cxx
@@ -216,40 +216,40 @@ ORptExport::ORptExport(const Reference< XComponentContext >& _rxContext, OUStrin
GetMM100UnitConverter().SetXMLMeasureUnit(css::util::MeasureUnit::CM);
// (getExportFlags() & EXPORT_CONTENT) != 0 ? : XML_N_OOO
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_OFFICE), GetXMLToken(XML_N_OFFICE ), XML_NAMESPACE_OFFICE );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_OOO), GetXMLToken(XML_N_OOO), XML_NAMESPACE_OOO );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_OFFICE), GetXMLToken(XML_N_OFFICE ), XML_NAMESPACE_OFFICE );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_OOO), GetXMLToken(XML_N_OOO), XML_NAMESPACE_OOO );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_RPT), GetXMLToken(XML_N_RPT), XML_NAMESPACE_REPORT );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_SVG), GetXMLToken(XML_N_SVG_COMPAT), XML_NAMESPACE_SVG );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_FORM), GetXMLToken(XML_N_FORM), XML_NAMESPACE_FORM );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_DRAW), GetXMLToken(XML_N_DRAW), XML_NAMESPACE_DRAW );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_TEXT), GetXMLToken(XML_N_TEXT), XML_NAMESPACE_TEXT );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_RPT), GetXMLToken(XML_N_RPT), XML_NAMESPACE_REPORT );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_SVG), GetXMLToken(XML_N_SVG_COMPAT), XML_NAMESPACE_SVG );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_FORM), GetXMLToken(XML_N_FORM), XML_NAMESPACE_FORM );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_DRAW), GetXMLToken(XML_N_DRAW), XML_NAMESPACE_DRAW );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_TEXT), GetXMLToken(XML_N_TEXT), XML_NAMESPACE_TEXT );
if( getExportFlags() & (SvXMLExportFlags::STYLES|SvXMLExportFlags::MASTERSTYLES|SvXMLExportFlags::AUTOSTYLES|SvXMLExportFlags::FONTDECLS) )
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_FO), GetXMLToken(XML_N_FO_COMPAT), XML_NAMESPACE_FO );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_FO), GetXMLToken(XML_N_FO_COMPAT), XML_NAMESPACE_FO );
if( getExportFlags() & (SvXMLExportFlags::META|SvXMLExportFlags::STYLES|SvXMLExportFlags::MASTERSTYLES|SvXMLExportFlags::AUTOSTYLES|SvXMLExportFlags::CONTENT|SvXMLExportFlags::SCRIPTS|SvXMLExportFlags::SETTINGS) )
{
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_XLINK), GetXMLToken(XML_N_XLINK), XML_NAMESPACE_XLINK );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_XLINK), GetXMLToken(XML_N_XLINK), XML_NAMESPACE_XLINK );
}
if( getExportFlags() & SvXMLExportFlags::SETTINGS )
{
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_CONFIG), GetXMLToken(XML_N_CONFIG), XML_NAMESPACE_CONFIG );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_CONFIG), GetXMLToken(XML_N_CONFIG), XML_NAMESPACE_CONFIG );
}
if( getExportFlags() & (SvXMLExportFlags::STYLES|SvXMLExportFlags::MASTERSTYLES|SvXMLExportFlags::AUTOSTYLES|SvXMLExportFlags::CONTENT|SvXMLExportFlags::FONTDECLS) )
{
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_STYLE), GetXMLToken(XML_N_STYLE), XML_NAMESPACE_STYLE );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_STYLE), GetXMLToken(XML_N_STYLE), XML_NAMESPACE_STYLE );
}
// RDFa: needed for content and header/footer styles
if( getExportFlags() & (SvXMLExportFlags::STYLES|SvXMLExportFlags::AUTOSTYLES|SvXMLExportFlags::MASTERSTYLES|SvXMLExportFlags::CONTENT) )
{
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_XHTML),GetXMLToken(XML_N_XHTML), XML_NAMESPACE_XHTML );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_XHTML),GetXMLToken(XML_N_XHTML), XML_NAMESPACE_XHTML );
// loext, needed for paragraphs inside shapes
if (getDefaultVersion() > SvtSaveOptions::ODFVER_012)
{
- _GetNamespaceMap().Add(
+ GetNamespaceMap_().Add(
GetXMLToken(XML_NP_LO_EXT), GetXMLToken(XML_N_LO_EXT),
XML_NAMESPACE_LO_EXT);
}
@@ -257,11 +257,11 @@ ORptExport::ORptExport(const Reference< XComponentContext >& _rxContext, OUStrin
// GRDDL: to convert RDFa and meta.xml to RDF
if( getExportFlags() & (SvXMLExportFlags::META|SvXMLExportFlags::STYLES|SvXMLExportFlags::AUTOSTYLES|SvXMLExportFlags::MASTERSTYLES|SvXMLExportFlags::CONTENT) )
{
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_GRDDL),GetXMLToken(XML_N_GRDDL), XML_NAMESPACE_GRDDL );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_GRDDL),GetXMLToken(XML_N_GRDDL), XML_NAMESPACE_GRDDL );
}
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_TABLE), GetXMLToken(XML_N_TABLE), XML_NAMESPACE_TABLE );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_NUMBER), GetXMLToken(XML_N_NUMBER), XML_NAMESPACE_NUMBER );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_TABLE), GetXMLToken(XML_N_TABLE), XML_NAMESPACE_TABLE );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_NUMBER), GetXMLToken(XML_N_NUMBER), XML_NAMESPACE_NUMBER );
m_sTableStyle = GetNamespaceMap().GetQNameByKey( XML_NAMESPACE_TABLE, GetXMLToken(XML_STYLE_NAME) );
m_sColumnStyle = GetNamespaceMap().GetQNameByKey( XML_NAMESPACE_TABLE, GetXMLToken(XML_COLUMN) );
@@ -1285,12 +1285,12 @@ void ORptExport::exportReportAttributes(const Reference<XReportDefinition>& _xRe
}
}
-void ORptExport::_ExportContent()
+void ORptExport::ExportContent_()
{
exportReport(getReportDefinition());
}
-void ORptExport::_ExportMasterStyles()
+void ORptExport::ExportMasterStyles_()
{
GetPageExport()->exportMasterStyles( true );
}
@@ -1322,7 +1322,7 @@ void ORptExport::collectComponentStyles()
}
}
-void ORptExport::_ExportAutoStyles()
+void ORptExport::ExportAutoStyles_()
{
// there are no styles that require their own autostyles
if ( getExportFlags() & SvXMLExportFlags::CONTENT )
@@ -1360,9 +1360,9 @@ void ORptExport::_ExportAutoStyles()
GetPageExport()->exportAutoStyles();
}
-void ORptExport::_ExportStyles(bool bUsed)
+void ORptExport::ExportStyles_(bool bUsed)
{
- SvXMLExport::_ExportStyles(bUsed);
+ SvXMLExport::ExportStyles_(bUsed);
// write draw:style-name for object graphic-styles
GetShapeExport()->ExportGraphicDefaults();
@@ -1394,11 +1394,11 @@ void SAL_CALL ORptExport::setSourceDocument( const Reference< XComponent >& xDoc
SvXMLExport::setSourceDocument(xDoc);
}
-void ORptExport::_ExportFontDecls()
+void ORptExport::ExportFontDecls_()
{
GetFontAutoStylePool(); // make sure the pool is created
collectComponentStyles();
- SvXMLExport::_ExportFontDecls();
+ SvXMLExport::ExportFontDecls_();
}
void ORptExport::exportParagraph(const Reference< XReportControlModel >& _xReportElement)
diff --git a/reportdesign/source/filter/xml/xmlExport.hxx b/reportdesign/source/filter/xml/xmlExport.hxx
index 9f13b1e..c2942d7 100644
--- a/reportdesign/source/filter/xml/xmlExport.hxx
+++ b/reportdesign/source/filter/xml/xmlExport.hxx
@@ -145,11 +145,11 @@ private:
virtual void SetBodyAttributes() override;
protected:
- virtual void _ExportStyles( bool bUsed ) override;
- virtual void _ExportAutoStyles() override;
- virtual void _ExportContent() override;
- virtual void _ExportMasterStyles() override;
- virtual void _ExportFontDecls() override;
+ virtual void ExportStyles_( bool bUsed ) override;
+ virtual void ExportAutoStyles_() override;
+ virtual void ExportContent_() override;
+ virtual void ExportMasterStyles_() override;
+ virtual void ExportFontDecls_() override;
virtual sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass ) override;
virtual SvXMLAutoStylePoolP* CreateAutoStylePool() override;
virtual XMLShapeExport* CreateShapeExport() override;
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index bf19552..d8b855f 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -475,7 +475,7 @@ void ScXMLExport::SetSourceStream( const uno::Reference<io::XInputStream>& xNewS
{
// add the loaded namespaces to the name space map
- if ( !pSheetData->AddLoadedNamespaces( _GetNamespaceMap() ) )
+ if ( !pSheetData->AddLoadedNamespaces( GetNamespaceMap_() ) )
{
// conflicts in the namespaces - ignore the stream, save normally
xSourceStream.clear();
@@ -653,7 +653,7 @@ void ScXMLExport::CollectShapesAutoStyles(SCTAB nTableCount)
pSharedData->SortNoteShapes(); // sort twice, because some more shapes are added
}
-void ScXMLExport::_ExportMeta()
+void ScXMLExport::ExportMeta_()
{
sal_Int32 nCellCount(pDoc ? pDoc->GetCellCount() : 0);
SCTAB nTableCount(0);
@@ -678,13 +678,13 @@ void ScXMLExport::_ExportMeta()
}
// export document properties
- SvXMLExport::_ExportMeta();
+ SvXMLExport::ExportMeta_();
}
-void ScXMLExport::_ExportFontDecls()
+void ScXMLExport::ExportFontDecls_()
{
GetFontAutoStylePool(); // make sure the pool is created
- SvXMLExport::_ExportFontDecls();
+ SvXMLExport::ExportFontDecls_();
}
table::CellRangeAddress ScXMLExport::GetEndAddress(const uno::Reference<sheet::XSpreadsheet>& xTable, const sal_Int32 /* nTable */)
@@ -1805,7 +1805,7 @@ const ScXMLEditAttributeMap& ScXMLExport::GetEditAttributeMap() const
return *mpEditAttrMap;
}
-void ScXMLExport::_ExportContent()
+void ScXMLExport::ExportContent_()
{
nCurrentTable = 0;
if (!pSharedData)
@@ -1898,7 +1898,7 @@ void ScXMLExport::_ExportContent()
GetProgressBarHelper()->SetValue(GetProgressBarHelper()->GetReference());
}
-void ScXMLExport::_ExportStyles( bool bUsed )
+void ScXMLExport::ExportStyles_( bool bUsed )
{
if (!pSharedData)
{
@@ -1950,7 +1950,7 @@ void ScXMLExport::_ExportStyles( bool bUsed )
aStylesExp->exportStyleFamily(OUString("CellStyles"),
OUString(XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME), xCellStylesExportPropertySetMapper, false, XML_STYLE_FAMILY_TABLE_CELL);
- SvXMLExport::_ExportStyles(bUsed);
+ SvXMLExport::ExportStyles_(bUsed);
}
void ScXMLExport::AddStyleFromCells(const uno::Reference<beans::XPropertySet>& xProperties,
@@ -2192,7 +2192,7 @@ static uno::Any lcl_GetEnumerated( uno::Reference<container::XEnumerationAccess>
return aRet;
}
-void ScXMLExport::_ExportAutoStyles()
+void ScXMLExport::ExportAutoStyles_()
{
if (!GetModel().is())
return;
@@ -2632,7 +2632,7 @@ void ScXMLExport::_ExportAutoStyles()
GetTextParagraphExport()->exportTextAutoStyles();
}
-void ScXMLExport::_ExportMasterStyles()
+void ScXMLExport::ExportMasterStyles_()
{
GetPageExport()->exportMasterStyles( true );
}
@@ -4900,7 +4900,7 @@ void ScXMLExport::CollectUserDefinedNamespaces(const SfxItemPool* pPool, sal_uIn
// Add namespace declaration for unknown attributes if
// there aren't existing ones for the prefix used by the
// attibutes
- _GetNamespaceMap().Add( rPrefix,
+ GetNamespaceMap_().Add( rPrefix,
pUnknown->GetNamespace( nIdx ) );
}
nIdx = pUnknown->GetNextNamespaceIndex( nIdx );
@@ -4910,7 +4910,7 @@ void ScXMLExport::CollectUserDefinedNamespaces(const SfxItemPool* pPool, sal_uIn
}
// #i66550# needed for 'presentation:event-listener' element for URLs in shapes
- _GetNamespaceMap().Add(
+ GetNamespaceMap_().Add(
GetXMLToken( XML_NP_PRESENTATION ),
GetXMLToken( XML_N_PRESENTATION ),
XML_NAMESPACE_PRESENTATION );
@@ -4968,7 +4968,7 @@ sal_uInt32 ScXMLExport::exportDoc( enum XMLTokenEnum eClass )
if (pDoc->GetSheetEvents(nTab))
bAnySheetEvents = true;
if (bAnySheetEvents)
- _GetNamespaceMap().Add(
+ GetNamespaceMap_().Add(
GetXMLToken( XML_NP_OFFICE_EXT ),
GetXMLToken( XML_N_OFFICE_EXT ),
XML_NAMESPACE_OFFICE_EXT );
diff --git a/sc/source/filter/xml/xmlexprt.hxx b/sc/source/filter/xml/xmlexprt.hxx
index 1b87b1d..46ed100 100644
--- a/sc/source/filter/xml/xmlexprt.hxx
+++ b/sc/source/filter/xml/xmlexprt.hxx
@@ -132,13 +132,13 @@ class ScXMLExport : public SvXMLExport
sal_Int32 GetNumberFormatStyleIndex(sal_Int32 nNumFmt) const;
void CollectSharedData(SCTAB& nTableCount, sal_Int32& nShapesCount);
void CollectShapesAutoStyles(SCTAB nTableCount);
- virtual void _ExportFontDecls() override;
- virtual void _ExportStyles( bool bUsed ) override;
- virtual void _ExportAutoStyles() override;
- virtual void _ExportMasterStyles() override;
+ virtual void ExportFontDecls_() override;
+ virtual void ExportStyles_( bool bUsed ) override;
+ virtual void ExportAutoStyles_() override;
+ virtual void ExportMasterStyles_() override;
virtual void SetBodyAttributes() override;
- virtual void _ExportContent() override;
- virtual void _ExportMeta() override;
+ virtual void ExportContent_() override;
+ virtual void ExportMeta_() override;
void CollectInternalShape( css::uno::Reference< css::drawing::XShape > xShape );
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index 68bde09..02bb1e17 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -3353,7 +3353,7 @@ void ScXMLImport::ExtractFormulaNamespaceGrammar(
{
// parse the attribute value, extract namespace ID, literal namespace, and formula string
rFormulaNmsp.clear();
- sal_uInt16 nNsId = GetNamespaceMap()._GetKeyByAttrName( rAttrValue, nullptr, &rFormula, &rFormulaNmsp, false );
+ sal_uInt16 nNsId = GetNamespaceMap().GetKeyByAttrName_( rAttrValue, nullptr, &rFormula, &rFormulaNmsp, false );
// check if we have an ODF formula namespace
if( !bRestrictToExternalNmsp ) switch( nNsId )
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index b80af3f..aa94160 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -453,13 +453,13 @@ sal_uInt32 SmXMLExport::exportDoc(enum XMLTokenEnum eClass)
// make use of a default namespace
ResetNamespaceMap(); // Math doesn't need namespaces from xmloff, since it now uses default namespaces (because that is common with current MathML usage in the web)
- _GetNamespaceMap().Add( OUString(), GetXMLToken(XML_N_MATH), XML_NAMESPACE_MATH );
+ GetNamespaceMap_().Add( OUString(), GetXMLToken(XML_N_MATH), XML_NAMESPACE_MATH );
rList.AddAttribute(GetNamespaceMap().GetAttrNameByKey(XML_NAMESPACE_MATH_IDX),
GetNamespaceMap().GetNameByKey( XML_NAMESPACE_MATH_IDX));
//I think we need something like ImplExportEntities();
- _ExportContent();
+ ExportContent_();
GetDocHandler()->endDocument();
}
@@ -467,7 +467,7 @@ sal_uInt32 SmXMLExport::exportDoc(enum XMLTokenEnum eClass)
return 0;
}
-void SmXMLExport::_ExportContent()
+void SmXMLExport::ExportContent_()
{
uno::Reference <frame::XModel> xModel = GetModel();
uno::Reference <lang::XUnoTunnel> xTunnel(xModel,uno::UNO_QUERY);
diff --git a/starmath/source/mathmlexport.hxx b/starmath/source/mathmlexport.hxx
index f78b6f2..7c11d66 100644
--- a/starmath/source/mathmlexport.hxx
+++ b/starmath/source/mathmlexport.hxx
@@ -103,9 +103,9 @@ public:
sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& rId ) throw(css::uno::RuntimeException, std::exception) override;
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
- void _ExportAutoStyles() override {}
- void _ExportMasterStyles() override {}
- void _ExportContent() override;
+ void ExportAutoStyles_() override {}
+ void ExportMasterStyles_() override {}
+ void ExportContent_() override;
sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum eClass) override;
virtual void GetViewSettings(css::uno::Sequence<css::beans::PropertyValue>& aProps) override;
diff --git a/svx/source/inc/xmlxtexp.hxx b/svx/source/inc/xmlxtexp.hxx
index 3755aa2..7d5b60d 100644
--- a/svx/source/inc/xmlxtexp.hxx
+++ b/svx/source/inc/xmlxtexp.hxx
@@ -50,9 +50,9 @@ public:
throw (css::uno::RuntimeException, std::exception);
// methods without content:
- virtual void _ExportAutoStyles() override;
- virtual void _ExportMasterStyles() override;
- virtual void _ExportContent() override;
+ virtual void ExportAutoStyles_() override;
+ virtual void ExportMasterStyles_() override;
+ virtual void ExportContent_() override;
private:
bool exportTable() throw();
diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx
index 27d2b1a..1903527 100644
--- a/svx/source/xml/xmlxtexp.cxx
+++ b/svx/source/xml/xmlxtexp.cxx
@@ -152,11 +152,11 @@ SvxXMLXTableExportComponent::SvxXMLXTableExportComponent(
mxTable( xTable )
{
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_OOO), GetXMLToken(XML_N_OOO), XML_NAMESPACE_OOO );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_OFFICE), GetXMLToken(XML_N_OFFICE), XML_NAMESPACE_OFFICE );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_DRAW), GetXMLToken(XML_N_DRAW), XML_NAMESPACE_DRAW );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_XLINK), GetXMLToken(XML_N_XLINK), XML_NAMESPACE_XLINK );
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_SVG), GetXMLToken(XML_N_SVG), XML_NAMESPACE_SVG );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_OOO), GetXMLToken(XML_N_OOO), XML_NAMESPACE_OOO );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_OFFICE), GetXMLToken(XML_N_OFFICE), XML_NAMESPACE_OFFICE );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_DRAW), GetXMLToken(XML_N_DRAW), XML_NAMESPACE_DRAW );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_XLINK), GetXMLToken(XML_N_XLINK), XML_NAMESPACE_XLINK );
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_SVG), GetXMLToken(XML_N_SVG), XML_NAMESPACE_SVG );
SetGraphicResolver( xGrfResolver );
setExportFlags( SvXMLExportFlags::NONE );
}
@@ -416,9 +416,9 @@ bool SvxXMLXTableExportComponent::exportTable() throw()
}
// methods without content:
-void SvxXMLXTableExportComponent::_ExportAutoStyles() {}
-void SvxXMLXTableExportComponent::_ExportMasterStyles() {}
-void SvxXMLXTableExportComponent::_ExportContent() {}
+void SvxXMLXTableExportComponent::ExportAutoStyles_() {}
+void SvxXMLXTableExportComponent::ExportMasterStyles_() {}
+void SvxXMLXTableExportComponent::ExportContent_() {}
SvxXMLTableEntryExporter::~SvxXMLTableEntryExporter()
diff --git a/sw/source/core/inc/SwXMLBlockExport.hxx b/sw/source/core/inc/SwXMLBlockExport.hxx
index 6c1d368..cbafb30 100644
--- a/sw/source/core/inc/SwXMLBlockExport.hxx
+++ b/sw/source/core/inc/SwXMLBlockExport.hxx
@@ -38,9 +38,9 @@ public:
virtual ~SwXMLBlockListExport() {}
sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass) override;
- void _ExportAutoStyles() override {}
- void _ExportMasterStyles () override {}
- void _ExportContent() override {}
+ void ExportAutoStyles_() override {}
+ void ExportMasterStyles_ () override {}
+ void ExportContent_() override {}
};
class SwXMLTextBlockExport : public SvXMLExport
@@ -58,9 +58,9 @@ public:
virtual ~SwXMLTextBlockExport() {}
sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum /*eClass*/) override {return 0;}
void exportDoc(const OUString & rText);
- void _ExportAutoStyles() override {}
- void _ExportMasterStyles () override {}
- void _ExportContent() override {}
+ void ExportAutoStyles_() override {}
+ void ExportMasterStyles_ () override {}
+ void ExportContent_() override {}
};
#endif
diff --git a/sw/source/core/swg/SwXMLBlockExport.cxx b/sw/source/core/swg/SwXMLBlockExport.cxx
index 4ba7d8b..1c6aade 100644
--- a/sw/source/core/swg/SwXMLBlockExport.cxx
+++ b/sw/source/core/swg/SwXMLBlockExport.cxx
@@ -34,7 +34,7 @@ SwXMLBlockListExport::SwXMLBlockListExport(
: SvXMLExport( rContext, "", rFileName, util::MeasureUnit::CM, rHandler ),
rBlockList(rBlocks)
{
- _GetNamespaceMap().Add( GetXMLToken ( XML_NP_BLOCK_LIST ),
+ GetNamespaceMap_().Add( GetXMLToken ( XML_NP_BLOCK_LIST ),
GetXMLToken ( XML_N_BLOCK_LIST ),
XML_NAMESPACE_BLOCKLIST );
}
@@ -46,8 +46,8 @@ sal_uInt32 SwXMLBlockListExport::exportDoc(enum XMLTokenEnum )
addChaffWhenEncryptedStorage();
AddAttribute ( XML_NAMESPACE_NONE,
- _GetNamespaceMap().GetAttrNameByKey ( XML_NAMESPACE_BLOCKLIST ),
- _GetNamespaceMap().GetNameByKey ( XML_NAMESPACE_BLOCKLIST ) );
+ GetNamespaceMap_().GetAttrNameByKey ( XML_NAMESPACE_BLOCKLIST ),
+ GetNamespaceMap_().GetNameByKey ( XML_NAMESPACE_BLOCKLIST ) );
AddAttribute( XML_NAMESPACE_BLOCKLIST,
XML_LIST_NAME,
OUString (rBlockList.GetName()));
@@ -84,13 +84,13 @@ SwXMLTextBlockExport::SwXMLTextBlockExport(
: SvXMLExport( rContext, "", rFileName, util::MeasureUnit::CM, rHandler ),
rBlockList(rBlocks)
{
- _GetNamespaceMap().Add( GetXMLToken ( XML_NP_BLOCK_LIST ),
+ GetNamespaceMap_().Add( GetXMLToken ( XML_NP_BLOCK_LIST ),
GetXMLToken ( XML_N_BLOCK_LIST ),
XML_NAMESPACE_BLOCKLIST );
- _GetNamespaceMap().Add( GetXMLToken ( XML_NP_OFFICE ),
+ GetNamespaceMap_().Add( GetXMLToken ( XML_NP_OFFICE ),
GetXMLToken(XML_N_OFFICE_OOO),
XML_NAMESPACE_OFFICE );
- _GetNamespaceMap().Add( GetXMLToken ( XML_NP_TEXT ),
+ GetNamespaceMap_().Add( GetXMLToken ( XML_NP_TEXT ),
GetXMLToken(XML_N_TEXT_OOO),
XML_NAMESPACE_TEXT );
}
@@ -102,14 +102,14 @@ void SwXMLTextBlockExport::exportDoc(const OUString &rText)
addChaffWhenEncryptedStorage();
AddAttribute ( XML_NAMESPACE_NONE,
- _GetNamespaceMap().GetAttrNameByKey ( XML_NAMESPACE_BLOCKLIST ),
- _GetNamespaceMap().GetNameByKey ( XML_NAMESPACE_BLOCKLIST ) );
+ GetNamespaceMap_().GetAttrNameByKey ( XML_NAMESPACE_BLOCKLIST ),
+ GetNamespaceMap_().GetNameByKey ( XML_NAMESPACE_BLOCKLIST ) );
AddAttribute ( XML_NAMESPACE_NONE,
- _GetNamespaceMap().GetAttrNameByKey ( XML_NAMESPACE_TEXT ),
- _GetNamespaceMap().GetNameByKey ( XML_NAMESPACE_TEXT ) );
+ GetNamespaceMap_().GetAttrNameByKey ( XML_NAMESPACE_TEXT ),
+ GetNamespaceMap_().GetNameByKey ( XML_NAMESPACE_TEXT ) );
AddAttribute ( XML_NAMESPACE_NONE,
- _GetNamespaceMap().GetAttrNameByKey ( XML_NAMESPACE_OFFICE ),
- _GetNamespaceMap().GetNameByKey ( XML_NAMESPACE_OFFICE ) );
+ GetNamespaceMap_().GetAttrNameByKey ( XML_NAMESPACE_OFFICE ),
+ GetNamespaceMap_().GetNameByKey ( XML_NAMESPACE_OFFICE ) );
AddAttribute( XML_NAMESPACE_BLOCKLIST,
XML_LIST_NAME,
OUString (rBlockList.GetName()));
diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx
index f8abc46..cf4413f 100644
--- a/sw/source/filter/xml/xmlexp.cxx
+++ b/sw/source/filter/xml/xmlexp.cxx
@@ -136,7 +136,7 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum eClass )
{
if( getDefaultVersion() > SvtSaveOptions::ODFVER_012 )
{
- _GetNamespaceMap().Add(
+ GetNamespaceMap_().Add(
GetXMLToken(XML_NP_OFFICE_EXT),
GetXMLToken(XML_N_OFFICE_EXT),
XML_NAMESPACE_OFFICE_EXT);
@@ -169,7 +169,7 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum eClass )
sal_uInt16 nIdx = pUnknown->GetFirstNamespaceIndex();
while( USHRT_MAX != nIdx )
{
- _GetNamespaceMap().Add( pUnknown->GetPrefix( nIdx ),
+ GetNamespaceMap_().Add( pUnknown->GetPrefix( nIdx ),
pUnknown->GetNamespace( nIdx ) );
nIdx = pUnknown->GetNextNamespaceIndex( nIdx );
}
@@ -333,10 +333,10 @@ SwXMLExport::~SwXMLExport()
_FinitItemExport();
}
-void SwXMLExport::_ExportFontDecls()
+void SwXMLExport::ExportFontDecls_()
{
GetFontAutoStylePool(); // make sure the pool is created
- SvXMLExport::_ExportFontDecls();
+ SvXMLExport::ExportFontDecls_();
}
#define NUM_EXPORTED_VIEW_SETTINGS 11
@@ -439,7 +439,7 @@ void SwXMLExport::SetBodyAttributes()
}
}
-void SwXMLExport::_ExportContent()
+void SwXMLExport::ExportContent_()
{
// export forms
Reference<XDrawPageSupplier> xDrawPageSupplier(GetModel(), UNO_QUERY);
diff --git a/sw/source/filter/xml/xmlexp.hxx b/sw/source/filter/xml/xmlexp.hxx
index b6d0da4..baed84b 100644
--- a/sw/source/filter/xml/xmlexp.hxx
+++ b/sw/source/filter/xml/xmlexp.hxx
@@ -86,13 +86,13 @@ class SwXMLExport : public SvXMLExport
SwXMLTableInfo_Impl& rTableInfo,
sal_uInt32 nHeaderRows = 0 );
- virtual void _ExportMeta() override;
- virtual void _ExportFontDecls() override;
- virtual void _ExportStyles( bool bUsed ) override;
- virtual void _ExportAutoStyles() override;
- virtual void _ExportMasterStyles() override;
+ virtual void ExportMeta_() override;
+ virtual void ExportFontDecls_() override;
+ virtual void ExportStyles_( bool bUsed ) override;
+ virtual void ExportAutoStyles_() override;
+ virtual void ExportMasterStyles_() override;
virtual void SetBodyAttributes() override;
- virtual void _ExportContent() override;
+ virtual void ExportContent_() override;
virtual void GetViewSettings(css::uno::Sequence<css::beans::PropertyValue>& aProps) override;
virtual void GetConfigurationSettings(css::uno::Sequence<css::beans::PropertyValue>& aProps) override;
virtual sal_Int32 GetDocumentSpecificSettings( ::std::list< SettingsGroup >& _out_rSettings ) override;
diff --git a/sw/source/filter/xml/xmlfmte.cxx b/sw/source/filter/xml/xmlfmte.cxx
index 9d8ef8a..94340c2 100644
--- a/sw/source/filter/xml/xmlfmte.cxx
+++ b/sw/source/filter/xml/xmlfmte.cxx
@@ -160,9 +160,9 @@ void SwXMLExport::ExportFormat( const SwFormat& rFormat, enum XMLTokenEnum eFami
}
}
-void SwXMLExport::_ExportStyles( bool bUsed )
+void SwXMLExport::ExportStyles_( bool bUsed )
{
- SvXMLExport::_ExportStyles( bUsed );
+ SvXMLExport::ExportStyles_( bUsed );
// drawing defaults
GetShapeExport()->ExportGraphicDefaults();
@@ -174,7 +174,7 @@ void SwXMLExport::_ExportStyles( bool bUsed )
GetPageExport()->exportDefaultStyle();
}
-void SwXMLExport::_ExportAutoStyles()
+void SwXMLExport::ExportAutoStyles_()
{
// The order in which styles are collected *MUST* be the same as
// the order in which they are exported. Otherwise, caching will
@@ -241,7 +241,7 @@ XMLPageExport* SwXMLExport::CreatePageExport()
return new XMLTextMasterPageExport( *this );
}
-void SwXMLExport::_ExportMasterStyles()
+void SwXMLExport::ExportMasterStyles_()
{
// export master styles
GetPageExport()->exportMasterStyles( false );
diff --git a/sw/source/filter/xml/xmlmeta.cxx b/sw/source/filter/xml/xmlmeta.cxx
index b79dcc5..75ba494 100644
--- a/sw/source/filter/xml/xmlmeta.cxx
+++ b/sw/source/filter/xml/xmlmeta.cxx
@@ -156,9 +156,9 @@ void SwXMLImport::SetStatistics(
pProgress->SetValue( 0 );
}
-void SwXMLExport::_ExportMeta()
+void SwXMLExport::ExportMeta_()
{
- SvXMLExport::_ExportMeta();
+ SvXMLExport::ExportMeta_();
if( !IsBlockMode() )
{
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 18aca70..fcf472f 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -495,7 +495,7 @@ SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl(
{
OUString sTmp;
const sal_uInt16 nPrefix2 = GetImport().GetNamespaceMap().
- _GetKeyByAttrName( rValue, &sTmp );
+ GetKeyByAttrName_( rValue, &sTmp );
sFormula = XML_NAMESPACE_OOOW == nPrefix2 ? sTmp : rValue;
}
break;
diff --git a/sw/source/uibase/config/StoredChapterNumbering.cxx b/sw/source/uibase/config/StoredChapterNumbering.cxx
index c620f5b..e49d4d5 100644
--- a/sw/source/uibase/config/StoredChapterNumbering.cxx
+++ b/sw/source/uibase/config/StoredChapterNumbering.cxx
@@ -177,21 +177,21 @@ public:
: SvXMLExport(xContext, "sw::StoredChapterNumberingExport", rFileName,
util::MeasureUnit::CM, xHandler)
{
- _GetNamespaceMap().Add(GetXMLToken(XML_NP_OFFICE),
+ GetNamespaceMap_().Add(GetXMLToken(XML_NP_OFFICE),
GetXMLToken(XML_N_OFFICE), XML_NAMESPACE_OFFICE);
- _GetNamespaceMap().Add(GetXMLToken(XML_NP_TEXT),
+ GetNamespaceMap_().Add(GetXMLToken(XML_NP_TEXT),
GetXMLToken(XML_N_TEXT), XML_NAMESPACE_TEXT);
- _GetNamespaceMap().Add(GetXMLToken(XML_NP_STYLE),
+ GetNamespaceMap_().Add(GetXMLToken(XML_NP_STYLE),
GetXMLToken(XML_N_STYLE), XML_NAMESPACE_STYLE);
- _GetNamespaceMap().Add(GetXMLToken(XML_NP_FO),
+ GetNamespaceMap_().Add(GetXMLToken(XML_NP_FO),
GetXMLToken(XML_N_FO), XML_NAMESPACE_FO);
- _GetNamespaceMap().Add(GetXMLToken(XML_NP_SVG),
+ GetNamespaceMap_().Add(GetXMLToken(XML_NP_SVG),
GetXMLToken(XML_N_SVG), XML_NAMESPACE_SVG);
}
- virtual void _ExportAutoStyles() override {}
- virtual void _ExportMasterStyles() override {}
- virtual void _ExportContent() override {}
+ virtual void ExportAutoStyles_() override {}
+ virtual void ExportMasterStyles_() override {}
+ virtual void ExportContent_() override {}
void ExportRule(SvxXMLNumRuleExport & rExport,
uno::Reference<container::XIndexReplace> const& xRule)
@@ -218,20 +218,20 @@ public:
GetDocHandler()->startDocument();
AddAttribute(XML_NAMESPACE_NONE,
- _GetNamespaceMap().GetAttrNameByKey(XML_NAMESPACE_OFFICE),
- _GetNamespaceMap().GetNameByKey(XML_NAMESPACE_OFFICE));
+ GetNamespaceMap_().GetAttrNameByKey(XML_NAMESPACE_OFFICE),
+ GetNamespaceMap_().GetNameByKey(XML_NAMESPACE_OFFICE));
AddAttribute(XML_NAMESPACE_NONE,
- _GetNamespaceMap().GetAttrNameByKey (XML_NAMESPACE_TEXT),
- _GetNamespaceMap().GetNameByKey(XML_NAMESPACE_TEXT));
+ GetNamespaceMap_().GetAttrNameByKey (XML_NAMESPACE_TEXT),
+ GetNamespaceMap_().GetNameByKey(XML_NAMESPACE_TEXT));
AddAttribute(XML_NAMESPACE_NONE,
- _GetNamespaceMap().GetAttrNameByKey(XML_NAMESPACE_STYLE),
- _GetNamespaceMap().GetNameByKey(XML_NAMESPACE_STYLE));
+ GetNamespaceMap_().GetAttrNameByKey(XML_NAMESPACE_STYLE),
+ GetNamespaceMap_().GetNameByKey(XML_NAMESPACE_STYLE));
AddAttribute(XML_NAMESPACE_NONE,
- _GetNamespaceMap().GetAttrNameByKey(XML_NAMESPACE_FO),
- _GetNamespaceMap().GetNameByKey(XML_NAMESPACE_FO));
+ GetNamespaceMap_().GetAttrNameByKey(XML_NAMESPACE_FO),
+ GetNamespaceMap_().GetNameByKey(XML_NAMESPACE_FO));
AddAttribute(XML_NAMESPACE_NONE,
- _GetNamespaceMap().GetAttrNameByKey(XML_NAMESPACE_SVG),
- _GetNamespaceMap().GetNameByKey(XML_NAMESPACE_SVG));
+ GetNamespaceMap_().GetAttrNameByKey(XML_NAMESPACE_SVG),
+ GetNamespaceMap_().GetNameByKey(XML_NAMESPACE_SVG));
{
// let's just have a office:styles as a dummy root
diff --git a/xmloff/inc/MetaExportComponent.hxx b/xmloff/inc/MetaExportComponent.hxx
index 58a3a05..fc7b6a1 100644
--- a/xmloff/inc/MetaExportComponent.hxx
+++ b/xmloff/inc/MetaExportComponent.hxx
@@ -45,12 +45,12 @@ protected:
virtual void SAL_CALL setSourceDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
// override
- virtual void _ExportMeta() override;
+ virtual void ExportMeta_() override;
// methods without content:
- virtual void _ExportAutoStyles() override;
- virtual void _ExportMasterStyles() override;
- virtual void _ExportContent() override;
+ virtual void ExportAutoStyles_() override;
+ virtual void ExportMasterStyles_() override;
+ virtual void ExportContent_() override;
};
#endif
diff --git a/xmloff/inc/SchXMLExport.hxx b/xmloff/inc/SchXMLExport.hxx
index f61879b..d9f7907 100644
--- a/xmloff/inc/SchXMLExport.hxx
+++ b/xmloff/inc/SchXMLExport.hxx
@@ -44,10 +44,10 @@ private:
protected:
virtual sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID ) override;
- virtual void _ExportStyles( bool bUsed ) override;
- virtual void _ExportAutoStyles() override;
- virtual void _ExportMasterStyles() override;
- virtual void _ExportContent() override;
+ virtual void ExportStyles_( bool bUsed ) override;
+ virtual void ExportAutoStyles_() override;
+ virtual void ExportMasterStyles_() override;
+ virtual void ExportContent_() override;
public:
SchXMLExport(
diff --git a/xmloff/inc/xmlversion.hxx b/xmloff/inc/xmlversion.hxx
index bf42752..a6bcd9a 100644
--- a/xmloff/inc/xmlversion.hxx
+++ b/xmloff/inc/xmlversion.hxx
@@ -45,9 +45,9 @@ public:
virtual ~XMLVersionListExport() {}
sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass ) override;
- void _ExportAutoStyles() override {}
- void _ExportMasterStyles () override {}
- void _ExportContent() override {}
+ void ExportAutoStyles_() override {}
+ void ExportMasterStyles_ () override {}
+ void ExportContent_() override {}
};
class XMLVersionListImport : public SvXMLImport
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index 694dd6f..064f8d9 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -3526,7 +3526,7 @@ SchXMLExport::SchXMLExport(
maExportHelper( new SchXMLExportHelper(*this, *maAutoStylePool.get()) )
{
if( getDefaultVersion() > SvtSaveOptions::ODFVER_012 )
- _GetNamespaceMap().Add( GetXMLToken(XML_NP_CHART_EXT), GetXMLToken(XML_N_CHART_EXT), XML_NAMESPACE_CHART_EXT);
+ GetNamespaceMap_().Add( GetXMLToken(XML_NP_CHART_EXT), GetXMLToken(XML_N_CHART_EXT), XML_NAMESPACE_CHART_EXT);
}
SchXMLExport::~SchXMLExport()
@@ -3549,18 +3549,18 @@ sal_uInt32 SchXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass )
return SvXMLExport::exportDoc( eClass );
}
-void SchXMLExport::_ExportStyles( bool bUsed )
+void SchXMLExport::ExportStyles_( bool bUsed )
{
- SvXMLExport::_ExportStyles( bUsed );
+ SvXMLExport::ExportStyles_( bUsed );
}
-void SchXMLExport::_ExportMasterStyles()
+void SchXMLExport::ExportMasterStyles_()
{
// not available in chart
SAL_INFO("xmloff.chart", "Master Style Export requested. Not available for Chart" );
}
-void SchXMLExport::_ExportAutoStyles()
+void SchXMLExport::ExportAutoStyles_()
{
// there are no styles that require their own autostyles
if( getExportFlags() & SvXMLExportFlags::CONTENT )
@@ -3578,7 +3578,7 @@ void SchXMLExport::_ExportAutoStyles()
}
}
-void SchXMLExport::_ExportContent()
+void SchXMLExport::ExportContent_()
{
Reference< chart::XChartDocument > xChartDoc( GetModel(), uno::UNO_QUERY );
if( xChartDoc.is())
diff --git a/xmloff/source/core/DomBuilderContext.cxx b/xmloff/source/core/DomBuilderContext.cxx
index 7969b17..d51d71e 100644
--- a/xmloff/source/core/DomBuilderContext.cxx
+++ b/xmloff/source/core/DomBuilderContext.cxx
@@ -125,7 +125,7 @@ void DomBuilderContext::StartElement(
// namespace handling: determine namespace & namespace key
OUString sNamespace;
sal_uInt16 nNamespaceKey =
- GetImport().GetNamespaceMap()._GetKeyByAttrName(
+ GetImport().GetNamespaceMap().GetKeyByAttrName_(
rName, nullptr, nullptr, &sNamespace );
// create attribute node and set value
diff --git a/xmloff/source/core/RDFaImportHelper.cxx b/xmloff/source/core/RDFaImportHelper.cxx
index 96d784d..7462a99 100644
--- a/xmloff/source/core/RDFaImportHelper.cxx
+++ b/xmloff/source/core/RDFaImportHelper.cxx
@@ -175,7 +175,7 @@ RDFaReader::ReadCURIE(OUString const & i_rCURIE) const
OUString Prefix;
OUString LocalName;
OUString Namespace;
- sal_uInt16 nKey( GetImport().GetNamespaceMap()._GetKeyByAttrName(
+ sal_uInt16 nKey( GetImport().GetNamespaceMap().GetKeyByAttrName_(
i_rCURIE, &Prefix, &LocalName, &Namespace) );
if ( Prefix == "_" )
{
diff --git a/xmloff/source/core/nmspmap.cxx b/xmloff/source/core/nmspmap.cxx
index f4712a9..f75d65f 100644
--- a/xmloff/source/core/nmspmap.cxx
+++ b/xmloff/source/core/nmspmap.cxx
@@ -72,7 +72,7 @@ bool SvXMLNamespaceMap::operator ==( const SvXMLNamespaceMap& rCmp ) const
return aNameHash == rCmp.aNameHash;
}
-sal_uInt16 SvXMLNamespaceMap::_Add( const OUString& rPrefix, const OUString &rName, sal_uInt16 nKey )
+sal_uInt16 SvXMLNamespaceMap::Add_( const OUString& rPrefix, const OUString &rName, sal_uInt16 nKey )
{
if( XML_NAMESPACE_UNKNOWN == nKey )
{
@@ -110,7 +110,7 @@ sal_uInt16 SvXMLNamespaceMap::Add( const OUString& rPrefix, const OUString& rNam
#endif
if ( aNameHash.find ( rPrefix ) == aNameHash.end() )
- nKey = _Add( rPrefix, rName, nKey );
+ nKey = Add_( rPrefix, rName, nKey );
return nKey;
}
@@ -130,7 +130,7 @@ sal_uInt16 SvXMLNamespaceMap::AddIfKnown( const OUString& rPrefix, const OUStrin
{
NameSpaceHash::const_iterator aIter = aNameHash.find( rPrefix );
if( aIter == aNameHash.end() || (*aIter).second->sName != rName )
- nKey = _Add( rPrefix, rName, nKey );
+ nKey = Add_( rPrefix, rName, nKey );
}
return nKey;
@@ -269,14 +269,14 @@ OUString SvXMLNamespaceMap::GetQNameByKey( sal_uInt16 nKey,
}
}
-sal_uInt16 SvXMLNamespaceMap::_GetKeyByAttrName(
+sal_uInt16 SvXMLNamespaceMap::GetKeyByAttrName_(
const OUString& rAttrName,
OUString *pLocalName) const
{
- return _GetKeyByAttrName( rAttrName, nullptr, pLocalName, nullptr, false/*bCache*/ );
+ return GetKeyByAttrName_( rAttrName, nullptr, pLocalName, nullptr, false/*bCache*/ );
}
-sal_uInt16 SvXMLNamespaceMap::_GetKeyByAttrName( const OUString& rAttrName,
+sal_uInt16 SvXMLNamespaceMap::GetKeyByAttrName_( const OUString& rAttrName,
OUString *pPrefix,
OUString *pLocalName,
OUString *pNamespace,
@@ -388,7 +388,7 @@ void SvXMLNamespaceMap::AddAtIndex( sal_uInt16 /*nIdx*/, const OUString& rPrefix
assert(XML_NAMESPACE_NONE != nKey);
if( XML_NAMESPACE_NONE != nKey && ! ( aNameHash.count ( rPrefix ) ) )
{
- _Add( rPrefix, rName, nKey );
+ Add_( rPrefix, rName, nKey );
}
}
@@ -425,7 +425,7 @@ sal_uInt16 SvXMLNamespaceMap::GetKeyByAttrName(
OUString *pLocalName,
sal_uInt16 /*nIdxGuess*/) const
{
- return _GetKeyByAttrName( rAttrName, nullptr, pLocalName );
+ return GetKeyByAttrName_( rAttrName, nullptr, pLocalName );
}
sal_uInt16 SvXMLNamespaceMap::GetKeyByAttrName( const OUString& rAttrName,
@@ -434,7 +434,7 @@ sal_uInt16 SvXMLNamespaceMap::GetKeyByAttrName( const OUString& rAttrName,
OUString *pNamespace,
sal_uInt16 /*nIdxGuess*/ ) const
{
- return _GetKeyByAttrName ( rAttrName, pPrefix, pLocalName, pNamespace );
+ return GetKeyByAttrName_ ( rAttrName, pPrefix, pLocalName, pNamespace );
}
bool SvXMLNamespaceMap::NormalizeURI( OUString& rName )
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 5310185..dacacdb 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -301,7 +301,7 @@ void SvXMLExport::SetDocHandler( const uno::Reference< xml::sax::XDocumentHandle
mxExtHandler.set( mxHandler, UNO_QUERY );
}
-void SvXMLExport::_InitCtor()
+void SvXMLExport::InitCtor_()
{
// note: it is not necessary to add XML_NP_XML (it is declared implicitly)
if( getExportFlags() & ~SvXMLExportFlags::OASIS )
@@ -411,7 +411,7 @@ void SvXMLExport::_InitCtor()
}
// Determine model type (#i51726#)
- _DetermineModelType();
+ DetermineModelType_();
// cl: but only if we do export to current oasis format, old openoffice format *must* always be compatible
if( getExportFlags() & SvXMLExportFlags::OASIS )
@@ -423,7 +423,7 @@ void SvXMLExport::_InitCtor()
}
// Shapes in Writer cannot be named via context menu (#i51726#)
-void SvXMLExport::_DetermineModelType()
+void SvXMLExport::DetermineModelType_()
{
meModelType = SvtModuleOptions::EFactory::UNKNOWN_FACTORY;
@@ -456,7 +456,7 @@ SvXMLExport::SvXMLExport(
mbSaveLinkedSections(true)
{
SAL_WARN_IF( !xContext.is(), "xmloff.core", "got no service manager" );
- _InitCtor();
+ InitCtor_();
}
SvXMLExport::SvXMLExport(
@@ -487,7 +487,7 @@ SvXMLExport::SvXMLExport(
{
SAL_WARN_IF( !xContext.is(), "xmloff.core", "got no service manager" );
mpImpl->SetSchemeOf( msOrigFileName );
- _InitCtor();
+ InitCtor_();
if (mxNumberFormatsSupplier.is())
mpNumExport = new SvXMLNumFmtExport(*this, mxNumberFormatsSupplier);
@@ -525,7 +525,7 @@ SvXMLExport::SvXMLExport(
{
SAL_WARN_IF(!xContext.is(), "xmloff.core", "got no service manager" );
mpImpl->SetSchemeOf( msOrigFileName );
- _InitCtor();
+ InitCtor_();
if (mxNumberFormatsSupplier.is())
mpNumExport = new SvXMLNumFmtExport(*this, mxNumberFormatsSupplier);
@@ -662,7 +662,7 @@ void SAL_CALL SvXMLExport::setSourceDocument( const uno::Reference< lang::XCompo
for( nIndex = 0; nIndex < nCount; ++nIndex, ++pPrefix )
{
if( xNamespaceMap->getByName( *pPrefix ) >>= aURL )
- _GetNamespaceMap().Add( *pPrefix, aURL );
+ GetNamespaceMap_().Add( *pPrefix, aURL );
}
}
}
@@ -673,7 +673,7 @@ void SAL_CALL SvXMLExport::setSourceDocument( const uno::Reference< lang::XCompo
}
// Determine model type (#i51726#)
- _DetermineModelType();
+ DetermineModelType_();
}
// XInitialize
@@ -903,13 +903,13 @@ SvXMLExport::EnsureNamespace(OUString const & i_rNamespace)
{
OUString const aPreferredPrefix("gen");
OUString sPrefix;
- sal_uInt16 nKey( _GetNamespaceMap().GetKeyByName( i_rNamespace ) );
+ sal_uInt16 nKey( GetNamespaceMap_().GetKeyByName( i_rNamespace ) );
if( XML_NAMESPACE_UNKNOWN == nKey )
{
// There is no prefix for the namespace, so
// we have to generate one and have to add it.
sPrefix = aPreferredPrefix;
- nKey = _GetNamespaceMap().GetKeyByPrefix( sPrefix );
+ nKey = GetNamespaceMap_().GetKeyByPrefix( sPrefix );
sal_Int32 n( 0 );
OUStringBuffer buf;
while( nKey != USHRT_MAX )
@@ -917,7 +917,7 @@ SvXMLExport::EnsureNamespace(OUString const & i_rNamespace)
buf.append( aPreferredPrefix );
buf.append( ++n );
sPrefix = buf.makeStringAndClear();
- nKey = _GetNamespaceMap().GetKeyByPrefix( sPrefix );
+ nKey = GetNamespaceMap_().GetKeyByPrefix( sPrefix );
}
if (mpImpl->mNamespaceMaps.empty()
@@ -939,7 +939,7 @@ SvXMLExport::EnsureNamespace(OUString const & i_rNamespace)
else
{
// If there is a prefix for the namespace, reuse that.
- sPrefix = _GetNamespaceMap().GetPrefixByKey( nKey );
+ sPrefix = GetNamespaceMap_().GetPrefixByKey( nKey );
}
return sPrefix;
}
@@ -952,7 +952,7 @@ void SvXMLExport::AddAttributeASCII( sal_uInt16 nPrefixKey,
OUString sValue( OUString::createFromAscii( pValue ) );
mpAttrList->AddAttribute(
- _GetNamespaceMap().GetQNameByKey( nPrefixKey, sName ), sValue );
+ GetNamespaceMap_().GetQNameByKey( nPrefixKey, sName ), sValue );
}
void SvXMLExport::AddAttribute( sal_uInt16 nPrefixKey, const sal_Char *pName,
@@ -961,14 +961,14 @@ void SvXMLExport::AddAttribute( sal_uInt16 nPrefixKey, const sal_Char *pName,
OUString sName( OUString::createFromAscii( pName ) );
mpAttrList->AddAttribute(
- _GetNamespaceMap().GetQNameByKey( nPrefixKey, sName ), rValue );
+ GetNamespaceMap_().GetQNameByKey( nPrefixKey, sName ), rValue );
}
void SvXMLExport::AddAttribute( sal_uInt16 nPrefixKey, const OUString& rName,
const OUString& rValue )
{
mpAttrList->AddAttribute(
- _GetNamespaceMap().GetQNameByKey( nPrefixKey, rName ), rValue );
+ GetNamespaceMap_().GetQNameByKey( nPrefixKey, rName ), rValue );
}
void SvXMLExport::AddAttribute( sal_uInt16 nPrefixKey,
@@ -976,7 +976,7 @@ void SvXMLExport::AddAttribute( sal_uInt16 nPrefixKey,
const OUString& rValue )
{
mpAttrList->AddAttribute(
- _GetNamespaceMap().GetQNameByKey( nPrefixKey, GetXMLToken(eName) ),
+ GetNamespaceMap_().GetQNameByKey( nPrefixKey, GetXMLToken(eName) ),
rValue );
}
@@ -985,7 +985,7 @@ void SvXMLExport::AddAttribute( sal_uInt16 nPrefixKey,
enum XMLTokenEnum eValue)
{
mpAttrList->AddAttribute(
- _GetNamespaceMap().GetQNameByKey( nPrefixKey, GetXMLToken(eName) ),
+ GetNamespaceMap_().GetQNameByKey( nPrefixKey, GetXMLToken(eName) ),
GetXMLToken(eValue) );
}
@@ -1086,7 +1086,7 @@ void SvXMLExport::ImplExportMeta()
{
CheckAttrList();
- _ExportMeta();
+ ExportMeta_();
}
void SvXMLExport::ImplExportSettings()
@@ -1144,7 +1144,7 @@ void SvXMLExport::ImplExportStyles()
SvXMLElementExport aElem( *this, XML_NAMESPACE_OFFICE, XML_STYLES,
true, true );
- _ExportStyles( false );
+ ExportStyles_( false );
}
// transfer style names (+ families) TO other components (if appropriate)
@@ -1187,7 +1187,7 @@ void SvXMLExport::ImplExportAutoStyles()
SvXMLElementExport aElem( *this, XML_NAMESPACE_OFFICE,
XML_AUTOMATIC_STYLES, true, true );
- _ExportAutoStyles();
+ ExportAutoStyles_();
}
}
@@ -1198,7 +1198,7 @@ void SvXMLExport::ImplExportMasterStyles()
SvXMLElementExport aElem( *this, XML_NAMESPACE_OFFICE, XML_MASTER_STYLES,
true, true );
- _ExportMasterStyles();
+ ExportMasterStyles_();
}
}
@@ -1228,7 +1228,7 @@ void SvXMLExport::ImplExportContent()
XML_NAMESPACE_OFFICE, eClass,
true, true );
- _ExportContent();
+ ExportContent_();
}
}
}
@@ -1434,11 +1434,11 @@ sal_uInt32 SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass )
// scripts
if( mnExportFlags & SvXMLExportFlags::SCRIPTS )
- _ExportScripts();
+ ExportScripts_();
// font declarations
if( mnExportFlags & SvXMLExportFlags::FONTDECLS )
- _ExportFontDecls();
+ ExportFontDecls_();
// styles
if( mnExportFlags & SvXMLExportFlags::STYLES )
@@ -1489,7 +1489,7 @@ OUString SvXMLExport::GetDestinationShellID() const
return mpImpl->maDestShellID;
}
-void SvXMLExport::_ExportMeta()
+void SvXMLExport::ExportMeta_()
{
OUString generator( ::utl::DocInfoHelper::GetGeneratorString() );
Reference< XDocumentPropertiesSupplier > xDocPropsSupplier(mxModel,
@@ -1517,7 +1517,7 @@ void SvXMLExport::_ExportMeta()
}
}
-void SvXMLExport::_ExportScripts()
+void SvXMLExport::ExportScripts_()
{
SvXMLElementExport aElement( *this, XML_NAMESPACE_OFFICE, XML_SCRIPTS, true, true );
@@ -1552,13 +1552,13 @@ void SvXMLExport::_ExportScripts()
GetEventExport().Export( xEvents );
}
-void SvXMLExport::_ExportFontDecls()
+void SvXMLExport::ExportFontDecls_()
{
if( mxFontAutoStylePool.is() )
mxFontAutoStylePool->exportXML();
}
-void SvXMLExport::_ExportStyles( bool )
+void SvXMLExport::ExportStyles_( bool )
{
uno::Reference< lang::XMultiServiceFactory > xFact( GetModel(), uno::UNO_QUERY );
if( xFact.is())
@@ -2182,7 +2182,7 @@ void SvXMLExport::StartElement(sal_uInt16 nPrefix,
enum ::xmloff::token::XMLTokenEnum eName,
bool bIgnWSOutside )
{
- StartElement(_GetNamespaceMap().GetQNameByKey( nPrefix,
+ StartElement(GetNamespaceMap_().GetQNameByKey( nPrefix,
GetXMLToken(eName) ), bIgnWSOutside);
}
@@ -2239,7 +2239,7 @@ void SvXMLExport::EndElement(sal_uInt16 nPrefix,
enum ::xmloff::token::XMLTokenEnum eName,
bool bIgnWSInside )
{
- EndElement(_GetNamespaceMap().GetQNameByKey( nPrefix, GetXMLToken(eName) ),
+ EndElement(GetNamespaceMap_().GetQNameByKey( nPrefix, GetXMLToken(eName) ),
bIgnWSInside);
}
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 483cc02..d5fcb94 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -72,38 +72,38 @@ using namespace ::com::sun::star::container;
using namespace ::com::sun::star::document;
using namespace ::xmloff::token;
-sal_Char const sXML_np__office[] = "_office";
-sal_Char const sXML_np__office_ext[] = "_office_ooo";
-sal_Char const sXML_np__ooo[] = "_ooo";
-sal_Char const sXML_np__ooow[] = "_ooow";
-sal_Char const sXML_np__oooc[] = "_oooc";
-sal_Char const sXML_np__of[] = "_of";
-sal_Char const sXML_np__style[] = "_style";
-sal_Char const sXML_np__text[] = "_text";
-sal_Char const sXML_np__table[] = "_table";
-sal_Char const sXML_np__table_ext[] = "_table_ooo";
-sal_Char const sXML_np__draw[] = "_draw";
-sal_Char const sXML_np__draw_ext[] = "_draw_ooo";
-sal_Char const sXML_np__dr3d[] = "_dr3d";
-sal_Char const sXML_np__fo[] = "_fo";
-sal_Char const sXML_np__xlink[] = "_xlink";
-sal_Char const sXML_np__dc[] = "_dc";
-sal_Char const sXML_np__dom[] = "_dom";
-sal_Char const sXML_np__meta[] = "_meta";
-sal_Char const sXML_np__number[] = "_number";
-sal_Char const sXML_np__svg[] = "_svg";
-sal_Char const sXML_np__chart[] = "_chart";
-sal_Char const sXML_np__math[] = "_math";
-sal_Char const sXML_np__form[] = "_form";
-sal_Char const sXML_np__script[] = "_script";
-sal_Char const sXML_np__config[] = "_config";
-sal_Char const sXML_np__xforms[] = "_xforms";
-sal_Char const sXML_np__formx[] = "_formx";
-sal_Char const sXML_np__xsd[] = "_xsd";
-sal_Char const sXML_np__xsi[] = "_xsi";
-sal_Char const sXML_np__field[] = "_field";
-sal_Char const sXML_np__xhtml[] = "_xhtml";
-sal_Char const sXML_np__css3text[] = "_css3text";
+sal_Char const sXML_np_office[] = "_office";
+sal_Char const sXML_np_office_ext[] = "_office_ooo";
+sal_Char const sXML_np_ooo[] = "_ooo";
+sal_Char const sXML_np_ooow[] = "_ooow";
+sal_Char const sXML_np_oooc[] = "_oooc";
+sal_Char const sXML_np_of[] = "_of";
+sal_Char const sXML_np_style[] = "_style";
+sal_Char const sXML_np_text[] = "_text";
+sal_Char const sXML_np_table[] = "_table";
+sal_Char const sXML_np_table_ext[] = "_table_ooo";
+sal_Char const sXML_np_draw[] = "_draw";
+sal_Char const sXML_np_draw_ext[] = "_draw_ooo";
+sal_Char const sXML_np_dr3d[] = "_dr3d";
+sal_Char const sXML_np_fo[] = "_fo";
+sal_Char const sXML_np_xlink[] = "_xlink";
+sal_Char const sXML_np_dc[] = "_dc";
+sal_Char const sXML_np_dom[] = "_dom";
+sal_Char const sXML_np_meta[] = "_meta";
+sal_Char const sXML_np_number[] = "_number";
+sal_Char const sXML_np_svg[] = "_svg";
+sal_Char const sXML_np_chart[] = "_chart";
+sal_Char const sXML_np_math[] = "_math";
+sal_Char const sXML_np_form[] = "_form";
+sal_Char const sXML_np_script[] = "_script";
+sal_Char const sXML_np_config[] = "_config";
+sal_Char const sXML_np_xforms[] = "_xforms";
+sal_Char const sXML_np_formx[] = "_formx";
+sal_Char const sXML_np_xsd[] = "_xsd";
+sal_Char const sXML_np_xsi[] = "_xsi";
+sal_Char const sXML_np_field[] = "_field";
+sal_Char const sXML_np_xhtml[] = "_xhtml";
+sal_Char const sXML_np_css3text[] = "_css3text";
class SvXMLImportEventListener : public cppu::WeakImplHelper< css::lang::XEventListener >
{
@@ -359,44 +359,44 @@ SvXMLImportContext *SvXMLImport::CreateFastContext( sal_Int32 /*Element*/,
return new SvXMLImportContext( *this );
}
-void SvXMLImport::_InitCtor()
+void SvXMLImport::InitCtor_()
{
if( mnImportFlags != SvXMLImportFlags::NONE )
{
// implicit "xml" namespace prefix
mpNamespaceMap->Add( GetXMLToken(XML_XML), GetXMLToken(XML_N_XML), XML_NAMESPACE_XML );
- mpNamespaceMap->Add( sXML_np__office, GetXMLToken(XML_N_OFFICE), XML_NAMESPACE_OFFICE );
- mpNamespaceMap->Add( sXML_np__office_ext, GetXMLToken(XML_N_OFFICE_EXT), XML_NAMESPACE_OFFICE_EXT );
- mpNamespaceMap->Add( sXML_np__ooo, GetXMLToken(XML_N_OOO), XML_NAMESPACE_OOO );
- mpNamespaceMap->Add( sXML_np__style, GetXMLToken(XML_N_STYLE), XML_NAMESPACE_STYLE );
- mpNamespaceMap->Add( sXML_np__text, GetXMLToken(XML_N_TEXT), XML_NAMESPACE_TEXT );
- mpNamespaceMap->Add( sXML_np__table, GetXMLToken(XML_N_TABLE), XML_NAMESPACE_TABLE );
- mpNamespaceMap->Add( sXML_np__table_ext, GetXMLToken(XML_N_TABLE_EXT), XML_NAMESPACE_TABLE_EXT );
- mpNamespaceMap->Add( sXML_np__draw, GetXMLToken(XML_N_DRAW), XML_NAMESPACE_DRAW );
- mpNamespaceMap->Add( sXML_np__draw_ext, GetXMLToken(XML_N_DRAW_EXT), XML_NAMESPACE_DRAW_EXT );
- mpNamespaceMap->Add( sXML_np__dr3d, GetXMLToken(XML_N_DR3D), XML_NAMESPACE_DR3D );
- mpNamespaceMap->Add( sXML_np__fo, GetXMLToken(XML_N_FO_COMPAT), XML_NAMESPACE_FO );
- mpNamespaceMap->Add( sXML_np__xlink, GetXMLToken(XML_N_XLINK), XML_NAMESPACE_XLINK );
- mpNamespaceMap->Add( sXML_np__dc, GetXMLToken(XML_N_DC), XML_NAMESPACE_DC );
- mpNamespaceMap->Add( sXML_np__dom, GetXMLToken(XML_N_DOM), XML_NAMESPACE_DOM );
- mpNamespaceMap->Add( sXML_np__meta, GetXMLToken(XML_N_META), XML_NAMESPACE_META );
- mpNamespaceMap->Add( sXML_np__number, GetXMLToken(XML_N_NUMBER), XML_NAMESPACE_NUMBER );
- mpNamespaceMap->Add( sXML_np__svg, GetXMLToken(XML_N_SVG_COMPAT), XML_NAMESPACE_SVG );
- mpNamespaceMap->Add( sXML_np__chart, GetXMLToken(XML_N_CHART), XML_NAMESPACE_CHART );
- mpNamespaceMap->Add( sXML_np__math, GetXMLToken(XML_N_MATH), XML_NAMESPACE_MATH );
- mpNamespaceMap->Add(sXML_np__form, GetXMLToken(XML_N_FORM), XML_NAMESPACE_FORM );
- mpNamespaceMap->Add( sXML_np__script, GetXMLToken(XML_N_SCRIPT), XML_NAMESPACE_SCRIPT );
- mpNamespaceMap->Add( sXML_np__config, GetXMLToken(XML_N_CONFIG), XML_NAMESPACE_CONFIG );
- mpNamespaceMap->Add( sXML_np__xforms, GetXMLToken(XML_N_XFORMS_1_0), XML_NAMESPACE_XFORMS );
- mpNamespaceMap->Add( sXML_np__formx, GetXMLToken( XML_N_FORMX ), XML_NAMESPACE_FORMX );
- mpNamespaceMap->Add( sXML_np__xsd, GetXMLToken(XML_N_XSD), XML_NAMESPACE_XSD );
- mpNamespaceMap->Add( sXML_np__xsi, GetXMLToken(XML_N_XSI), XML_NAMESPACE_XFORMS );
- mpNamespaceMap->Add( sXML_np__ooow, GetXMLToken(XML_N_OOOW), XML_NAMESPACE_OOOW );
- mpNamespaceMap->Add( sXML_np__oooc, GetXMLToken(XML_N_OOOC), XML_NAMESPACE_OOOC );
- mpNamespaceMap->Add( sXML_np__field, GetXMLToken(XML_N_FIELD), XML_NAMESPACE_FIELD );
- mpNamespaceMap->Add( sXML_np__of, GetXMLToken(XML_N_OF), XML_NAMESPACE_OF );
- mpNamespaceMap->Add( sXML_np__xhtml, GetXMLToken(XML_N_XHTML), XML_NAMESPACE_XHTML );
- mpNamespaceMap->Add( sXML_np__css3text, GetXMLToken(XML_N_CSS3TEXT), XML_NAMESPACE_CSS3TEXT );
+ mpNamespaceMap->Add( sXML_np_office, GetXMLToken(XML_N_OFFICE), XML_NAMESPACE_OFFICE );
+ mpNamespaceMap->Add( sXML_np_office_ext, GetXMLToken(XML_N_OFFICE_EXT), XML_NAMESPACE_OFFICE_EXT );
+ mpNamespaceMap->Add( sXML_np_ooo, GetXMLToken(XML_N_OOO), XML_NAMESPACE_OOO );
+ mpNamespaceMap->Add( sXML_np_style, GetXMLToken(XML_N_STYLE), XML_NAMESPACE_STYLE );
+ mpNamespaceMap->Add( sXML_np_text, GetXMLToken(XML_N_TEXT), XML_NAMESPACE_TEXT );
+ mpNamespaceMap->Add( sXML_np_table, GetXMLToken(XML_N_TABLE), XML_NAMESPACE_TABLE );
+ mpNamespaceMap->Add( sXML_np_table_ext, GetXMLToken(XML_N_TABLE_EXT), XML_NAMESPACE_TABLE_EXT );
+ mpNamespaceMap->Add( sXML_np_draw, GetXMLToken(XML_N_DRAW), XML_NAMESPACE_DRAW );
+ mpNamespaceMap->Add( sXML_np_draw_ext, GetXMLToken(XML_N_DRAW_EXT), XML_NAMESPACE_DRAW_EXT );
+ mpNamespaceMap->Add( sXML_np_dr3d, GetXMLToken(XML_N_DR3D), XML_NAMESPACE_DR3D );
+ mpNamespaceMap->Add( sXML_np_fo, GetXMLToken(XML_N_FO_COMPAT), XML_NAMESPACE_FO );
+ mpNamespaceMap->Add( sXML_np_xlink, GetXMLToken(XML_N_XLINK), XML_NAMESPACE_XLINK );
+ mpNamespaceMap->Add( sXML_np_dc, GetXMLToken(XML_N_DC), XML_NAMESPACE_DC );
+ mpNamespaceMap->Add( sXML_np_dom, GetXMLToken(XML_N_DOM), XML_NAMESPACE_DOM );
+ mpNamespaceMap->Add( sXML_np_meta, GetXMLToken(XML_N_META), XML_NAMESPACE_META );
+ mpNamespaceMap->Add( sXML_np_number, GetXMLToken(XML_N_NUMBER), XML_NAMESPACE_NUMBER );
+ mpNamespaceMap->Add( sXML_np_svg, GetXMLToken(XML_N_SVG_COMPAT), XML_NAMESPACE_SVG );
+ mpNamespaceMap->Add( sXML_np_chart, GetXMLToken(XML_N_CHART), XML_NAMESPACE_CHART );
+ mpNamespaceMap->Add( sXML_np_math, GetXMLToken(XML_N_MATH), XML_NAMESPACE_MATH );
+ mpNamespaceMap->Add(sXML_np_form, GetXMLToken(XML_N_FORM), XML_NAMESPACE_FORM );
+ mpNamespaceMap->Add( sXML_np_script, GetXMLToken(XML_N_SCRIPT), XML_NAMESPACE_SCRIPT );
+ mpNamespaceMap->Add( sXML_np_config, GetXMLToken(XML_N_CONFIG), XML_NAMESPACE_CONFIG );
+ mpNamespaceMap->Add( sXML_np_xforms, GetXMLToken(XML_N_XFORMS_1_0), XML_NAMESPACE_XFORMS );
+ mpNamespaceMap->Add( sXML_np_formx, GetXMLToken( XML_N_FORMX ), XML_NAMESPACE_FORMX );
+ mpNamespaceMap->Add( sXML_np_xsd, GetXMLToken(XML_N_XSD), XML_NAMESPACE_XSD );
+ mpNamespaceMap->Add( sXML_np_xsi, GetXMLToken(XML_N_XSI), XML_NAMESPACE_XFORMS );
+ mpNamespaceMap->Add( sXML_np_ooow, GetXMLToken(XML_N_OOOW), XML_NAMESPACE_OOOW );
+ mpNamespaceMap->Add( sXML_np_oooc, GetXMLToken(XML_N_OOOC), XML_NAMESPACE_OOOC );
+ mpNamespaceMap->Add( sXML_np_field, GetXMLToken(XML_N_FIELD), XML_NAMESPACE_FIELD );
+ mpNamespaceMap->Add( sXML_np_of, GetXMLToken(XML_N_OF), XML_NAMESPACE_OF );
+ mpNamespaceMap->Add( sXML_np_xhtml, GetXMLToken(XML_N_XHTML), XML_NAMESPACE_XHTML );
+ mpNamespaceMap->Add( sXML_np_css3text, GetXMLToken(XML_N_CSS3TEXT), XML_NAMESPACE_CSS3TEXT );
mpNamespaceMap->Add( "_calc_libo", GetXMLToken(XML_N_CALC_EXT), XML_NAMESPACE_CALC_EXT);
mpNamespaceMap->Add( "_office_libo",
@@ -441,7 +441,7 @@ SvXMLImport::SvXMLImport(
mbIsGraphicLoadOnDemandSupported( true )
{
SAL_WARN_IF( !xContext.is(), "xmloff.core", "got no service manager" );
- _InitCtor();
+ InitCtor_();
}
SvXMLImport::~SvXMLImport() throw ()
@@ -1719,7 +1719,7 @@ bool SvXMLImport::IsODFVersionConsistent( const OUString& aODFVersion )
return bResult;
}
-void SvXMLImport::_CreateNumberFormatsSupplier()
+void SvXMLImport::CreateNumberFormatsSupplier_()
{
SAL_WARN_IF( mxNumberFormatsSupplier.is(), "xmloff.core", "number formats supplier already exists!" );
if(mxModel.is())
@@ -1727,7 +1727,7 @@ void SvXMLImport::_CreateNumberFormatsSupplier()
uno::Reference< util::XNumberFormatsSupplier> (mxModel, uno::UNO_QUERY);
}
-void SvXMLImport::_CreateDataStylesImport()
+void SvXMLImport::CreateDataStylesImport_()
{
SAL_WARN_IF( mpNumImport != nullptr, "xmloff.core", "data styles import already exists!" );
uno::Reference<util::XNumberFormatsSupplier> xNum =
diff --git a/xmloff/source/draw/XMLShapeStyleContext.cxx b/xmloff/source/draw/XMLShapeStyleContext.cxx
index b362ea8..cfe68c9 100644
--- a/xmloff/source/draw/XMLShapeStyleContext.cxx
+++ b/xmloff/source/draw/XMLShapeStyleContext.cxx
@@ -184,7 +184,7 @@ void XMLShapeStyleContext::FillPropertySet( const Reference< beans::XPropertySet
}
}
- struct _ContextID_Index_Pair aContextIDs[] =
+ struct ContextID_Index_Pair aContextIDs[] =
{
{ CTF_DASHNAME , -1 },
{ CTF_LINESTARTNAME , -1 },
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index 04e257e..fdd1132 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -593,24 +593,24 @@ void SAL_CALL SdXMLExport::setSourceDocument( const Reference< lang::XComponent
}
// add namespaces
- _GetNamespaceMap().Add(
+ GetNamespaceMap_().Add(
GetXMLToken(XML_NP_PRESENTATION),
GetXMLToken(XML_N_PRESENTATION),
XML_NAMESPACE_PRESENTATION);
- _GetNamespaceMap().Add(
+ GetNamespaceMap_().Add(
GetXMLToken(XML_NP_SMIL),
GetXMLToken(XML_N_SMIL_COMPAT),
XML_NAMESPACE_SMIL);
- _GetNamespaceMap().Add(
+ GetNamespaceMap_().Add(
GetXMLToken(XML_NP_ANIMATION),
GetXMLToken(XML_N_ANIMATION),
XML_NAMESPACE_ANIMATION);
if( getDefaultVersion() > SvtSaveOptions::ODFVER_012 )
{
- _GetNamespaceMap().Add(
+ GetNamespaceMap_().Add(
GetXMLToken(XML_NP_OFFICE_EXT),
GetXMLToken(XML_N_OFFICE_EXT),
XML_NAMESPACE_OFFICE_EXT);
@@ -1739,7 +1739,7 @@ void SdXMLExport::SetProgress(sal_Int32 nProg)
}
-void SdXMLExport::_ExportMeta()
+void SdXMLExport::ExportMeta_()
{
uno::Sequence<beans::NamedValue> stats { { "ObjectCount", uno::makeAny(mnObjectCount) } };
@@ -1753,16 +1753,16 @@ void SdXMLExport::_ExportMeta()
}
// call parent
- SvXMLExport::_ExportMeta();
+ SvXMLExport::ExportMeta_();
}
-void SdXMLExport::_ExportFontDecls()
+void SdXMLExport::ExportFontDecls_()
{
GetFontAutoStylePool(); // make sure the pool is created
- SvXMLExport::_ExportFontDecls();
+ SvXMLExport::ExportFontDecls_();
}
-void SdXMLExport::_ExportContent()
+void SdXMLExport::ExportContent_()
{
// export <pres:header-decl>, <pres:footer-decl> and <pres:date-time-decl> elements
ImpWriteHeaderFooterDecls();
@@ -2128,12 +2128,12 @@ void SdXMLExport::exportPresentationSettings()
}
}
-void SdXMLExport::_ExportStyles(bool bUsed)
+void SdXMLExport::ExportStyles_(bool bUsed)
{
GetPropertySetMapper()->SetAutoStyles( false );
// export fill styles
- SvXMLExport::_ExportStyles( bUsed );
+ SvXMLExport::ExportStyles_( bUsed );
// write draw:style-name for object graphic-styles
GetShapeExport()->ExportGraphicDefaults();
@@ -2166,7 +2166,7 @@ void SdXMLExport::_ExportStyles(bool bUsed)
}
}
-void SdXMLExport::_ExportAutoStyles()
+void SdXMLExport::ExportAutoStyles_()
{
Reference< beans::XPropertySet > xInfoSet( getExportInfo() );
if( xInfoSet.is() )
@@ -2361,7 +2361,7 @@ void SdXMLExport::_ExportAutoStyles()
GetTextParagraphExport()->exportTextAutoStyles();
}
-void SdXMLExport::_ExportMasterStyles()
+void SdXMLExport::ExportMasterStyles_()
{
// export layer
SdXMLayerExporter::exportLayer( *this );
diff --git a/xmloff/source/draw/sdxmlexp_impl.hxx b/xmloff/source/draw/sdxmlexp_impl.hxx
index b6a32c9..49c3ebd 100644
--- a/xmloff/source/draw/sdxmlexp_impl.hxx
+++ b/xmloff/source/draw/sdxmlexp_impl.hxx
@@ -117,12 +117,12 @@ class SdXMLExport : public SvXMLExport
const OUString msPageLayoutNames;
- virtual void _ExportStyles(bool bUsed) override;
- virtual void _ExportAutoStyles() override;
- virtual void _ExportFontDecls() override;
- virtual void _ExportMasterStyles() override;
- virtual void _ExportContent() override;
- virtual void _ExportMeta() override;
+ virtual void ExportStyles_(bool bUsed) override;
+ virtual void ExportAutoStyles_() override;
+ virtual void ExportFontDecls_() override;
+ virtual void ExportMasterStyles_() override;
+ virtual void ExportContent_() override;
+ virtual void ExportMeta_() override;
ImpXMLEXPPageMasterInfo* ImpGetOrCreatePageMasterInfo( css::uno::Reference< css::drawing::XDrawPage > xMasterPage );
void ImpPrepPageMasterInfos();
diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index 09cc900..2158b8f 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -236,7 +236,7 @@ void SdXMLDrawingPageStyleContext::FillPropertySet(
const Reference< beans::XPropertySet > & rPropSet )
{
static const sal_uInt16 MAX_SPECIAL_DRAW_STYLES = 7;
- struct _ContextID_Index_Pair aContextIDs[MAX_SPECIAL_DRAW_STYLES+1] =
+ struct ContextID_Index_Pair aContextIDs[MAX_SPECIAL_DRAW_STYLES+1] =
{
{ CTF_DASHNAME , -1 },
{ CTF_LINESTARTNAME , -1 },
diff --git a/xmloff/source/meta/MetaExportComponent.cxx b/xmloff/source/meta/MetaExportComponent.cxx
index cef777e..65161eb 100644
--- a/xmloff/source/meta/MetaExportComponent.cxx
+++ b/xmloff/source/meta/MetaExportComponent.cxx
@@ -155,13 +155,13 @@ sal_uInt32 XMLMetaExportComponent::exportDoc( enum XMLTokenEnum )
true, true );
// NB: office:meta is now written by _ExportMeta
- _ExportMeta();
+ ExportMeta_();
}
xDocHandler->endDocument();
return 0;
}
-void XMLMetaExportComponent::_ExportMeta()
+void XMLMetaExportComponent::ExportMeta_()
{
if (mxDocProps.is()) {
OUString generator( ::utl::DocInfoHelper::GetGeneratorString() );
@@ -171,14 +171,14 @@ void XMLMetaExportComponent::_ExportMeta()
uno::Reference<xml::sax::XDocumentHandler> xMeta(pMeta);
pMeta->Export();
} else {
- SvXMLExport::_ExportMeta();
+ SvXMLExport::ExportMeta_();
}
}
// methods without content:
-void XMLMetaExportComponent::_ExportAutoStyles() {}
-void XMLMetaExportComponent::_ExportMasterStyles() {}
-void XMLMetaExportComponent::_ExportContent() {}
+void XMLMetaExportComponent::ExportAutoStyles_() {}
+void XMLMetaExportComponent::ExportMasterStyles_() {}
+void XMLMetaExportComponent::ExportContent_() {}
uno::Sequence< OUString > SAL_CALL XMLMetaExportOOO_getSupportedServiceNames()
throw()
diff --git a/xmloff/source/meta/xmlmetae.cxx b/xmloff/source/meta/xmlmetae.cxx
index e9e90bd..315c9f9 100644
--- a/xmloff/source/meta/xmlmetae.cxx
+++ b/xmloff/source/meta/xmlmetae.cxx
@@ -93,7 +93,7 @@ void SvXMLMetaExport::SimpleDateTimeElement( const util::DateTime & rDate,
}
}
-void SvXMLMetaExport::_MExport()
+void SvXMLMetaExport::MExport_()
{
// generator
{
@@ -342,7 +342,7 @@ void SvXMLMetaExport::Export()
SvXMLElementExport aElem( mrExport, XML_NAMESPACE_OFFICE, XML_META,
true, true );
// fall back to using public interface of XDocumentProperties
- _MExport();
+ MExport_();
}
}
diff --git a/xmloff/source/meta/xmlversion.cxx b/xmloff/source/meta/xmlversion.cxx
index 1e3eb89..766b71c 100644
--- a/xmloff/source/meta/xmlversion.cxx
+++ b/xmloff/source/meta/xmlversion.cxx
@@ -47,9 +47,9 @@ XMLVersionListExport::XMLVersionListExport(
: SvXMLExport( rContext, "", rFileName, util::MeasureUnit::CM, rHandler ),
maVersions( rVersions )
{
- _GetNamespaceMap().AddAtIndex( XML_NAMESPACE_DC_IDX, xmloff::token::GetXMLToken(xmloff::token::XML_NP_DC),
+ GetNamespaceMap_().AddAtIndex( XML_NAMESPACE_DC_IDX, xmloff::token::GetXMLToken(xmloff::token::XML_NP_DC),
xmloff::token::GetXMLToken(xmloff::token::XML_N_DC), XML_NAMESPACE_DC );
- _GetNamespaceMap().AddAtIndex( XML_NAMESPACE_FRAMEWORK_IDX, xmloff::token::GetXMLToken(xmloff::token::XML_NP_VERSIONS_LIST),
+ GetNamespaceMap_().AddAtIndex( XML_NAMESPACE_FRAMEWORK_IDX, xmloff::token::GetXMLToken(xmloff::token::XML_NP_VERSIONS_LIST),
xmloff::token::GetXMLToken(xmloff::token::XML_N_VERSIONS_LIST), XML_NAMESPACE_FRAMEWORK );
}
@@ -61,12 +61,12 @@ sal_uInt32 XMLVersionListExport::exportDoc( enum ::xmloff::token::XMLTokenEnum )
sal_uInt16 nPos = SvXMLNamespaceMap::GetIndexByKey( XML_NAMESPACE_DC );
- AddAttribute( XML_NAMESPACE_NONE, _GetNamespaceMap().GetAttrNameByIndex( nPos ),
- _GetNamespaceMap().GetNameByIndex ( nPos ) );
+ AddAttribute( XML_NAMESPACE_NONE, GetNamespaceMap_().GetAttrNameByIndex( nPos ),
+ GetNamespaceMap_().GetNameByIndex ( nPos ) );
nPos = SvXMLNamespaceMap::GetIndexByKey( XML_NAMESPACE_FRAMEWORK );
- AddAttribute( XML_NAMESPACE_NONE, _GetNamespaceMap().GetAttrNameByIndex( nPos ),
- _GetNamespaceMap().GetNameByIndex ( nPos ) );
+ AddAttribute( XML_NAMESPACE_NONE, GetNamespaceMap_().GetAttrNameByIndex( nPos ),
+ GetNamespaceMap_().GetNameByIndex ( nPos ) );
{
// the following object will write all collected attributes in its dtor
diff --git a/xmloff/source/style/PageMasterImportContext.cxx b/xmloff/source/style/PageMasterImportContext.cxx
index 7934a17..8b93b7b 100644
--- a/xmloff/source/style/PageMasterImportContext.cxx
+++ b/xmloff/source/style/PageMasterImportContext.cxx
@@ -194,7 +194,7 @@ void PageStyleContext::FillPropertySet(const uno::Reference<beans::XPropertySet
if(xImpPrMap.is())
{
// properties that need special handling because they need the used name to be translated first
- struct _ContextID_Index_Pair aContextIDs[] =
+ struct ContextID_Index_Pair aContextIDs[] =
{
{ CTF_PM_FILLGRADIENTNAME, -1 },
{ CTF_PM_FILLTRANSNAME, -1 },
diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx
index 870e19c..5c8f673 100644
--- a/xmloff/source/style/xmlexppr.cxx
+++ b/xmloff/source/style/xmlexppr.cxx
@@ -572,16 +572,16 @@ void SvXMLExportPropertyMapper::ChainExportMapper(
std::vector<XMLPropertyState> SvXMLExportPropertyMapper::Filter(
const uno::Reference<beans::XPropertySet>& rPropSet, bool bEnableFoFontFamily ) const
{
- return _Filter(rPropSet, false, bEnableFoFontFamily);
+ return Filter_(rPropSet, false, bEnableFoFontFamily);
}
std::vector<XMLPropertyState> SvXMLExportPropertyMapper::FilterDefaults(
const uno::Reference<beans::XPropertySet>& rPropSet ) const
{
- return _Filter(rPropSet, true, false/*bEnableFoFontFamily*/);
+ return Filter_(rPropSet, true, false/*bEnableFoFontFamily*/);
}
-vector<XMLPropertyState> SvXMLExportPropertyMapper::_Filter(
+vector<XMLPropertyState> SvXMLExportPropertyMapper::Filter_(
const Reference<XPropertySet>& xPropSet, bool bDefault, bool bEnableFoFontFamily ) const
{
vector< XMLPropertyState > aPropStateArray;
diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx
index fd11c9c..21cc0598 100644
--- a/xmloff/source/style/xmlimppr.cxx
+++ b/xmloff/source/style/xmlimppr.cxx
@@ -366,7 +366,7 @@ void SvXMLImportPropertyMapper::FillPropertySequence(
void SvXMLImportPropertyMapper::CheckSpecialContext(
const ::std::vector< XMLPropertyState >& aProperties,
const css::uno::Reference< css::beans::XPropertySet >& rPropSet,
- _ContextID_Index_Pair* pSpecialContextIds ) const
+ ContextID_Index_Pair* pSpecialContextIds ) const
{
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list