Skip to content

Commit

Permalink
#i125431# "The Password is incorrect. The file cannot be opened."
Browse files Browse the repository at this point in the history
Fix handling of the "isRelative" option in Mozilla's profiles.ini files.

Patch by: Arrigo Marchiori <ardovm at yahoo dot it>
Review by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1726068 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Damjan Jovanovic authored and Don Lewis committed Aug 25, 2020
1 parent 4d077a1 commit f27fad2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main/extensions/source/mozbootstrap/MNSProfileDiscover.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,14 @@ namespace connectivity
{
isRelative = sIsRelative.toInt32();
}
if (isRelative)
{
// Make it absolute
profilePath = regDir + profilePath;
}

ProfileStruct* profileItem = new ProfileStruct(product,profileName,
regDir + profilePath);
profilePath);
m_Product.mProfileList[profileName] = profileItem;

sal_Int32 isDefault = 0;
Expand Down

0 comments on commit f27fad2

Please sign in to comment.