summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unoidl/source/unoidlprovider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/unoidlprovider.cxx b/unoidl/source/unoidlprovider.cxx
index 2e7ac091434b..68d5ebc5b868 100644
--- a/unoidl/source/unoidlprovider.cxx
+++ b/unoidl/source/unoidlprovider.cxx
@@ -165,7 +165,7 @@ private:
const;
};
-MappedFile::MappedFile(OUString const & fileUrl): uri(fileUrl) {
+MappedFile::MappedFile(OUString const & fileUrl): uri(fileUrl), handle(0) {
oslFileError e = osl_openFile(uri.pData, &handle, osl_File_OpenFlag_Read);
switch (e) {
case osl_File_E_None: