include/ucbhelper/proxydecider.hxx                                   |    2 +-
 sc/qa/uitest/calc_tests9/tdf166756_file_name_in_header_and_footer.py |    2 +-
 sc/source/ui/view/gridwin.cxx                                        |    2 +-
 sc/source/ui/view/printfun.cxx                                       |    2 +-
 sc/source/ui/view/tabvwsh4.cxx                                       |    2 +-
 sd/qa/unit/import-tests.cxx                                          |    2 +-
 svl/source/misc/urihelper.cxx                                        |    2 +-
 sw/qa/core/tox/tox.cxx                                               |    2 +-
 sw/qa/extras/ooxmlexport/ooxmlexport20.cxx                           |    2 +-
 sw/qa/uibase/shells/shells.cxx                                       |    2 +-
 sw/source/core/text/EnhancedPDFExportHelper.cxx                      |    2 +-
 sw/source/core/text/guess.cxx                                        |    2 +-
 sw/source/filter/html/htmlplug.cxx                                   |    2 +-
 wizards/source/scriptforge/SF_Session.xba                            |    4 
++--
 14 files changed, 15 insertions(+), 15 deletions(-)

New commits:
commit 50159dbedca33827456559be4c963d6b90d60ca4
Author:     Andrea Gelmini <[email protected]>
AuthorDate: Thu Jan 29 15:59:05 2026 +0100
Commit:     Julien Nabet <[email protected]>
CommitDate: Thu Jan 29 17:23:22 2026 +0100

    Harmonize "an URL" -> "a URL"
    
    Change-Id: I17ae188e1dfca3a0d3b9b666a8407b1b7c862a9b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198367
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <[email protected]>

diff --git a/include/ucbhelper/proxydecider.hxx 
b/include/ucbhelper/proxydecider.hxx
index 2c518dd450a9..e91ebdb4307a 100644
--- a/include/ucbhelper/proxydecider.hxx
+++ b/include/ucbhelper/proxydecider.hxx
@@ -95,7 +95,7 @@ public:
       *         If host is not empty this parameter must always contain a valid
       *         port number, for instance the default port for the requested
       *         protocol(i.e. 80 or http).
-      * @return an URL, with or without scheme.
+      * @return a URL, with or without scheme.
       *         If empty no proxy server is to be used.
       */
     OUString
diff --git 
a/sc/qa/uitest/calc_tests9/tdf166756_file_name_in_header_and_footer.py 
b/sc/qa/uitest/calc_tests9/tdf166756_file_name_in_header_and_footer.py
index 0baba5aab675..1b6d552e6e01 100644
--- a/sc/qa/uitest/calc_tests9/tdf166756_file_name_in_header_and_footer.py
+++ b/sc/qa/uitest/calc_tests9/tdf166756_file_name_in_header_and_footer.py
@@ -14,7 +14,7 @@ class Tdf166756(UITestCase):
 
     def test_tdf166756_edit_header_and_footer(self):
         # Test that the filename is correctly displayed in the edit header and 
footer dialog
-        # even if the filename contains special chars that are encoded in an 
URL
+        # even if the filename contains special chars that are encoded in a URL
         # This test does not cover actual printing or print preview
         fileName="tdf166756_[1].ods"
         fileURL = get_url_for_data_file(fileName)
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 66c7d4071037..34812da9b835 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -3522,7 +3522,7 @@ void ScGridWindow::Command( const CommandEvent& rCEvt )
         // tdf#127341 the formerly used GetEditUrl(aPosPixel) additionally
         // to bSpellError activated EditMode here for right-click on URL
         // which prevents the regular context-menu from appearing. Since this
-        // is more expected than the context-menu for editing an URL, I removed
+        // is more expected than the context-menu for editing a URL, I removed
         // this. If this was wanted and can be argued it might be re-activated.
         // For now, reduce to spelling errors - as the original comment above
         // suggests.
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx
index 156f4c9482d1..0283df06abbc 100644
--- a/sc/source/ui/view/printfun.cxx
+++ b/sc/source/ui/view/printfun.cxx
@@ -1103,7 +1103,7 @@ void ScPrintFunc::InitParam( const ScPrintOptions* 
pOptions )
     const INetURLObject& rURLObj = rDocShell.GetMedium()->GetURLObject();
 
     // The doc names (long and short) are meant to be printed. They should be 
in human readable
-    // format, not with an URL encoding.
+    // format, not with a URL encoding.
     aFieldData.aLongDocName = 
rURLObj.GetMainURL(INetURLObject::DecodeMechanism::WithCharset);
     if ( !aFieldData.aLongDocName.isEmpty() )
         aFieldData.aShortDocName = 
rURLObj.GetLastName(INetURLObject::DecodeMechanism::WithCharset);
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index 354d946cf34e..e8526a0e4d70 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -2274,7 +2274,7 @@ void ScTabViewShell::FillFieldData( ScHeaderFieldData& 
rData )
     const INetURLObject& rURLObj = pDocShell->GetMedium()->GetURLObject();
 
     // The doc names (long and short) are meant to be printed. They should be 
in human readable
-    // format, not with an URL encoding.
+    // format, not with a URL encoding.
     rData.aLongDocName  = 
rURLObj.GetMainURL(INetURLObject::DecodeMechanism::WithCharset);
     if ( !rData.aLongDocName.isEmpty() )
         rData.aShortDocName = 
rURLObj.GetLastName(INetURLObject::DecodeMechanism::WithCharset);
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index 1e41aea912ab..43b2cfb97a18 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -198,7 +198,7 @@ CPPUNIT_TEST_FIXTURE(SdImportTest, testDocumentLayout)
 
             if (nUpdateMe == i) // index was wrong here
             {
-                // had to adapt this, std::ofstream annot write to an URL but 
needs a
+                // had to adapt this, std::ofstream annot write to a URL but 
needs a
                 // filesystem path. Seems as if no one had to adapt any of the 
cases
                 // for some years :-/
                 OUString sTempFilePath;
diff --git a/svl/source/misc/urihelper.cxx b/svl/source/misc/urihelper.cxx
index bef5a0cc163d..7fce7b2fd818 100644
--- a/svl/source/misc/urihelper.cxx
+++ b/svl/source/misc/urihelper.cxx
@@ -520,7 +520,7 @@ OUString URIHelper::FindFirstURLInText(OUString const & 
rText,
     // eStyle.
 
     // tdf#145381: In addition to the productions I added a mechanism to detect
-    // matching brackets. The task presents the case of an url that ends on a
+    // matching brackets. The task presents the case of a url that ends on a
     // closing bracket. This needs to be detected as part of the uri in the 
case
     // that a matching opening bracket exists.
 
diff --git a/sw/qa/core/tox/tox.cxx b/sw/qa/core/tox/tox.cxx
index 338a9654d801..c7ef47d02f25 100644
--- a/sw/qa/core/tox/tox.cxx
+++ b/sw/qa/core/tox/tox.cxx
@@ -119,7 +119,7 @@ CPPUNIT_TEST_FIXTURE(Test, testAuthorityTableEntryClick)
     createSwDoc();
     SwDoc* pDoc = getSwDoc();
 
-    // When inserting a biblio entry field with an URL:
+    // When inserting a biblio entry field with a URL:
     uno::Reference<lang::XMultiServiceFactory> xFactory(mxComponent, 
uno::UNO_QUERY);
     uno::Reference<beans::XPropertySet> xField(
         
xFactory->createInstance(u"com.sun.star.text.TextField.Bibliography"_ustr), 
uno::UNO_QUERY);
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport20.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport20.cxx
index 3151be3d74fa..03537a938993 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport20.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport20.cxx
@@ -1231,7 +1231,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf160827, "tdf160827.docx")
 
 CPPUNIT_TEST_FIXTURE(Test, testTdf159110)
 {
-    // Given a text with an URL with multiple spaces
+    // Given a text with a URL with multiple spaces
     createSwDoc("multi_space_url.fodt");
     saveAndReload(TestFilter::DOCX);
 
diff --git a/sw/qa/uibase/shells/shells.cxx b/sw/qa/uibase/shells/shells.cxx
index 5f67c08f2ba1..5855d4570306 100644
--- a/sw/qa/uibase/shells/shells.cxx
+++ b/sw/qa/uibase/shells/shells.cxx
@@ -210,7 +210,7 @@ CPPUNIT_TEST_FIXTURE(SwUibaseShellsTest, 
testBibliographyUrlContextMenu)
     // Without the accompanying fix in place, this test would have failed with:
     // - Expected: 32 (SfxItemState::DEFAULT)
     // - Actual  : 1 (SfxItemState::DISABLED)
-    // i.e. the menu item was not visible for biblio entry fields with an URL.
+    // i.e. the menu item was not visible for biblio entry fields with a URL.
     CPPUNIT_ASSERT_EQUAL(SfxItemState::DEFAULT, eStateOpen);
     CPPUNIT_ASSERT_EQUAL(SfxItemState::DEFAULT, eStateCopy);
 }
diff --git a/sw/source/core/text/EnhancedPDFExportHelper.cxx 
b/sw/source/core/text/EnhancedPDFExportHelper.cxx
index f61e88f2b00f..10de19d814f0 100644
--- a/sw/source/core/text/EnhancedPDFExportHelper.cxx
+++ b/sw/source/core/text/EnhancedPDFExportHelper.cxx
@@ -3152,7 +3152,7 @@ void 
SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks()
             targetType == SwAuthorityField::TargetType::UseDisplayURL
             || targetType == SwAuthorityField::TargetType::UseTargetURL)
         {
-            // Since the target type specifies to use an URL, link to it
+            // Since the target type specifies to use a URL, link to it
             const OUString aURL = rAuthorityField.GetAbsoluteURL();
             if (aURL.getLength() == 0)
             {
diff --git a/sw/source/core/text/guess.cxx b/sw/source/core/text/guess.cxx
index b8f66e0150dc..7f38f06c578f 100644
--- a/sw/source/core/text/guess.cxx
+++ b/sw/source/core/text/guess.cxx
@@ -471,7 +471,7 @@ bool SwTextGuess::Guess( const SwTextPortion& rPor, 
SwTextFormatInfo &rInf,
             if ( ( bHyphenationNoLastWord || bDoNotHyphenateLastLine ) &&
                             sal_Int32(m_nCutPos) > nLastWord &&
                             TextFrameIndex(COMPLETE_STRING) != m_nCutPos &&
-                            // if the last word is multiple line long, e.g. an 
URL,
+                            // if the last word is multiple line long, e.g. a 
URL,
                             // apply this only if the space before the word is 
there
                             // in the actual line, i.e. start the long word in 
a new
                             // line, but still allows to break its last parts
diff --git a/sw/source/filter/html/htmlplug.cxx 
b/sw/source/filter/html/htmlplug.cxx
index 3a10d1728def..78e6f0cd8d5a 100644
--- a/sw/source/filter/html/htmlplug.cxx
+++ b/sw/source/filter/html/htmlplug.cxx
@@ -610,7 +610,7 @@ bool SwHTMLParser::InsertEmbed()
 
             if (!xInStream.is())
             {
-                // Object data is neither OLE2 in RTF, nor an image. Then map 
this to an URL that
+                // Object data is neither OLE2 in RTF, nor an image. Then map 
this to a URL that
                 // will be set on the inner image.
                 m_aEmbedURL = aEmbedURL;
                 // Signal success, so the outer object won't fall back to the 
image handler.
diff --git a/wizards/source/scriptforge/SF_Session.xba 
b/wizards/source/scriptforge/SF_Session.xba
index a4f7088e8536..95809e30c644 100644
--- a/wizards/source/scriptforge/SF_Session.xba
+++ b/wizards/source/scriptforge/SF_Session.xba
@@ -666,7 +666,7 @@ Public Function RunApplication(Optional ByVal Command As 
Variant _
 
 Dim bReturn As Boolean                 &apos;  Returned value
 Dim oShell As Object                   &apos;  
com.sun.star.system.SystemShellExecute
-Dim sCommand As String                 &apos;  Command as an URL
+Dim sCommand As String                 &apos;  Command as a URL
 Const cstThisSub = &quot;Session.RunApplication&quot;
 Const cstSubArgs = &quot;Command, [Parameters]&quot;
 
@@ -1188,4 +1188,4 @@ CatchNotFound:
 End Function   &apos;  ScriptForge.SF_Session._GetScript
 
 REM =============================================== END OF 
SCRIPTFORGE.SF_SESSION
-</script:module>
\ No newline at end of file
+</script:module>

Reply via email to