summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/textdrw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/shells/textdrw.cxx')
-rw-r--r--sw/source/uibase/shells/textdrw.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/textdrw.cxx b/sw/source/uibase/shells/textdrw.cxx
index 11ade2b2fc91..cef4a08ec2f3 100644
--- a/sw/source/uibase/shells/textdrw.cxx
+++ b/sw/source/uibase/shells/textdrw.cxx
@@ -43,7 +43,7 @@
using namespace ::com::sun::star;
-void SwBaseShell::InsertURLButton(const OUString& rURL, const OUString& rTarget, const OUString& rTxt)
+void SwBaseShell::InsertURLButton(const OUString& rURL, const OUString& rTarget, const OUString& rText)
{
SwWrtShell& rSh = GetShell();
@@ -87,7 +87,7 @@ void SwBaseShell::InsertURLButton(const OUString& rURL, const OUString& rTarget,
uno::Any aTmp;
- aTmp <<= OUString(rTxt);
+ aTmp <<= OUString(rText);
xPropSet->setPropertyValue( "Label", aTmp );
SfxMedium* pMedium = rSh.GetView().GetDocShell()->GetMedium();