Fix a bunch of -Wunused-but-set-variable warnings.
[pdfium.git] / core / src / fpdftext / text_int.h
index 65ffdde..0dc17a8 100644 (file)
@@ -6,7 +6,7 @@
 
 #ifndef _PDF_TEXT_INT_H_
 #define _PDF_TEXT_INT_H_
-class CPDF_TextParseOptions : public CFX_Object
+class CPDF_TextParseOptions 
 {
 public:
     CPDF_TextParseOptions();
@@ -27,7 +27,7 @@ class CPDF_DocProgressiveSearch;
 #define FPDFTEXT_MC_PASS                       0
 #define FPDFTEXT_MC_DONE                       1
 #define FPDFTEXT_MC_DELAY                      2
-typedef struct _PAGECHAR_INFO: public CFX_Object {
+typedef struct _PAGECHAR_INFO {
     int                                        m_CharCode;
     FX_WCHAR                   m_Unicode;
     FX_FLOAT                   m_OriginX;
@@ -115,6 +115,11 @@ private:
     void               AddCharInfoByRLDirection(CFX_WideString& str, int i);
     FX_INT32   GetTextObjectWritingMode(const CPDF_TextObject* pTextObj);
     FX_INT32   FindTextlineFlowDirection();
+    void SwapTempTextBuf(FX_INT32 iCharListStartAppend,
+                         FX_INT32 iBufStartAppend);
+    FX_BOOL IsRightToLeft(const CPDF_TextObject* pTextObj,
+                          const CPDF_Font* pFont,
+                          int nItems) const;
 protected:
     CPDFText_ParseOptions                      m_ParseOptions;
     CFX_WordArray                                      m_CharIndex;
@@ -172,7 +177,7 @@ private:
     CFX_RectArray                                      m_resArray;
     FX_BOOL                                                    m_IsFind;
 };
-class CPDF_LinkExt: public CFX_Object
+class CPDF_LinkExt
 {
 public:
     CPDF_LinkExt() {};