[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Thu Dec 11 00:49:38 PST 2014
sw/source/ui/index/cntex.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit d203c5f71464771e0d02ef653bc524a82fb6738e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Dec 11 09:48:51 2014 +0100
-Werror,-Wunused-variable
Change-Id: I7afbcb0fb24406e9331cbfb104f0625e6e8fe14e
diff --git a/sw/source/ui/index/cntex.cxx b/sw/source/ui/index/cntex.cxx
index d63145a..ef793c8 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));
More information about the Libreoffice-commits
mailing list