diff options
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hpara.cxx | 4 | ||||
-rw-r--r-- | hwpfilter/source/hpara.h | 2 | ||||
-rw-r--r-- | hwpfilter/source/hstyle.cxx | 4 | ||||
-rw-r--r-- | hwpfilter/source/hstyle.h | 2 |
4 files changed, 2 insertions, 10 deletions
diff --git a/hwpfilter/source/hpara.cxx b/hwpfilter/source/hpara.cxx index 7b8c34decd02..5a9be4eec83b 100644 --- a/hwpfilter/source/hpara.cxx +++ b/hwpfilter/source/hpara.cxx @@ -198,10 +198,6 @@ CharShape *HWPPara::GetCharShape(int pos) } -ParaShape *HWPPara::GetParaShape(void) -{ - return &pshape; -} HBox *HWPPara::readHBox(HWPFile & hwpf) diff --git a/hwpfilter/source/hpara.h b/hwpfilter/source/hpara.h index f382a96f9049..49c1f3008996 100644 --- a/hwpfilter/source/hpara.h +++ b/hwpfilter/source/hpara.h @@ -130,7 +130,7 @@ class DLLEXPORT HWPPara /** * Returns the style of paragraph. */ - ParaShape *GetParaShape(void); + ParaShape *GetParaShape(void) { return &pshape;} /** * Returns previous paragraph. diff --git a/hwpfilter/source/hstyle.cxx b/hwpfilter/source/hstyle.cxx index 5b91dc4a5e4d..6be9bd85f343 100644 --- a/hwpfilter/source/hstyle.cxx +++ b/hwpfilter/source/hstyle.cxx @@ -53,10 +53,6 @@ HWPStyle::~HWPStyle(void) } -int HWPStyle::Num(void) const -{ - return nstyles; -} char *HWPStyle::GetName(int n) const diff --git a/hwpfilter/source/hstyle.h b/hwpfilter/source/hstyle.h index 1dd37ea48ccb..443102983535 100644 --- a/hwpfilter/source/hstyle.h +++ b/hwpfilter/source/hstyle.h @@ -36,7 +36,7 @@ class DLLEXPORT HWPStyle HWPStyle( void ); ~HWPStyle( void ); - int Num( void ) const; + int Num( void ) const { return nstyles;} char *GetName( int n ) const; CharShape *GetCharShape( int n ) const; ParaShape *GetParaShape( int n ) const; |