summaryrefslogtreecommitdiffstats
path: root/hwpfilter/source/hstyle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/hstyle.cxx')
-rw-r--r--hwpfilter/source/hstyle.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/hwpfilter/source/hstyle.cxx b/hwpfilter/source/hstyle.cxx
index ccd75e704641..cc7734cec83d 100644
--- a/hwpfilter/source/hstyle.cxx
+++ b/hwpfilter/source/hstyle.cxx
@@ -42,7 +42,7 @@ static char buffer[MAXSTYLENAME + 1];
HWPStyle::HWPStyle()
{
nstyles = 0;
- style = 0;
+ style = nullptr;
}
@@ -58,7 +58,7 @@ HWPStyle::~HWPStyle()
char *HWPStyle::GetName(int n) const
{
if (!(n >= 0 && n < nstyles))
- return 0;
+ return nullptr;
return DATA[n].name;
}
@@ -78,7 +78,7 @@ void HWPStyle::SetName(int n, char *name)
CharShape *HWPStyle::GetCharShape(int n) const
{
if (!(n >= 0 && n < nstyles))
- return 0;
+ return nullptr;
return &DATA[n].cshape;
}
@@ -98,7 +98,7 @@ void HWPStyle::SetCharShape(int n, CharShape * cshapep)
ParaShape *HWPStyle::GetParaShape(int n) const
{
if (!(n >= 0 && n < nstyles))
- return 0;
+ return nullptr;
return &DATA[n].pshape;
}