summaryrefslogtreecommitdiff
path: root/sw/source/ui/index/cntex.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-11 09:48:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-11 09:49:08 +0100
commitd203c5f71464771e0d02ef653bc524a82fb6738e (patch)
tree3d8cfbe5498ebed3808d794871169cf3c8903168 /sw/source/ui/index/cntex.cxx
parentc3292f334eab4934c11bad5f0dba4ddd20f0dcaf (diff)
-Werror,-Wunused-variable
Change-Id: I7afbcb0fb24406e9331cbfb104f0625e6e8fe14e
Diffstat (limited to 'sw/source/ui/index/cntex.cxx')
-rw-r--r--sw/source/ui/index/cntex.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/ui/index/cntex.cxx b/sw/source/ui/index/cntex.cxx
index d63145a794fb..ef793c828d55 100644
--- a/sw/source/ui/index/cntex.cxx
+++ b/sw/source/ui/index/cntex.cxx
@@ -187,9 +187,7 @@ void SwMultiTOXTabDialog::CreateOrUpdateExample(
}
for(sal_uInt16 i = 0 ; i <= TOX_AUTHORITIES; i++)
{
- uno::Reference< beans::XPropertySet > xSectPr(pxIndexSectionsArr[i]->xContainerSection, uno::UNO_QUERY);
- uno::Any aVal;
-
+ uno::Reference< beans::XPropertySet > xSectPr(pxIndexSectionsArr[i]->xContainerSection, uno::UNO_QUERY);
if(xSectPr.is())
{
xSectPr->setPropertyValue(UNO_NAME_IS_VISIBLE, makeAny(i == nTOXIndex));