diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-14 11:27:52 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-14 10:21:55 +0000 |
commit | 06ea347b939895d3091ce747c26de58f4d4a766a (patch) | |
tree | e93a25d2aadc36c263a8ccd8b593449b37fb8b6b /include/svtools/svparser.hxx | |
parent | sfx2: remove the global SidebarController::maSidebarControllerContainer (diff) | |
download | core-06ea347b939895d3091ce747c26de58f4d4a766a.tar.gz core-06ea347b939895d3091ce747c26de58f4d4a766a.zip |
loplugin:unusedmethods svtools
Change-Id: I04ad31055c04a247faddf4311943ca769051473c
Reviewed-on: https://gerrit.libreoffice.org/17032
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svtools/svparser.hxx')
-rw-r--r-- | include/svtools/svparser.hxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/svtools/svparser.hxx b/include/svtools/svparser.hxx index 75ab3be3d83f..b15580e6fc47 100644 --- a/include/svtools/svparser.hxx +++ b/include/svtools/svparser.hxx @@ -95,7 +95,6 @@ protected: // methods for Token stack int SkipToken( short nCnt = -1 ); // "skip" n Tokens back TokenStackType* GetStackPtr( short nCnt ); - inline sal_uInt8 GetStackPos() const; // scan the next token: // work off Token stack and call _GetNextToken() if necessary. @@ -138,14 +137,11 @@ public: Link<> GetAsynchCallLink() const { return LINK( const_cast<SvParser*>(this), SvParser, NewDataRead ); } - long CallAsyncCallLink() { return NewDataRead( 0 ); } - // for asynchronous reading from the SvStream void SaveState( int nToken ); void RestoreState(); virtual void Continue( int nToken ); - inline void SetDownloadingFile( bool bSet ) { bDownloadingFile = bSet; } inline bool IsDownloadingFile() const { return bDownloadingFile; } // Set/get source encoding. The UCS2BEncoding flag is valid if source @@ -153,9 +149,6 @@ public: void SetSrcEncoding( rtl_TextEncoding eSrcEnc ); rtl_TextEncoding GetSrcEncoding() const { return eSrcEnc; } - void SetSrcUCS2BEncoding( bool bSet ) { bUCS2BSrcEnc = bSet; } - bool IsSrcUCS2BEncoding() const { return bUCS2BSrcEnc; } - // May the character set be switched to UCS/2, if a BOM // is in the first two characters of the stream? void SetSwitchToUCS2( bool bSet ) { bSwitchToUCS2 = bSet; } @@ -186,9 +179,6 @@ inline sal_uLong SvParser::SetLineNr( sal_uLong nlNum ) inline sal_uLong SvParser::SetLinePos( sal_uLong nlPos ) { sal_uLong nlOld = nlLinePos; nlLinePos = nlPos; return nlOld; } -inline sal_uInt8 SvParser::GetStackPos() const -{ return nTokenStackPos; } - inline sal_uInt16 SvParser::GetCharSize() const { return (RTL_TEXTENCODING_UCS2 == eSrcEnc) ? 2 : 1; @@ -235,9 +225,6 @@ public: */ const OUString& GetKey() const { return m_aKey; } const OUString& GetValue() const { return m_aValue; } - - void SetKey (const OUString &rKey ) { m_aKey = rKey; } - void SetValue (const OUString &rValue) { m_aValue = rValue; } }; /*======================================================================== |