[Libreoffice-commits] core.git: drawinglayer/source
Stephan Bergmann
sbergman at redhat.com
Wed Oct 2 08:34:25 PDT 2013
drawinglayer/source/dumper/XShapeDumper.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 48268fa01a6e1a12483cda4e9cb31d36cd295bd1
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Oct 2 17:33:51 2013 +0200
-Werror,-Wunused-variable
Change-Id: Icb19121e39565a3588c0acd14db114a8572b00fa
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx
index a77cb37..a2de8c4 100644
--- a/drawinglayer/source/dumper/XShapeDumper.cxx
+++ b/drawinglayer/source/dumper/XShapeDumper.cxx
@@ -1815,7 +1815,6 @@ void dumpXShape(uno::Reference< drawing::XShape > xShape, xmlTextWriterPtr xmlWr
// uno::Sequence<beans::Property> aProperties = xPropSetInfo->getProperties();
uno::Reference< lang::XServiceInfo > xServiceInfo( xShape, uno::UNO_QUERY_THROW );
- uno::Sequence< OUString > aServiceNames = xServiceInfo->getSupportedServiceNames();
uno::Reference< beans::XPropertySetInfo> xInfo = xPropSet->getPropertySetInfo();
if(xInfo->hasPropertyByName("Name"))
@@ -1900,6 +1899,7 @@ void dumpXShape(uno::Reference< drawing::XShape > xShape, xmlTextWriterPtr xmlWr
}
#if DEBUG_DUMPER
+ uno::Sequence< OUString > aServiceNames = xServiceInfo->getSupportedServiceNames();
sal_Int32 nServices = aServiceNames.getLength();
for (sal_Int32 i = 0; i < nServices; ++i)
{
More information about the Libreoffice-commits
mailing list