Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PimCommon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
PimCommon
Commits
0faf03a5
Commit
0faf03a5
authored
Dec 14, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug 430345 - kmail suppress "apostrophe" in french
BUG: 430345 FIXED-IN: 5.16.1
parent
14be3a31
Pipeline
#44053
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
src/pimcommon/autocorrection/import/importkmailautocorrection.cpp
...ommon/autocorrection/import/importkmailautocorrection.cpp
+9
-6
No files found.
src/pimcommon/autocorrection/import/importkmailautocorrection.cpp
View file @
0faf03a5
...
...
@@ -31,7 +31,8 @@ bool ImportKMailAutocorrection::import(const QString &fileName, LoadAttribute lo
mMinFindStringLenght
=
0
;
if
(
xml
.
readNextStartElement
())
{
while
(
xml
.
readNextStartElement
())
{
if
(
xml
.
name
()
==
QLatin1String
(
"UpperCaseExceptions"
))
{
const
QStringRef
xmlName
=
xml
.
name
();
if
(
xmlName
==
QLatin1String
(
"UpperCaseExceptions"
))
{
if
(
loadAttribute
==
All
)
{
while
(
xml
.
readNextStartElement
())
{
const
QStringRef
tagname
=
xml
.
name
();
...
...
@@ -46,7 +47,7 @@ bool ImportKMailAutocorrection::import(const QString &fileName, LoadAttribute lo
}
else
{
xml
.
skipCurrentElement
();
}
}
else
if
(
xml
.
name
()
==
QLatin1String
(
"TwoUpperLetterExceptions"
))
{
}
else
if
(
xml
Name
==
QLatin1String
(
"TwoUpperLetterExceptions"
))
{
if
(
loadAttribute
==
All
)
{
while
(
xml
.
readNextStartElement
())
{
const
QStringRef
tagname
=
xml
.
name
();
...
...
@@ -63,7 +64,7 @@ bool ImportKMailAutocorrection::import(const QString &fileName, LoadAttribute lo
}
else
{
xml
.
skipCurrentElement
();
}
}
else
if
(
xml
.
name
()
==
QLatin1String
(
"DoubleQuote"
))
{
}
else
if
(
xml
Name
==
QLatin1String
(
"DoubleQuote"
))
{
if
(
loadAttribute
==
All
)
{
if
(
xml
.
readNextStartElement
())
{
const
QStringRef
tagname
=
xml
.
name
();
...
...
@@ -74,11 +75,12 @@ bool ImportKMailAutocorrection::import(const QString &fileName, LoadAttribute lo
}
else
{
xml
.
skipCurrentElement
();
}
xml
.
skipCurrentElement
();
}
}
else
{
xml
.
skipCurrentElement
();
}
}
else
if
(
xml
.
name
()
==
QLatin1String
(
"SimpleQuote"
))
{
}
else
if
(
xml
Name
==
QLatin1String
(
"SimpleQuote"
))
{
if
(
loadAttribute
==
All
)
{
if
(
xml
.
readNextStartElement
())
{
const
QStringRef
tagname
=
xml
.
name
();
...
...
@@ -89,11 +91,12 @@ bool ImportKMailAutocorrection::import(const QString &fileName, LoadAttribute lo
}
else
{
xml
.
skipCurrentElement
();
}
xml
.
skipCurrentElement
();
}
}
else
{
xml
.
skipCurrentElement
();
}
}
else
if
(
xml
.
name
()
==
QLatin1String
(
"SuperScript"
))
{
}
else
if
(
xml
Name
==
QLatin1String
(
"SuperScript"
))
{
if
(
loadAttribute
==
All
||
loadAttribute
==
SuperScript
)
{
while
(
xml
.
readNextStartElement
())
{
const
QStringRef
tagname
=
xml
.
name
();
...
...
@@ -109,7 +112,7 @@ bool ImportKMailAutocorrection::import(const QString &fileName, LoadAttribute lo
}
else
{
xml
.
skipCurrentElement
();
}
}
else
if
(
xml
.
name
()
==
QLatin1String
(
"items"
))
{
}
else
if
(
xml
Name
==
QLatin1String
(
"items"
))
{
if
(
loadAttribute
==
All
)
{
while
(
xml
.
readNextStartElement
())
{
const
QStringRef
tagname
=
xml
.
name
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment