summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-02 18:48:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-02 18:49:07 +0200
commit2b06c5b34be5d3199f48bd149ad542b6bc53473c (patch)
treebf5eeeb9519094f2affbfc66af4b7f6a21e8cbfc /filter
parent25bceaf767d7d26e4956696e1b3310ca66f73159 (diff)
-Werror,-Wunused-variable
Change-Id: Ib6ccb342f28d831e49be91ec6b6167f6ea5336b8
Diffstat (limited to 'filter')
-rw-r--r--filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
index 391b14df133f..200dc04cdf58 100644
--- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
+++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
@@ -142,18 +142,7 @@ sal_Bool SAL_CALL XmlFilterAdaptor::importImpl( const Sequence< ::com::sun::star
//********************
if (!msTemplateName.isEmpty()){
Reference< XStyleFamiliesSupplier > xstylefamiliessupplier(mxDoc, UNO_QUERY);
-
- Reference< XNameAccess >xName;
- if(xstylefamiliessupplier.is()){
- xName=xstylefamiliessupplier->getStyleFamilies();
- }
Reference< XStyleLoader > xstyleLoader (xstylefamiliessupplier->getStyleFamilies(), UNO_QUERY);
-
-
- if(xstyleLoader.is()){
- xName=xstylefamiliessupplier->getStyleFamilies();
- }
-
if(xstyleLoader.is()){
Sequence<com::sun::star::beans::PropertyValue> pValue=xstyleLoader->getStyleLoaderOptions();