diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-09 16:34:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-10 10:01:13 +0200 |
commit | 1156f981ac4557737dd915e89e11abaa61e29f14 (patch) | |
tree | 86e847ba365f478bb74d3fc4e3785689d8b45c6f /sw | |
parent | 0dc47739176493ded49b665c5fdfe0fe8fff39c1 (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 'sw')
-rw-r--r-- | sw/qa/extras/unowriter/unowriter.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/docnode/retrieveinputstream.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/docnode/retrieveinputstreamconsumer.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/inc/dflyobj.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/inc/retrieveinputstream.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/inc/retrieveinputstreamconsumer.hxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/dochdl/swdtflvr.cxx | 8 | ||||
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/drformsh.cxx | 2 |
10 files changed, 13 insertions, 13 deletions
diff --git a/sw/qa/extras/unowriter/unowriter.cxx b/sw/qa/extras/unowriter/unowriter.cxx index 376ba0389637..4c5d6c417949 100644 --- a/sw/qa/extras/unowriter/unowriter.cxx +++ b/sw/qa/extras/unowriter/unowriter.cxx @@ -118,7 +118,7 @@ CPPUNIT_TEST_FIXTURE(SwUnoWriter, testGraphicDesciptorURL) uno::Reference<beans::XPropertySet> xTextGraphic( xFactory->createInstance("com.sun.star.text.TextGraphicObject"), uno::UNO_QUERY); - // Set an URL on it. + // Set a URL on it. OUString aGraphicURL = m_directories.getURLFromSrc(DATA_DIRECTORY) + "test.jpg"; xTextGraphic->setPropertyValue("GraphicURL", uno::makeAny(aGraphicURL)); xTextGraphic->setPropertyValue("AnchorType", diff --git a/sw/source/core/docnode/retrieveinputstream.cxx b/sw/source/core/docnode/retrieveinputstream.cxx index c53ab66715e6..cfe313ae588b 100644 --- a/sw/source/core/docnode/retrieveinputstream.cxx +++ b/sw/source/core/docnode/retrieveinputstream.cxx @@ -22,7 +22,7 @@ #include <com/sun/star/io/XStream.hpp> #include <com/sun/star/beans/PropertyValue.hpp> -/* class for a thread to retrieve an input stream given by an URL +/* class for a thread to retrieve an input stream given by a URL #i73788# */ diff --git a/sw/source/core/docnode/retrieveinputstreamconsumer.cxx b/sw/source/core/docnode/retrieveinputstreamconsumer.cxx index e5848c534175..d89a053610a2 100644 --- a/sw/source/core/docnode/retrieveinputstreamconsumer.cxx +++ b/sw/source/core/docnode/retrieveinputstreamconsumer.cxx @@ -23,7 +23,7 @@ #include <swthreadmanager.hxx> /* class to provide creation of a thread to retrieve an input stream given by - an URL and to consume the retrieved input stream. + a URL and to consume the retrieved input stream. #i73788# */ diff --git a/sw/source/core/inc/dflyobj.hxx b/sw/source/core/inc/dflyobj.hxx index 53c5ae907055..c3acae10198e 100644 --- a/sw/source/core/inc/dflyobj.hxx +++ b/sw/source/core/inc/dflyobj.hxx @@ -128,7 +128,7 @@ public: void SetRect() const; - // if an URL is attached to a graphic than this is a macro object + // if a URL is attached to a graphic than this is a macro object virtual bool HasMacro() const override; virtual SdrObject* CheckMacroHit (const SdrObjMacroHitRec& rRec) const override; virtual PointerStyle GetMacroPointer (const SdrObjMacroHitRec& rRec) const override; diff --git a/sw/source/core/inc/retrieveinputstream.hxx b/sw/source/core/inc/retrieveinputstream.hxx index 9c6c87640354..44a1ba706303 100644 --- a/sw/source/core/inc/retrieveinputstream.hxx +++ b/sw/source/core/inc/retrieveinputstream.hxx @@ -23,7 +23,7 @@ #include <rtl/ustring.hxx> #include "retrievedinputstreamdata.hxx" -/** class for a thread to retrieve an input stream given by an URL +/** class for a thread to retrieve an input stream given by a URL OD 2007-01-29 #i73788# */ diff --git a/sw/source/core/inc/retrieveinputstreamconsumer.hxx b/sw/source/core/inc/retrieveinputstreamconsumer.hxx index 8b01e75a57cb..952433fc1a42 100644 --- a/sw/source/core/inc/retrieveinputstreamconsumer.hxx +++ b/sw/source/core/inc/retrieveinputstreamconsumer.hxx @@ -27,7 +27,7 @@ class SwGrfNode; /** class to provide creation of a thread to retrieve an input stream given by - an URL and to consume the retrieved input stream. + a URL and to consume the retrieved input stream. #i73788# */ diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 6bc5b11a8e21..138f9466123c 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -505,7 +505,7 @@ void RtfAttributeOutput::EndRuby(const SwTextNode& rNode, sal_Int32 nPos) bool RtfAttributeOutput::StartURL(const OUString& rUrl, const OUString& rTarget) { m_sURL = rUrl; - // Ignore hyperlink without an URL. + // Ignore hyperlink without a URL. if (!rUrl.isEmpty()) { m_aRun->append('{'); diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index 01a79ee3567c..43bfac284e6e 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -447,7 +447,7 @@ bool SwTransferable::GetData( const DataFlavor& rFlavor, const OUString& rDestDo if( !m_pWrtShell->GetDrawObjGraphic( SotClipboardFormatId::BITMAP, *m_pClpBitmap )) m_pOrigGraphic = m_pClpBitmap.get(); - // is it an URL-Button ? + // is it a URL-Button ? OUString sURL; OUString sDesc; if( m_pWrtShell->GetURLFromButton( sURL, sDesc ) ) @@ -968,7 +968,7 @@ int SwTransferable::PrepareForCopy( bool bIsCut ) if( !m_pWrtShell->GetDrawObjGraphic( SotClipboardFormatId::BITMAP, *m_pClpBitmap )) m_pOrigGraphic = m_pClpBitmap.get(); - // is it an URL-Button ? + // is it a URL-Button ? OUString sURL; OUString sDesc; if( m_pWrtShell->GetURLFromButton( sURL, sDesc ) ) @@ -3302,7 +3302,7 @@ void SwTransferable::SetDataForDragAndDrop( const Point& rSttPos ) if( !m_pWrtShell->GetDrawObjGraphic( SotClipboardFormatId::BITMAP, *m_pClpBitmap )) m_pOrigGraphic = m_pClpBitmap.get(); - // is it an URL-Button ? + // is it a URL-Button ? OUString sURL; OUString sDesc; if( m_pWrtShell->GetURLFromButton( sURL, sDesc ) ) @@ -3678,7 +3678,7 @@ bool SwTransferable::PrivateDrop( SwWrtShell& rSh, const Point& rDragPt, rSrcSh.SelectTextAttr( RES_TXTATR_INETFMT ); } - // is there an URL attribute at the insert point? Then replace that, + // is there a URL attribute at the insert point? Then replace that, // so simply put up a selection? rSh.DelINetAttrWithText(); g_bDDINetAttr = true; diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index a7c5e1cbe6dc..374d0dca57ce 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -3116,7 +3116,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt) SwEditWin::m_nDDStartPosY = aDocPos.Y(); SwEditWin::m_nDDStartPosX = aDocPos.X(); - // hit an URL in DrawText object? + // hit a URL in DrawText object? if (bExecHyperlinks && pSdrView) { SdrViewEvent aVEvt; diff --git a/sw/source/uibase/shells/drformsh.cxx b/sw/source/uibase/shells/drformsh.cxx index 9d9af70695fa..d34a3d667dfd 100644 --- a/sw/source/uibase/shells/drformsh.cxx +++ b/sw/source/uibase/shells/drformsh.cxx @@ -111,7 +111,7 @@ void SwDrawFormShell::Execute(SfxRequest const &rReq) uno::Reference< beans::XPropertySet > xPropSet(xControlModel, uno::UNO_QUERY); - // Can we set an URL to the object? + // Can we set a URL to the object? OUString sTargetURL( "TargetURL" ); uno::Reference< beans::XPropertySetInfo > xPropInfoSet = xPropSet->getPropertySetInfo(); if( xPropInfoSet->hasPropertyByName( sTargetURL )) |