[Libreoffice-commits] core.git: filter/source
Stephan Bergmann
sbergman at redhat.com
Wed Oct 2 09:49:37 PDT 2013
filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx | 11 -----------
1 file changed, 11 deletions(-)
New commits:
commit 2b06c5b34be5d3199f48bd149ad542b6bc53473c
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Oct 2 18:48:22 2013 +0200
-Werror,-Wunused-variable
Change-Id: Ib6ccb342f28d831e49be91ec6b6167f6ea5336b8
diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
index 391b14d..200dc04 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();
More information about the Libreoffice-commits
mailing list