diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 16:49:40 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 16:56:54 +0200 |
commit | 21d10c6f3266d4fac9c91f9d0fab529a6841b39e (patch) | |
tree | d4436c5d48e16d81518906f5337bd16ae1dec823 /sw/source/ui/docvw/edtwin.cxx | |
parent | 908794d36f489c60835bfa8a17ac6bd9c256c7df (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/edtwin.cxx')
-rw-r--r-- | sw/source/ui/docvw/edtwin.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index 711c63c4a3d1..77aadcf2d82d 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -192,7 +192,7 @@ sal_Bool SwEditWin::bTransparentBackColor = sal_False; // background not transpa extern sal_Bool bExecuteDrag; -SfxShell* lcl_GetShellFromDispatcher( SwView& rView, TypeId nType ); +static SfxShell* lcl_GetShellFromDispatcher( SwView& rView, TypeId nType ); DBG_NAME(edithdl) @@ -768,7 +768,7 @@ sal_Bool SwEditWin::IsInputSequenceCheckingRequired( const String &rText, const //return INVALID_HINT if language should not be explictly overridden, the correct //HintId to use for the eBufferLanguage otherwise -sal_uInt16 lcl_isNonDefaultLanguage(LanguageType eBufferLanguage, SwView& rView, +static sal_uInt16 lcl_isNonDefaultLanguage(LanguageType eBufferLanguage, SwView& rView, const String &rInBuffer) { sal_uInt16 nWhich = INVALID_HINT; @@ -2744,7 +2744,7 @@ void SwEditWin::RstMBDownFlags() * Determines if the current position has a clickable url over a background * frame. In that case, ctrl-click should select the url, not the frame. */ -bool lcl_urlOverBackground(SwWrtShell& rSh, const Point& rDocPos) +static bool lcl_urlOverBackground(SwWrtShell& rSh, const Point& rDocPos) { SwContentAtPos aSwContentAtPos(SwContentAtPos::SW_INETATTR); SdrObject* pSelectableObj = rSh.GetObjAt(rDocPos); @@ -2854,7 +2854,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt) // After GrabFocus a shell should be pushed. That should actually // work but in practice ... - lcl_SelectShellForDrop( rView ); + rView.SelectShellForDrop(); sal_Bool bIsDocReadOnly = rView.GetDocShell()->IsReadOnly(); sal_Bool bCallBase = sal_True; @@ -5539,7 +5539,7 @@ sal_Bool SwEditWin::SelectMenuPosition(SwWrtShell& rSh, const Point& rMousePos ) return bRet; } -SfxShell* lcl_GetShellFromDispatcher( SwView& rView, TypeId nType ) +static SfxShell* lcl_GetShellFromDispatcher( SwView& rView, TypeId nType ) { // determine Shell SfxShell* pShell; |