summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-28 09:23:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-28 09:18:31 +0100
commitb5bde198a8e5054277787d3c6b5feddb4c5b93fd (patch)
treeb69fcda448584b2488c6e85f99a2fb14d53e73c6 /cui
parent72302338f9eb5e965dd84dca9990841151e2f79c (diff)
remove some unused local vars
found by my new loplugin:unusedvariableplus Change-Id: Ic3f55f492d43a53d8850a97d44059ff127fd69a2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87573 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/SignatureLineDialog.cxx2
-rw-r--r--cui/source/dialogs/cuicharmap.cxx2
2 files changed, 0 insertions, 4 deletions
diff --git a/cui/source/dialogs/SignatureLineDialog.cxx b/cui/source/dialogs/SignatureLineDialog.cxx
index 16f3b22ddd4a..45a11c9fc111 100644
--- a/cui/source/dialogs/SignatureLineDialog.cxx
+++ b/cui/source/dialogs/SignatureLineDialog.cxx
@@ -172,8 +172,6 @@ void SignatureLineDialog::Apply()
// Default anchoring
xShapeProps->setPropertyValue("AnchorType", Any(TextContentAnchorType_AT_PARAGRAPH));
- const Reference<XServiceInfo> xServiceInfo(m_xModel, UNO_QUERY);
-
// Writer
const Reference<XTextDocument> xTextDocument(m_xModel, UNO_QUERY);
if (xTextDocument.is())
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index 62dd835bb0e1..22450f6722e6 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -607,8 +607,6 @@ void SvxCharacterMap::insertCharToDoc(const OUString& sGlyph)
return;
if (m_xFrame.is()) {
- uno::Reference< uno::XComponentContext > xContext( comphelper::getProcessComponentContext() );
-
uno::Sequence<beans::PropertyValue> aArgs(2);
aArgs[0].Name = "Symbols";
aArgs[0].Value <<= sGlyph;