summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKrzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)>2007-09-24 00:38:29 -0700
committerKrzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)>2007-09-24 00:38:29 -0700
commit71fb15f8bd131a13d8cf0f394fe601cfbb6e1772 (patch)
treec46561e5edb09452db7b501ceb203a2f71b13f6e /utils
parent7ba3f198a0651d2a7c91b7d9e10a5173dc3de0a3 (diff)
Even less compiler warnings.
Diffstat (limited to 'utils')
-rw-r--r--utils/HtmlOutputDev.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/HtmlOutputDev.cc b/utils/HtmlOutputDev.cc
index 721e5c26..9a330504 100644
--- a/utils/HtmlOutputDev.cc
+++ b/utils/HtmlOutputDev.cc
@@ -59,6 +59,7 @@ static GooString* basename(GooString* str){
return new GooString(str);
}
+#if 0
static GooString* Dirname(GooString* str){
char *p=str->getCString();
@@ -68,6 +69,7 @@ static GooString* Dirname(GooString* str){
return new GooString(p,i+1);
return new GooString();
}
+#endif
//------------------------------------------------------------------------
// HtmlString
@@ -994,10 +996,9 @@ HtmlOutputDev::~HtmlOutputDev() {
delete pages;
}
-
-
void HtmlOutputDev::startPage(int pageNum, GfxState *state) {
- /*if (mode&&!xml){
+#if 0
+ if (mode&&!xml){
if (write){
write=gFalse;
GooString* fname=Dirname(Docname);
@@ -1012,7 +1013,8 @@ void HtmlOutputDev::startPage(int pageNum, GfxState *state) {
// else
fprintf(tin,"ROTATE=%d neg %d neg translate\n",state->getX1(),state->getY1());
}
- }*/
+ }
+#endif
this->pageNum = pageNum;
GooString *str=basename(Docname);