diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-02-27 12:46:29 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-02-27 12:46:29 +0000 |
commit | 7e2717dabd7277bf262351f3a518c96d72e669e8 (patch) | |
tree | 1dc6ab094f658ccc6832eda7cc31f8154a61b092 /sc/source/ui/unoobj/notesuno.cxx | |
parent | 80e3e8bbadb9496d8dcff744b0443ff663f694ef (diff) |
INTEGRATION: CWS calcwarnings (1.8.110); FILE MERGED
2006/12/12 17:03:27 nn 1.8.110.2: #i69284# warning-free: ui, unxlngi6
2006/12/01 08:53:43 nn 1.8.110.1: #i69284# warning-free: ui, wntmsci10
Diffstat (limited to 'sc/source/ui/unoobj/notesuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/notesuno.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sc/source/ui/unoobj/notesuno.cxx b/sc/source/ui/unoobj/notesuno.cxx index 02f28f132..2f3c5d32c 100644 --- a/sc/source/ui/unoobj/notesuno.cxx +++ b/sc/source/ui/unoobj/notesuno.cxx @@ -4,9 +4,9 @@ * * $RCSfile: notesuno.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: kz $ $Date: 2006-07-21 14:43:39 $ + * last change: $Author: vg $ $Date: 2007-02-27 13:46:29 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -85,7 +85,7 @@ const SfxItemPropertyMap* lcl_GetAnnotationPropertyMap() { static SfxItemPropertyMap aAnnotationPropertyMap_Impl[] = { - {0,0,0,0} + {0,0,0,0,0,0} }; return aAnnotationPropertyMap_Impl; } @@ -129,11 +129,11 @@ ScAnnotationObj::~ScAnnotationObj() pUnoText->release(); } -void ScAnnotationObj::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) +void ScAnnotationObj::Notify( SfxBroadcaster&, const SfxHint& rHint ) { if ( rHint.ISA( ScUpdateRefHint ) ) { - const ScUpdateRefHint& rRef = (const ScUpdateRefHint&)rHint; +// const ScUpdateRefHint& rRef = (const ScUpdateRefHint&)rHint; //! Ref-Update } @@ -160,7 +160,7 @@ uno::Reference<uno::XInterface> SAL_CALL ScAnnotationObj::getParent() throw(uno: return NULL; } -void SAL_CALL ScAnnotationObj::setParent( const uno::Reference<uno::XInterface>& Parent ) +void SAL_CALL ScAnnotationObj::setParent( const uno::Reference<uno::XInterface>& /* Parent */ ) throw(lang::NoSupportException, uno::RuntimeException) { // hamma nich @@ -457,11 +457,11 @@ void ScAnnotationShapeObj::UpdateData() SdrObject* pObj = GetCaptionObj(); if (pObj) { - uno::Reference<drawing::XShape> xShape(pObj->getUnoShape(), uno::UNO_QUERY); - if (xShape.is()) + uno::Reference<drawing::XShape> xCaptionShape(pObj->getUnoShape(), uno::UNO_QUERY); + if (xCaptionShape.is()) { - xShape->setSize(aSize); - xShape->setPosition(aPos); + xCaptionShape->setSize(aSize); + xCaptionShape->setPosition(aPos); } pObj->SetMergedItemSet(aNote.GetItemSet()); pObj->ActionChanged(); @@ -507,11 +507,11 @@ ScAnnotationShapeObj::~ScAnnotationShapeObj() pUnoText->release(); } -void ScAnnotationShapeObj::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) +void ScAnnotationShapeObj::Notify( SfxBroadcaster&, const SfxHint& rHint ) { if ( rHint.ISA( ScUpdateRefHint ) ) { - const ScUpdateRefHint& rRef = (const ScUpdateRefHint&)rHint; +// const ScUpdateRefHint& rRef = (const ScUpdateRefHint&)rHint; //! Ref-Update } @@ -538,7 +538,7 @@ uno::Reference<uno::XInterface> SAL_CALL ScAnnotationShapeObj::getParent() throw return NULL; } -void SAL_CALL ScAnnotationShapeObj::setParent( const uno::Reference<uno::XInterface>& Parent ) +void SAL_CALL ScAnnotationShapeObj::setParent( const uno::Reference<uno::XInterface>& /* Parent */ ) throw(lang::NoSupportException, uno::RuntimeException) { // hamma nich |