summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-09 16:34:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-10 10:01:13 +0200
commit1156f981ac4557737dd915e89e11abaa61e29f14 (patch)
tree86e847ba365f478bb74d3fc4e3785689d8b45c6f /xmloff
parent0dc47739176493ded49b665c5fdfe0fe8fff39c1 (diff)
an is used before a vowel sound
not before vowels with a consonant sound so its a url not an url Change-Id: Ic27ff3bee67469284d460c31ced6f63cb3633db2 Reviewed-on: https://gerrit.libreoffice.org/72062 Reviewed-by: Jens Carl <j.carl43@gmx.de> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtparae.cxx4
-rw-r--r--xmloff/source/text/txtparai.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 907a799546bf..3f774ae1a521 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -3321,8 +3321,8 @@ bool XMLTextParagraphExport::addHyperlinkAttributes(
if ( sHRef.isEmpty() )
{
- // hyperlink without an URL does not make sense
- OSL_ENSURE( false, "hyperlink without an URL --> no export to ODF" );
+ // hyperlink without a URL does not make sense
+ OSL_ENSURE( false, "hyperlink without a URL --> no export to ODF" );
return false;
}
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx
index 674c0ac2e83b..9fa9ca8701ca 100644
--- a/xmloff/source/text/txtparai.cxx
+++ b/xmloff/source/text/txtparai.cxx
@@ -413,7 +413,7 @@ XMLImpHyperlinkContext_Impl::XMLImpHyperlinkContext_Impl(
if ( mpHint->GetHRef().isEmpty() )
{
- // hyperlink without an URL is not imported.
+ // hyperlink without a URL is not imported.
delete mpHint;
mpHint = nullptr;
}