summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-12 23:25:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-13 09:05:59 +0000
commit5ac8641b12055ac612b81edc0699b5b546606d67 (patch)
treefbc16d954a2b6d432e47901aad5fa49f5aaf9e6b /dbaccess
parentbbfc02d84aa22d051377ff0f0c82b912283b902e (diff)
these OnInvalidateClipboard don't have to be LINKs
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/app/AppController.cxx6
-rw-r--r--dbaccess/source/ui/app/AppController.hxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index 89cbc28b2068..3fd0762bcf87 100644
--- a/dbaccess/source/ui/app/AppController.cxx
+++ b/dbaccess/source/ui/app/AppController.cxx
@@ -2315,16 +2315,16 @@ void OApplicationController::showPreviewFor(const ElementType _eType,const ::rtl
//------------------------------------------------------------------------------
IMPL_LINK( OApplicationController, OnClipboardChanged, void*, EMPTYARG )
{
- return OnInvalidateClipboard( NULL );
+ OnInvalidateClipboard();
+ return 0L;
}
//------------------------------------------------------------------------------
-IMPL_LINK(OApplicationController, OnInvalidateClipboard, void*, EMPTYARG)
+void OApplicationController::OnInvalidateClipboard()
{
InvalidateFeature(ID_BROWSER_CUT);
InvalidateFeature(ID_BROWSER_COPY);
InvalidateFeature(ID_BROWSER_PASTE);
InvalidateFeature(SID_DB_APP_PASTE_SPECIAL);
- return 0L;
}
// -----------------------------------------------------------------------------
void OApplicationController::onCutEntry()
diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx
index a0a13fe0ecb4..644de951d7c1 100644
--- a/dbaccess/source/ui/app/AppController.hxx
+++ b/dbaccess/source/ui/app/AppController.hxx
@@ -549,7 +549,7 @@ namespace dbaui
virtual ::com::sun::star::uno::Any
getCurrentSelection( Control& _rControl ) const;
- DECL_LINK( OnInvalidateClipboard, void* );
+ void OnInvalidateClipboard();
DECL_LINK( OnClipboardChanged, void* );
DECL_LINK( OnAsyncDrop, void* );
DECL_LINK( OnCreateWithPilot, void* );