summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshe.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-19 12:52:25 +0200
committerNoel Grandin <noel@peralex.com>2016-08-19 14:16:54 +0200
commit2749667151618307a5faab3af44132da05b77f0e (patch)
treea023433e8cdf275ef9cbb1e68c56f6d754a5f3d9 /sc/source/ui/view/tabvwshe.cxx
parent608bceee0505482d7bb443aeec95c132e21e01f4 (diff)
loplugin:countusersofdefaultparams in sc
Change-Id: I4052af7a19616d33c3c5fda9650d8fc4dff32256
Diffstat (limited to 'sc/source/ui/view/tabvwshe.cxx')
-rw-r--r--sc/source/ui/view/tabvwshe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwshe.cxx b/sc/source/ui/view/tabvwshe.cxx
index 137d856549d3..c42c34571817 100644
--- a/sc/source/ui/view/tabvwshe.cxx
+++ b/sc/source/ui/view/tabvwshe.cxx
@@ -97,7 +97,7 @@ OUString ScTabViewShell::GetSelectionText( bool bWholeWord )
ScImportExport aObj( pDoc, aRange );
aObj.SetFormulas( GetViewData().GetOptions().GetOption( VOPT_FORMULAS ) );
OUString aExportOUString;
- aObj.ExportString( aExportOUString );
+ aObj.ExportString( aExportOUString, SotClipboardFormatId::STRING );
aStrSelection = convertLineEnd(aExportOUString, LINEEND_CR);
// replace Tab/CR with space, if for dialog or through Basic/SelectionTextExt,
@@ -146,7 +146,7 @@ void ScTabViewShell::InsertURL( const OUString& rName, const OUString& rURL, con
else
{
SC_MOD()->InputEnterHandler();
- InsertURLButton( rName, rURL, rTarget );
+ InsertURLButton( rName, rURL, rTarget, nullptr );
}
}