summaryrefslogtreecommitdiff
path: root/sw/source/ui/docvw/edtdd.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-10-12 16:49:40 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-10-12 16:56:54 +0200
commit21d10c6f3266d4fac9c91f9d0fab529a6841b39e (patch)
treed4436c5d48e16d81518906f5337bd16ae1dec823 /sw/source/ui/docvw/edtdd.cxx
parent908794d36f489c60835bfa8a17ac6bd9c256c7df (diff)
mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I21e12d6a4dfb9697d2346a4e564e96af0ad03f96
Diffstat (limited to 'sw/source/ui/docvw/edtdd.cxx')
-rw-r--r--sw/source/ui/docvw/edtdd.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/docvw/edtdd.cxx b/sw/source/ui/docvw/edtdd.cxx
index 01c1b9781fe7..c27f73b23895 100644
--- a/sw/source/ui/docvw/edtdd.cxx
+++ b/sw/source/ui/docvw/edtdd.cxx
@@ -194,15 +194,15 @@ void SwEditWin::CleanupDropUserMarker()
//exhibition hack (MA,MBA)
-void lcl_SelectShellForDrop( SwView &rView )
+void SwView::SelectShellForDrop()
{
- if ( !rView.GetCurShell() )
- rView.SelectShell();
+ if ( !GetCurShell() )
+ SelectShell();
}
sal_Int8 SwEditWin::ExecuteDrop( const ExecuteDropEvent& rEvt )
{
- ::lcl_SelectShellForDrop( GetView() );
+ GetView().SelectShellForDrop();
DropCleanup();
sal_Int8 nRet = DND_ACTION_NONE;