summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-21 09:41:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-21 09:41:16 +0100
commit7a09d361498abad7d4aba4762e569e27d39e15ad (patch)
treeba3fec379abd94726cad2d39560a1ca0805af1ae /sc/source
parentb71d3ad1fd71092e4cc85f5bb96b3bc3347e55d2 (diff)
-Werror=unused-parameter
Change-Id: If9e6e4be2d4d0b22b636e355a9f00748cdeb2d55
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/drawfunc/fudraw.cxx2
-rw-r--r--sc/source/ui/drawfunc/futext.cxx2
-rw-r--r--sc/source/ui/inc/fudraw.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index fc72d7bc7df3..64e8c89daea2 100644
--- a/sc/source/ui/drawfunc/fudraw.cxx
+++ b/sc/source/ui/drawfunc/fudraw.cxx
@@ -768,7 +768,7 @@ void FuDraw::ForcePointer(const MouseEvent* pMEvt)
}
}
-sal_Bool FuDraw::IsEditingANote( const MouseEvent& rMEvt ) const
+sal_Bool FuDraw::IsEditingANote() const
{
const SdrMarkList& rMarkList = pView->GetMarkedObjectList();
sal_Int32 backval=rMarkList.GetMarkCount();
diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx
index 70be8241c38f..75ec4bca1f45 100644
--- a/sc/source/ui/drawfunc/futext.cxx
+++ b/sc/source/ui/drawfunc/futext.cxx
@@ -132,7 +132,7 @@ sal_Bool FuText::MouseButtonDown(const MouseEvent& rMEvt)
if ( pView->IsTextEdit() )
{
- if ( IsEditingANote(rMEvt) )
+ if ( IsEditingANote() )
{
if( !IsSizingOrMovingNote(rMEvt) )
{
diff --git a/sc/source/ui/inc/fudraw.hxx b/sc/source/ui/inc/fudraw.hxx
index fdff18adf955..2fba1ae52fb6 100644
--- a/sc/source/ui/inc/fudraw.hxx
+++ b/sc/source/ui/inc/fudraw.hxx
@@ -49,7 +49,7 @@ class FuDraw : public FuPoor
// II
virtual void SelectionHasChanged();
- sal_Bool IsEditingANote( const MouseEvent& rMEvt ) const;
+ sal_Bool IsEditingANote() const;
sal_Bool IsSizingOrMovingNote( const MouseEvent& rMEvt ) const;
private: