summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2001-08-30 09:27:39 +0000
committerJuergen Schmidt <jsc@openoffice.org>2001-08-30 09:27:39 +0000
commit182c0091117db5d86fc5046b892552fb8e4b4087 (patch)
treecf84d6f4566d0a62efc8fc9e35c8aa445c9f3a82 /idlc
parent4474c6c6d0c4dfb92779152f258d73d6674548f4 (diff)
#91718# change error output
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/aststruct.cxx6
-rw-r--r--idlc/source/idlccompile.cxx16
2 files changed, 11 insertions, 11 deletions
diff --git a/idlc/source/aststruct.cxx b/idlc/source/aststruct.cxx
index 873482e3dfdb..7790bc23a3e1 100644
--- a/idlc/source/aststruct.cxx
+++ b/idlc/source/aststruct.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: aststruct.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: jsc $ $Date: 2001-08-30 07:22:03 $
+ * last change: $Author: jsc $ $Date: 2001-08-30 10:27:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -95,7 +95,7 @@ sal_Bool AstStruct::dump(RegistryKey& rKey, RegistryTypeWriterLoader* pLoader)
{
fprintf(stderr, "%s: warning, could not create key '%s' in '%s'\n",
idlc()->getOptions()->getProgramName().getStr(),
- getFullName().getStr(), rKey.getRegistryName().getStr());
+ getFullName().getStr(), OUStringToOString(rKey.getRegistryName(), RTL_TEXTENCODING_UTF8).getStr());
return sal_False;
}
diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx
index 59bf74871176..acb4ece41fca 100644
--- a/idlc/source/idlccompile.cxx
+++ b/idlc/source/idlccompile.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: idlccompile.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: jbu $ $Date: 2001-08-24 11:40:09 $
+ * last change: $Author: jsc $ $Date: 2001-08-30 10:27:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -255,7 +255,7 @@ sal_Int32 SAL_CALL compileFile(const OString& fileName)
if ( !copyFile(fileName, tmpFile) )
{
- fprintf(stderr, "%s: couldn't copy file '%' to '%s'\n",
+ fprintf(stderr, "%s: couldn't copy file '%s' to '%s'\n",
idlc()->getOptions()->getProgramName().getStr(), fileName.getStr(), tmpFile.getStr());
exit(99);
}
@@ -353,14 +353,14 @@ sal_Int32 SAL_CALL compileFile(const OString& fileName)
if (unlink(tmpFile.getStr()) != 0)
{
fprintf(stderr, "%s: Could not remove cpp input file %s\n",
- pOptions->getProgramName(), tmpFile.getStr());
+ pOptions->getProgramName().getStr(), tmpFile.getStr());
exit(99);
}
if (unlink(cmdFileName.getStr()) != 0)
{
fprintf(stderr, "%s: Could not remove unocpp command file %s\n",
- pOptions->getProgramName(), cmdFileName.getStr());
+ pOptions->getProgramName().getStr(), cmdFileName.getStr());
exit(99);
}
@@ -370,7 +370,7 @@ sal_Int32 SAL_CALL compileFile(const OString& fileName)
if (unlink(preprocFile) != 0)
{
fprintf(stderr, "%s: Could not remove parser input file %s\n",
- pOptions->getProgramName(), preprocFile.getStr());
+ pOptions->getProgramName().getStr(), preprocFile.getStr());
exit(99);
}
exit(0);
@@ -381,7 +381,7 @@ sal_Int32 SAL_CALL compileFile(const OString& fileName)
if (yyin == NULL)
{
fprintf(stderr, "%s: Could not open cpp output file %s\n",
- pOptions->getProgramName(), preprocFile.getStr());
+ pOptions->getProgramName().getStr(), preprocFile.getStr());
exit(99);
}
@@ -396,7 +396,7 @@ sal_Int32 SAL_CALL compileFile(const OString& fileName)
if (unlink(preprocFile.getStr()) != 0)
{
fprintf(stderr, "%s: Could not remove parser input file %s\n",
- pOptions->getProgramName(), preprocFile.getStr());
+ pOptions->getProgramName().getStr(), preprocFile.getStr());
exit(99);
}