[Libreoffice-commits] core.git: svx/inc sw/inc vcl/inc

Tor Lillqvist tml at iki.fi
Sat Mar 16 11:47:44 PDT 2013


 svx/inc/svx/svdetc.hxx  |    1 -
 sw/inc/swtable.hxx      |    2 +-
 vcl/inc/accel.h         |    9 ---------
 vcl/inc/svdata.hxx      |    2 --
 vcl/inc/win/saldata.hxx |   18 +-----------------
 5 files changed, 2 insertions(+), 30 deletions(-)

New commits:
commit ec4977278ba3d153f0913c72450e72a6ed21d593
Author: Tor Lillqvist <tml at iki.fi>
Date:   Sat Mar 16 20:43:23 2013 +0200

    Get rid of a few pointless comments
    
    No need to refer to some source files in a few random places in
    headers, using ancient UPPER-CASE file names even.
    
    Change-Id: Ia0827be34046f25fd769466c41dab017b4935a37

diff --git a/svx/inc/svx/svdetc.hxx b/svx/inc/svx/svdetc.hxx
index a7957e4..22a91d3 100644
--- a/svx/inc/svx/svdetc.hxx
+++ b/svx/inc/svx/svdetc.hxx
@@ -191,7 +191,6 @@ public:
     bool HasLink(const Link& rLink) const { return FindEntry(rLink)!=0xFFFF; }
 };
 
-// Fuer die Factory in SvdObj.CXX
 SdrLinkList& ImpGetUserMakeObjHdl();
 SdrLinkList& ImpGetUserMakeObjUserDataHdl();
 
diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx
index fe018f6..b33f754 100644
--- a/sw/inc/swtable.hxx
+++ b/sw/inc/swtable.hxx
@@ -274,7 +274,7 @@ public:
     // Copy selected boxes to another document.
     bool MakeCopy( SwDoc*, const SwPosition&, const SwSelBoxes&,
                     bool bCpyNds = true, bool bCpyName = false ) const;
-    // Copy table in this (implemented in TBLRWCL.CXX).
+    // Copy table in this
     sal_Bool InsTable( const SwTable& rCpyTbl, const SwNodeIndex&,
                     SwUndoTblCpyTbl* pUndo = 0 );
     sal_Bool InsTable( const SwTable& rCpyTbl, const SwSelBoxes&,
diff --git a/vcl/inc/accel.h b/vcl/inc/accel.h
index 0caca46..2980746 100644
--- a/vcl/inc/accel.h
+++ b/vcl/inc/accel.h
@@ -27,10 +27,6 @@
 
 class Accelerator;
 
-// ------------------
-// - ImplAccelEntry -
-// ------------------
-
 class ImplAccelEntry
 {
 public:
@@ -41,11 +37,6 @@ public:
     sal_Bool            mbEnabled;
 };
 
-// -----------------
-// - Hilfemethoden -
-// -----------------
-
-// in KEYCOD.CXX
 void ImplGetKeyCode( KeyFuncType eFunc, sal_uInt16& rCode1, sal_uInt16& rCode2, sal_uInt16& rCode3, sal_uInt16& rCode4 );
 
 #endif  // _SV_ACCEL_H
diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx
index fe6b7e1..ba37917 100644
--- a/vcl/inc/svdata.hxx
+++ b/vcl/inc/svdata.hxx
@@ -358,12 +358,10 @@ void        ImplWindowAutoMnemonic( Window* pWindow );
 void        ImplUpdateSystemProcessWindow();
 Window*     ImplFindWindow( const SalFrame* pFrame, Point& rSalFramePos );
 
-// SVAPP.CXX
 sal_Bool        ImplCallHotKey( const KeyCode& rKeyCode );
 void        ImplFreeHotKeyData();
 void        ImplFreeEventHookData();
 
-// WINPROC.CXX
 long        ImplCallPreNotify( NotifyEvent& rEvt );
 long        ImplCallEvent( NotifyEvent& rEvt );
 
diff --git a/vcl/inc/win/saldata.hxx b/vcl/inc/win/saldata.hxx
index 1fef0cd..d6f60e4 100644
--- a/vcl/inc/win/saldata.hxx
+++ b/vcl/inc/win/saldata.hxx
@@ -183,23 +183,13 @@ void ImplReleaseCachedDC( sal_uLong nID );
 bool ImplAddTempFont( SalData&, const rtl::OUString& rFontFileURL );
 void ImplReleaseTempFonts( SalData& );
 
-// --------------------------------------------
-// - SALSHL.CXX - for accessing DLL resources -
-// --------------------------------------------
-
 HCURSOR ImplLoadSalCursor( int nId );
 HBITMAP ImplLoadSalBitmap( int nId );
 sal_Bool ImplLoadSalIcon( int nId, HICON& rIcon, HICON& rSmallIcon );
 
-// SALGDI.CXX
 void ImplInitSalGDI();
 void ImplFreeSalGDI();
 
-// --------------
-// - Prototypes -
-// --------------
-
-// \\WIN\SOURCE\APP\SALINST.CXX
 void ImplSalYieldMutexAcquireWithWait();
 sal_Bool ImplSalYieldMutexTryToAcquire();
 void ImplSalYieldMutexAcquire();
@@ -207,30 +197,24 @@ void ImplSalYieldMutexRelease();
 sal_uLong ImplSalReleaseYieldMutex();
 void ImplSalAcquireYieldMutex( sal_uLong nCount );
 
-// \\WIN\SOURCE\WINDOW\SALFRAME.CXX
 LRESULT CALLBACK SalFrameWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam );
-// \SV\WIN\SOURCE\APP\SALTIMER.CXX
+
 #define SALTIMERPROC_RECURSIVE 0xffffffff
 void    CALLBACK SalTimerProc( HWND hWnd, UINT nMsg, UINT_PTR nId, DWORD nTime );
 
-// \WIN\SOURCE\WINDOW\SALFRAME.CXX
 void SalTestMouseLeave();
 sal_Bool ImplWriteLastError( DWORD lastError, const char *szApiCall );
 
-// \WIN\SOURCE\WINDOW\SALFRAME.CXX
 long ImplHandleSalObjKeyMsg( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam );
 long ImplHandleSalObjSysCharMsg( HWND hWnd, WPARAM wParam, LPARAM lParam );
 sal_Bool ImplHandleGlobalMsg( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam, LRESULT& rlResult );
 
-// \WIN\SOURCE\WINDOW\SALOBJ.CXX
 WinSalObject* ImplFindSalObject( HWND hWndChild );
 sal_Bool ImplSalPreDispatchMsg( MSG* pMsg );
 void ImplSalPostDispatchMsg( MSG* pMsg, LRESULT nDispatchResult );
 
-// \WIN\SOURCE\GDI\SALGDI3.CXX
 void ImplSalLogFontToFontW( HDC hDC, const LOGFONTW& rLogFont, Font& rFont );
 
-// \WIN\SOURCE\APP\SALDATA.CXX
 rtl_TextEncoding ImplSalGetSystemEncoding();
 OUString ImplSalGetUniString( const sal_Char* pStr, xub_StrLen nLen = STRING_LEN );
 int ImplSalWICompareAscii( const wchar_t* pStr1, const char* pStr2 );


More information about the Libreoffice-commits mailing list