summaryrefslogtreecommitdiff
path: root/splash/SplashFontFile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'splash/SplashFontFile.cc')
-rw-r--r--splash/SplashFontFile.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/splash/SplashFontFile.cc b/splash/SplashFontFile.cc
index 20209fb9..b5a1d25f 100644
--- a/splash/SplashFontFile.cc
+++ b/splash/SplashFontFile.cc
@@ -45,7 +45,7 @@ SplashFontFile::SplashFontFile(SplashFontFileID *idA, SplashFontSrc *srcA) {
src = srcA;
src->ref();
refCnt = 0;
- doAdjustMatrix = gFalse;
+ doAdjustMatrix = false;
}
SplashFontFile::~SplashFontFile() {
@@ -66,8 +66,8 @@ void SplashFontFile::decRefCnt() {
//
SplashFontSrc::SplashFontSrc() {
- isFile = gFalse;
- deleteSrc = gFalse;
+ isFile = false;
+ deleteSrc = false;
fileName = nullptr;
buf = nullptr;
refcnt = 1;
@@ -97,23 +97,23 @@ void SplashFontSrc::unref() {
delete this;
}
-void SplashFontSrc::setFile(GooString *file, GBool del)
+void SplashFontSrc::setFile(GooString *file, bool del)
{
- isFile = gTrue;
+ isFile = true;
fileName = file->copy();
deleteSrc = del;
}
-void SplashFontSrc::setFile(const char *file, GBool del)
+void SplashFontSrc::setFile(const char *file, bool del)
{
- isFile = gTrue;
+ isFile = true;
fileName = new GooString(file);
deleteSrc = del;
}
-void SplashFontSrc::setBuf(char *bufA, int bufLenA, GBool del)
+void SplashFontSrc::setBuf(char *bufA, int bufLenA, bool del)
{
- isFile = gFalse;
+ isFile = false;
buf = bufA;
bufLen = bufLenA;
deleteSrc = del;