summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlatr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmlatr.cxx')
-rw-r--r--sw/source/filter/html/htmlatr.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx
index 67ca2a1b4aec..72c3e20b68e8 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -201,6 +201,8 @@ sal_uInt16 SwHTMLWriter::GetCSS1ScriptForScriptType( sal_uInt16 nScriptType )
* Otherwise, attributes of the format are output as well.
*/
+namespace {
+
struct SwHTMLTextCollOutputInfo
{
OString aToken; // End token to be output
@@ -223,6 +225,8 @@ struct SwHTMLTextCollOutputInfo
bool ShouldOutputToken() const { return bOutPara || !HasParaToken(); }
};
+}
+
SwHTMLFormatInfo::SwHTMLFormatInfo( const SwFormat *pF, SwDoc *pDoc, SwDoc *pTemplate,
bool bOutStyles,
LanguageType eDfltLang,
@@ -1029,6 +1033,8 @@ static void OutHTML_SwFormatOff( Writer& rWrt, const SwHTMLTextCollOutputInfo& r
}
}
+namespace {
+
class HTMLStartEndPos
{
sal_Int32 nStart;
@@ -1048,6 +1054,8 @@ public:
void SetEnd( sal_Int32 nE ) { nEnd = nE; }
};
+}
+
HTMLStartEndPos::HTMLStartEndPos( const SfxPoolItem& rItem, sal_Int32 nStt,
sal_Int32 nE ) :
nStart( nStt ),
@@ -1069,8 +1077,6 @@ enum HTMLOnOffState { HTML_NOT_SUPPORTED, // unsupported Attribute
HTML_DROPCAP_VALUE, // DropCap-Attribute
HTML_AUTOFMT_VALUE }; // Attribute for automatic character styles
-}
-
class HTMLEndPosLst
{
HTMLStartEndPositions aStartLst; // list, sorted for start positions
@@ -1153,6 +1159,8 @@ public:
bool IsHTMLMode( sal_uLong nMode ) const { return (nHTMLMode & nMode) != 0; }
};
+}
+
void HTMLEndPosLst::InsertItem_( HTMLStartEndPos *pPos, HTMLStartEndPositions::size_type nEndPos )
{
// Insert the attribute in the Start list behind all attributes that