summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-09-18 11:10:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-09-18 11:10:20 +0200
commit65da01fa1d6e5da6c70694e6e494adc70c4b236a (patch)
treea3e9a732e6228ba017b5d675a5a9c60fb6e97c58 /unoidl
parent032944e08891736559434eac04600742fe57dbf0 (diff)
-Wshadow
Change-Id: I8299079b46be4ccb7070f5497d089166a953c939
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/sourceprovider-parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/unoidl/source/sourceprovider-parser.y b/unoidl/source/sourceprovider-parser.y
index b093349f7e65..da1693283edc 100644
--- a/unoidl/source/sourceprovider-parser.y
+++ b/unoidl/source/sourceprovider-parser.y
@@ -3701,10 +3701,10 @@ bool parse(OUString const & uri, SourceProviderScannerData * data) {
// Checking errno for the specific EINVAL, ENOMEM documented for
// yylex_init_extra would not work as those values are not defined
// by the C++ Standard:
- int e = errno;
+ int e2 = errno;
throw FileFormatException(
uri,
- "yylex_init_extra failed with errno " + OUString::number(e));
+ "yylex_init_extra failed with errno " + OUString::number(e2));
}
int e2 = yyparse(yyscanner);
yylex_destroy(yyscanner);