summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2001-04-06 13:01:15 +0000
committerJuergen Schmidt <jsc@openoffice.org>2001-04-06 13:01:15 +0000
commit6e1f28e334b2f2a89aa841c574af86456bbf0a1e (patch)
tree6ef4cb544886d963de516130e47908fa26f74f46 /codemaker
parentf339302fb36866f5e7379175e7cf77af959f0a39 (diff)
bugfix filename for file checking
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/cppumaker/cpputype.cxx16
1 files changed, 10 insertions, 6 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx
index 040dc7230..9a44c3dab 100644
--- a/codemaker/source/cppumaker/cpputype.cxx
+++ b/codemaker/source/cppumaker/cpputype.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cpputype.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: jsc $ $Date: 2001-04-06 12:24:38 $
+ * last change: $Author: jsc $ $Date: 2001-04-06 14:01:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2490,11 +2490,13 @@ sal_Bool ModuleType::dump(CppuOptions* pOptions)
}
}
+ bFileExists = sal_False;
+ bFileCheck = sal_False;
OString hxxFileName = createFileNameFromType(outPath, tmpName, ".hpp");
if ( pOptions->isValid("-G") || pOptions->isValid("-Gc") )
{
- bFileExists = fileExists( hFileName );
+ bFileExists = fileExists( hxxFileName );
ret = sal_True;
}
@@ -2526,7 +2528,7 @@ sal_Bool ModuleType::dump(CppuOptions* pOptions)
hxxFile.closeFile();
if (ret && bFileCheck)
{
- ret = checkFileContent(hFileName, tmpFileName);
+ ret = checkFileContent(hxxFileName, tmpFileName);
}
}
@@ -2697,11 +2699,13 @@ sal_Bool ConstantsType::dump(CppuOptions* pOptions)
}
}
+ bFileExists = sal_False;
+ bFileCheck = sal_False;
OString hxxFileName = createFileNameFromType(outPath, m_typeName, ".hpp");
if ( pOptions->isValid("-G") || pOptions->isValid("-Gc") )
{
- bFileExists = fileExists( hFileName );
+ bFileExists = fileExists( hxxFileName );
ret = sal_True;
}
@@ -2732,7 +2736,7 @@ sal_Bool ConstantsType::dump(CppuOptions* pOptions)
hxxFile.closeFile();
if (ret && bFileCheck)
{
- ret = checkFileContent(hFileName, tmpFileName);
+ ret = checkFileContent(hxxFileName, tmpFileName);
}
}