diff options
-rw-r--r-- | hwpfilter/source/formula.h | 1 | ||||
-rw-r--r-- | hwpfilter/source/hbox.cxx | 17 | ||||
-rw-r--r-- | hwpfilter/source/hbox.h | 8 | ||||
-rw-r--r-- | hwpfilter/source/hinfo.h | 2 | ||||
-rw-r--r-- | hwpfilter/source/hpara.h | 11 | ||||
-rw-r--r-- | hwpfilter/source/hwpfile.h | 2 | ||||
-rw-r--r-- | hwpfilter/source/mzstring.h | 3 | ||||
-rw-r--r-- | i18npool/source/search/levdis.hxx | 47 |
8 files changed, 0 insertions, 91 deletions
diff --git a/hwpfilter/source/formula.h b/hwpfilter/source/formula.h index ebdb1acc3b84..22c53f6a4d6f 100644 --- a/hwpfilter/source/formula.h +++ b/hwpfilter/source/formula.h @@ -68,7 +68,6 @@ private: void makeSubSup(Node *res); void makeFraction(Node *res); void makeDecoration(Node *res); - void makeFunction(Node *res); void makeRoot(Node *res); void makeAccent(Node *res); void makeParenth(Node *res); diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx index ddcd815d5e78..4ef9cbf203b8 100644 --- a/hwpfilter/source/hbox.cxx +++ b/hwpfilter/source/hbox.cxx @@ -71,11 +71,6 @@ hchar_string HBox::GetString() } -hunit HBox::Height(CharShape *csty) -{ - return( csty->size ); -} - // skip block SkipData::SkipData(hchar hch) : HBox(hch) @@ -378,12 +373,6 @@ TxtBox::~TxtBox() } -hunit TxtBox::Height(CharShape * csty) -{ - return (style.anchor_type == CHAR_ANCHOR) ? box_ys : csty->size; -} - - // picture(11) Picture::Picture() @@ -422,12 +411,6 @@ int Picture::Type() } -hunit Picture::Height(CharShape * sty) -{ - return (style.anchor_type == CHAR_ANCHOR) ? box_ys : sty->size; -} - - // line(14) // hidden(15) Hidden::~Hidden() diff --git a/hwpfilter/source/hbox.h b/hwpfilter/source/hbox.h index 7499bd2e0f99..4ceeb274b29c 100644 --- a/hwpfilter/source/hbox.h +++ b/hwpfilter/source/hbox.h @@ -54,10 +54,6 @@ struct HBox */ int WSize(); /** - * @returns The Height of HBox object as hunit value. - */ - virtual hunit Height(CharShape *csty); -/** * Read properties from HIODevice object like stream, file, memory. * * @param hwpf HWPFile Object having all information for a hwp file. @@ -391,8 +387,6 @@ struct TxtBox: public FBox int Type() { return type; } virtual bool Read(HWPFile &hwpf) SAL_OVERRIDE; - - virtual hunit Height(CharShape *csty) SAL_OVERRIDE; }; #define ALLOWED_GAP 5 @@ -662,8 +656,6 @@ struct Picture: public FBox int Type (); virtual bool Read (HWPFile &hwpf) SAL_OVERRIDE; - - virtual hunit Height (CharShape *sty) SAL_OVERRIDE; }; // line (14) diff --git a/hwpfilter/source/hinfo.h b/hwpfilter/source/hinfo.h index 00bc6046c9b4..0452f4250612 100644 --- a/hwpfilter/source/hinfo.h +++ b/hwpfilter/source/hinfo.h @@ -206,8 +206,6 @@ class DLLEXPORT HWPInfo ~HWPInfo(void); bool Read(HWPFile &hwpf); - bool Write(CTextOut &txtf); - bool Write(CHTMLOut &html); }; diff --git a/hwpfilter/source/hpara.h b/hwpfilter/source/hpara.h index 94bd3279ceb3..7a6c5e317e93 100644 --- a/hwpfilter/source/hpara.h +++ b/hwpfilter/source/hpara.h @@ -117,8 +117,6 @@ class DLLEXPORT HWPPara ~HWPPara(void); bool Read(HWPFile &hwpf, unsigned char flag = 0); - int Write(CTextOut &txtf); - int Write(CHTMLOut &html); void SetNext(HWPPara *n) { _next = n; }; @@ -133,17 +131,12 @@ class DLLEXPORT HWPPara ParaShape& GetParaShape(void) { return pshape;} /** - * Returns previous paragraph. - */ - HWPPara *Prev(void); -/** * Returns next paragraph. */ HWPPara *Next(void) { return _next;} int HomePos(int line) const; int EndPos(int line) const; - int LineLen(int line) const; private: HBox *readHBox(HWPFile &); @@ -165,10 +158,6 @@ inline int HWPPara::EndPos(int line) const } -inline int HWPPara::LineLen(int line) const -{ - return EndPos(line) - HomePos(line); -} #endif // INCLUDED_HWPFILTER_SOURCE_HPARA_H /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/hwpfilter/source/hwpfile.h b/hwpfilter/source/hwpfile.h index b28c2a440743..f044b5d053d9 100644 --- a/hwpfilter/source/hwpfile.h +++ b/hwpfilter/source/hwpfile.h @@ -228,12 +228,10 @@ class DLLEXPORT HWPFile HWPFont& GetHWPFont(void) { return _hwpFont; } HWPStyle& GetHWPStyle(void) { return _hwpStyle; } HWPPara *GetFirstPara(void) { return plist.front(); } - HWPPara *GetLastPara(void) { return plist.back(); } EmPicture *GetEmPicture(Picture *pic); EmPicture *GetEmPictureByName(char * name); HyperText *GetHyperText(); - FBox *GetBoxHead (void) { return blist.size()?blist.front():0; } ParaShape *getParaShape(int); CharShape *getCharShape(int); FBoxStyle *getFBoxStyle(int); diff --git a/hwpfilter/source/mzstring.h b/hwpfilter/source/mzstring.h index b5d2656ddbe4..5a5d6068c7ce 100644 --- a/hwpfilter/source/mzstring.h +++ b/hwpfilter/source/mzstring.h @@ -118,7 +118,6 @@ class MzString // Access to specific characters //char &operator [] (int n); char operator [] (int n); - char last(); // Comparison // Return: @@ -130,8 +129,6 @@ class MzString // Searching for parts int find (char c); int find (char c, int pos); - int find (char *); - int find (char *, int pos); int rfind (char c); int rfind (char c, int pos); diff --git a/i18npool/source/search/levdis.hxx b/i18npool/source/search/levdis.hxx index d9cb83621b09..e7dcc085cdac 100644 --- a/i18npool/source/search/levdis.hxx +++ b/i18npool/source/search/levdis.hxx @@ -183,19 +183,6 @@ public: bool bRelaxed = true ); inline int GetLimit() const { return nLimit; } - inline int GetReplaceP0() const { return nRepP0; } - inline int GetInsertQ0() const { return nInsQ0; } - inline int GetDeleteR0() const { return nDelR0; } - inline bool GetSplit() const { return bSplitCount; } - inline int SetLimit( int nNewLimit ); - inline int SetReplaceP0( int nNewP0 ); - inline int SetInsertQ0( int nNewQ0 ); - inline int SetDeleteR0( int nNewR0 ); - /** SetSplit(true) makes only sense after having called CalcLPQR() for the - internal weighs! */ - inline bool SetSplit( bool bNewSplit ); - - inline bool IsNormal( sal_Int32 nPos ) const { return !bpPatIsWild[nPos]; } // Calculate current balance, keep this inline for performance reasons! // c == cpPattern[jj] == cString[ii] @@ -231,40 +218,6 @@ public: } }; -inline int WLevDistance::SetLimit( int nNewLimit ) -{ - int nTmp = nLimit; - nLimit = nNewLimit; - return nTmp; -} - -inline int WLevDistance::SetReplaceP0( int nNewP0 ) -{ - int nTmp = nRepP0; - nRepP0 = nNewP0; - return nTmp; -} - -inline int WLevDistance::SetInsertQ0( int nNewQ0 ) -{ - int nTmp = nInsQ0; - nInsQ0 = nNewQ0; - return nTmp; -} - -inline int WLevDistance::SetDeleteR0( int nNewR0 ) -{ - int nTmp = nDelR0; - nDelR0 = nNewR0; - return nTmp; -} - -inline bool WLevDistance::SetSplit( bool bNewSplit ) -{ - bool bTmp = bSplitCount; - bSplitCount = bNewSplit; - return bTmp; -} #endif |