[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Thu Mar 21 01:42:29 PDT 2013
sc/source/ui/drawfunc/fudraw.cxx | 2 +-
sc/source/ui/drawfunc/futext.cxx | 2 +-
sc/source/ui/inc/fudraw.hxx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 7a09d361498abad7d4aba4762e569e27d39e15ad
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Mar 21 09:41:16 2013 +0100
-Werror=unused-parameter
Change-Id: If9e6e4be2d4d0b22b636e355a9f00748cdeb2d55
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index fc72d7b..64e8c89 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 70be824..75ec4bc 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 fdff18a..2fba1ae 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:
More information about the Libreoffice-commits
mailing list