summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-14 21:02:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-14 21:02:40 +0100
commitab5d1fbfb4956ec431dbceb6b4cc65f7b12e5c5f (patch)
tree9a8a9a87526b4da881a364dd557ea9002e6a6b5b /sd
parentbcd594902c366443f0d17b7599267793ac6da204 (diff)
SAL_WARN_UNUSED com::sun::star::uno::Any
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/drawdoc4.cxx2
-rw-r--r--sd/source/ui/unoidl/unosrch.cxx1
2 files changed, 0 insertions, 3 deletions
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx
index e99f289da2af..18dc10dc8794 100644
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -604,8 +604,6 @@ void SdDrawDocument::CreateDefaultCellStyles()
rISet.Put( aBoxItem );
- Any aDefaultCellStyle( Reference< XStyle >( static_cast< XWeak* >( pSheet ), UNO_QUERY ) );
-
// ---- default --------------------------------------------------
Any aGray1( implMakeSolidCellStyle( pSSPool, "gray1" , aDefaultCellStyleName, RGB_COLORDATA(230,230,230)));
diff --git a/sd/source/ui/unoidl/unosrch.cxx b/sd/source/ui/unoidl/unosrch.cxx
index 50198a3d7bc3..2d81d3631b1c 100644
--- a/sd/source/ui/unoidl/unosrch.cxx
+++ b/sd/source/ui/unoidl/unosrch.cxx
@@ -404,7 +404,6 @@ uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL SdUnoSearchReplaceS
uno::Reference< drawing::XShape > SdUnoSearchReplaceShape::GetNextShape( uno::Reference< container::XIndexAccess > xShapes, uno::Reference< drawing::XShape > xCurrentShape ) throw()
{
uno::Reference< drawing::XShape > xFound;
- uno::Any aAny;
if(xShapes.is() && xCurrentShape.is())
{