summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-02 17:33:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-02 17:34:00 +0200
commit48268fa01a6e1a12483cda4e9cb31d36cd295bd1 (patch)
tree9b47b3200e79717db88a1e15af29a908c40fc777 /drawinglayer
parentebdee6111f65d5d3826a5cb3d35d48cce85ee552 (diff)
-Werror,-Wunused-variable
Change-Id: Icb19121e39565a3588c0acd14db114a8572b00fa
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/dumper/XShapeDumper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx
index a77cb37641b2..a2de8c4a2a2b 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)
{