diff options
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/html/parcss1.cxx | 6 | ||||
-rw-r--r-- | sw/source/filter/html/parcss1.hxx | 9 | ||||
-rw-r--r-- | sw/source/filter/html/swhtml.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/html/swhtml.hxx | 1 | ||||
-rw-r--r-- | sw/source/filter/ww8/wrtww8.hxx | 1 | ||||
-rw-r--r-- | sw/source/filter/ww8/wrtww8gr.cxx | 5 |
6 files changed, 6 insertions, 18 deletions
diff --git a/sw/source/filter/html/parcss1.cxx b/sw/source/filter/html/parcss1.cxx index 4ba013d8848d..b3d76b369a4b 100644 --- a/sw/source/filter/html/parcss1.cxx +++ b/sw/source/filter/html/parcss1.cxx @@ -84,11 +84,11 @@ sal_Unicode CSS1Parser::GetNextChar() if( c == '\n' ) { - IncLineNr(); - SetLinePos( 1L ); + ++nlLineNr; + nlLinePos = 1; } else - IncLinePos(); + ++nlLinePos; return c; } diff --git a/sw/source/filter/html/parcss1.hxx b/sw/source/filter/html/parcss1.hxx index 51be36105fca..30b24ddbeb00 100644 --- a/sw/source/filter/html/parcss1.hxx +++ b/sw/source/filter/html/parcss1.hxx @@ -205,10 +205,6 @@ class CSS1Parser bool IsEOF() const { return bEOF; } - void IncLineNr() { ++nlLineNr; } - sal_uInt32 IncLinePos() { return ++nlLinePos; } - inline void SetLinePos( sal_uInt32 nlPos ); // inline declaration below - // parse parts of the grammar void ParseRule(); CSS1Selector *ParseSelector(); @@ -259,11 +255,6 @@ public: virtual ~CSS1Parser(); }; -inline void CSS1Parser::SetLinePos( sal_uInt32 nlPos ) -{ - nlLinePos = nlPos; -} - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx index 81b6417e6db4..c790123b3b24 100644 --- a/sw/source/filter/html/swhtml.cxx +++ b/sw/source/filter/html/swhtml.cxx @@ -1055,7 +1055,7 @@ void SwHTMLParser::NextToken( int nToken ) if( HTML_IFRAME_OFF == nToken ) { m_bCallNextToken = false; - EndFloatingFrame(); + m_bInFloatingFrame = false; } return; diff --git a/sw/source/filter/html/swhtml.hxx b/sw/source/filter/html/swhtml.hxx index 386f11fb6988..6ef39ce7dd88 100644 --- a/sw/source/filter/html/swhtml.hxx +++ b/sw/source/filter/html/swhtml.hxx @@ -715,7 +715,6 @@ private: void InsertParam(); // htmlplug.cxx void InsertFloatingFrame(); - void EndFloatingFrame() { m_bInFloatingFrame = false; } // <BODY>-Tag auswerten: Hintergrund-Grafiken und -Farben setzen (htmlgrin.cxx) void InsertBodyOptions(); diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx index c1dc4de3791b..9fdf61a63028 100644 --- a/sw/source/filter/ww8/wrtww8.hxx +++ b/sw/source/filter/ww8/wrtww8.hxx @@ -1008,7 +1008,6 @@ public: SvxMSExportOLEObjects& GetOLEExp() { return *m_pOLEExp; } SwMSConvertControls& GetOCXExp() { return *m_pOCXExp; } - WW8OleMap& GetOLEMap() { return m_aOleMap; } void ExportDopTypography(WW8DopTypography &rTypo); sal_uInt16 AddRedlineAuthor( sal_uInt16 nId ); diff --git a/sw/source/filter/ww8/wrtww8gr.cxx b/sw/source/filter/ww8/wrtww8gr.cxx index 6f00814e47b5..8834934c115c 100644 --- a/sw/source/filter/ww8/wrtww8gr.cxx +++ b/sw/source/filter/ww8/wrtww8gr.cxx @@ -218,14 +218,13 @@ void WW8Export::OutputOLENode( const SwOLENode& rOLENode ) if( xObj.is() ) { const embed::XEmbeddedObject *pObj = xObj.get(); - WW8OleMap& rPointerToObjId = GetOLEMap(); //Don't want to use pointer ids, as is traditional, because we need //to put this into a 32bit value, and on 64bit the bottom bits //might collide and two unrelated ole objects end up considered the //same. Don't want to simply start at 0 which is a special value - sal_Int32 nPictureId = SAL_MAX_INT32 - rPointerToObjId.size(); + sal_Int32 nPictureId = SAL_MAX_INT32 - m_aOleMap.size(); WW8OleMap::value_type entry = std::make_pair(pObj, nPictureId); - std::pair<WW8OleMap::iterator, bool> aRes = rPointerToObjId.insert(entry); + std::pair<WW8OleMap::iterator, bool> aRes = m_aOleMap.insert(entry); bool bIsNotDuplicate = aRes.second; //.second is false when element already existed nPictureId = aRes.first->second; Set_UInt32(pDataAdr, nPictureId); |