[Libreoffice-commits] .: cui/source setup_native/source

J Graeme Lingard jgraeme at kemper.freedesktop.org
Sun Nov 28 16:17:47 PST 2010


 cui/source/options/optlingu.cxx                                         |   16 ------
 setup_native/source/win32/customactions/reg4msdoc/registry.hxx          |    4 -
 setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx |   26 ----------
 setup_native/source/win32/customactions/reg4msdoc/registryw9x.cxx       |   14 -----
 setup_native/source/win32/customactions/reg4msdoc/registrywnt.cxx       |   14 -----
 setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx   |   24 ---------
 setup_native/source/win32/customactions/reg64/reg64.cxx                 |    7 --
 7 files changed, 105 deletions(-)

New commits:
commit e6b40295f764503adef776a74e150e24af6c6d82
Author: J. Graeme Lingard <jgraeme+git at gmail.com>
Date:   Mon Nov 29 00:16:33 2010 +0000

    Remove empty comments

diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index 9bf5967..2da665a 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -172,9 +172,6 @@ static void lcl_OpenURL( ::rtl::OUString sURL )
     }
 }
 
-/*--------------------------------------------------
---------------------------------------------------*/
-
 static const sal_uInt16 nNameLen = 8;
 
 static sal_uInt16 pRanges[] =
@@ -243,8 +240,6 @@ public:
 
 };
 
-/*--------------------------------------------------
---------------------------------------------------*/
 //
 // User for user-dictionaries (XDictionary interface)
 //
@@ -334,10 +329,6 @@ void BrwStringDic_Impl::Paint( const Point& rPos, SvLBox& rDev, USHORT,
     rDev.SetFont( aOldFont );
 }
 
-
-/*--------------------------------------------------
---------------------------------------------------*/
-
 class OptionsBreakSet : public ModalDialog
 {
     OKButton 		aOKPB;
@@ -2009,8 +2000,6 @@ void SvxLinguTabPage::HideGroups( sal_uInt16 nGrp )
         }
     }
 }
-/*--------------------------------------------------
---------------------------------------------------*/
 
 SvxEditModulesDlg::SvxEditModulesDlg(Window* pParent, SvxLinguData_Impl& rData) :
     ModalDialog( pParent, CUI_RES(RID_SVXDLG_EDIT_MODULES ) ),
@@ -2120,9 +2109,6 @@ SvLBoxEntry* SvxEditModulesDlg::CreateEntry( String& rTxt, USHORT nCol )
     return pEntry;
 }
 
-/* ---------------------------------------------------------------------------
-
- ---------------------------------------------------------------------------*/
 IMPL_LINK( SvxEditModulesDlg, SelectHdl_Impl, SvxCheckListBox *, pBox )
 {
     if (&aModulesCLB == pBox)
@@ -2493,9 +2479,7 @@ IMPL_LINK( SvxEditModulesDlg, UpDownHdl_Impl, PushButton *, pBtn )
     }
     return 0;
 }
-/* ---------------------------------------------------------------------------
 
- ---------------------------------------------------------------------------*/
 IMPL_LINK( SvxEditModulesDlg, ClickHdl_Impl, PushButton *, pBtn )
 {
     if (&aClosePB == pBtn)
diff --git a/setup_native/source/win32/customactions/reg4msdoc/registry.hxx b/setup_native/source/win32/customactions/reg4msdoc/registry.hxx
index 4d251b8..447336b 100644
--- a/setup_native/source/win32/customactions/reg4msdoc/registry.hxx
+++ b/setup_native/source/win32/customactions/reg4msdoc/registry.hxx
@@ -57,10 +57,6 @@ typedef std::auto_ptr<RegistryKeyImpl>  	RegistryKey;
 typedef std::vector<std::wstring>				StringList;
 typedef std::auto_ptr<StringList>				StringListPtr;
 
-//---------------------------------------
-// 
-//---------------------------------------
-
 class RegistryKeyImpl
 {
 public:   
diff --git a/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx b/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx
index 5de0c04..d4fc34d 100644
--- a/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx
+++ b/setup_native/source/win32/customactions/reg4msdoc/registryexception.cxx
@@ -23,16 +23,12 @@ RegistryException::RegistryException(long ErrorCode) :
 {
 }
 
-/**
-*/
 RegistryException::~RegistryException() throw()
 {
     if (m_ErrorMsg)
         LocalFree(m_ErrorMsg);
 }
 
-/**
-*/
 const char* RegistryException::what() const throw()
 {
     FormatMessage( 
@@ -49,8 +45,6 @@ const char* RegistryException::what() const throw()
     return reinterpret_cast<char*>(m_ErrorMsg);
 }
 
-/**
-*/
 long RegistryException::GetErrorCode() const
 {
     return m_ErrorCode;
@@ -66,46 +60,26 @@ RegistryIOException::RegistryIOException(long ErrorCode) :
 {
 };
 
-//#######################################
-// 
-//#######################################
-
 RegistryNoWriteAccessException::RegistryNoWriteAccessException(long ErrorCode) :
     RegistryException(ErrorCode)
 {
 };
 
-//#######################################
-//
-//#######################################
-
 RegistryAccessDeniedException::RegistryAccessDeniedException(long ErrorCode) :
     RegistryException(ErrorCode)
 {
 };
 
-//#######################################
-//
-//#######################################
-
 RegistryValueNotFoundException::RegistryValueNotFoundException(long ErrorCode) :
     RegistryException(ErrorCode)
 {
 };
 
-//#######################################
-//
-//#######################################
-
 RegistryKeyNotFoundException::RegistryKeyNotFoundException(long ErrorCode) :
     RegistryException(ErrorCode)
 {
 };
 
-//#######################################
-//
-//#######################################
-
 RegistryInvalidOperationException::RegistryInvalidOperationException(long ErrorCode) :
     RegistryException(ErrorCode)
 {
diff --git a/setup_native/source/win32/customactions/reg4msdoc/registryw9x.cxx b/setup_native/source/win32/customactions/reg4msdoc/registryw9x.cxx
index 4b14c0d..fa860ee 100644
--- a/setup_native/source/win32/customactions/reg4msdoc/registryw9x.cxx
+++ b/setup_native/source/win32/customactions/reg4msdoc/registryw9x.cxx
@@ -26,10 +26,6 @@
  *
  ************************************************************************/
 
-//---------------------------------------
-//
-//---------------------------------------
-
 #include "registryw9x.hxx"
 
 #include <windows.h>
@@ -44,10 +40,6 @@
 #pragma warning(disable : 4786 4350)
 #endif
 
-//---------------------------------------
-//
-//---------------------------------------
-
 const size_t MAX_TMP_BUFF_SIZE = 1024 * sizeof(wchar_t);
 
 
@@ -138,9 +130,6 @@ size_t RegistryKeyImplWin9x::GetSubKeyCount() const
     return nSubKeys;
 }
 
-//-----------------------------------------------------
-/**
-*/
 StringListPtr RegistryKeyImplWin9x::GetSubKeyNames() const
 {
     assert(IsOpen());
@@ -176,9 +165,6 @@ StringListPtr RegistryKeyImplWin9x::GetSubKeyNames() const
     return (StringListPtr) key_names;
 }
 
-//-----------------------------------------------------
-/**
-*/
 StringListPtr RegistryKeyImplWin9x::GetSubValueNames() const
 {
     assert(IsOpen());
diff --git a/setup_native/source/win32/customactions/reg4msdoc/registrywnt.cxx b/setup_native/source/win32/customactions/reg4msdoc/registrywnt.cxx
index cd3507b..1b7b8df 100644
--- a/setup_native/source/win32/customactions/reg4msdoc/registrywnt.cxx
+++ b/setup_native/source/win32/customactions/reg4msdoc/registrywnt.cxx
@@ -26,10 +26,6 @@
  *
  ************************************************************************/
 
-//---------------------------------------
-// 
-//---------------------------------------
-
 #ifdef _MSC_VER
 #pragma warning(push, 1) /* disable warnings within system headers */
 #endif
@@ -49,10 +45,6 @@
 #pragma warning(disable : 4786 4350)
 #endif
 
-//---------------------------------------
-// 
-//---------------------------------------
-
 const size_t MAX_TMP_BUFF_SIZE = 1024 * sizeof(wchar_t);
 
 
@@ -143,9 +135,6 @@ size_t RegistryKeyImplWinNT::GetSubKeyCount() const
     return nSubKeys;
 }
 
-//-----------------------------------------------------
-/**
-*/
 StringListPtr RegistryKeyImplWinNT::GetSubKeyNames() const
 {	
     assert(IsOpen());
@@ -185,9 +174,6 @@ StringListPtr RegistryKeyImplWinNT::GetSubKeyNames() const
 #endif
 }
 
-//-----------------------------------------------------
-/**
-*/
 StringListPtr RegistryKeyImplWinNT::GetSubValueNames() const
 {
     assert(IsOpen());
diff --git a/setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx b/setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx
index 49a3fdd..49c32eb 100644
--- a/setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx
+++ b/setup_native/source/win32/customactions/reg4msdoc/windowsregistry.cxx
@@ -11,10 +11,6 @@
 #pragma warning(disable : 4350)
 #endif
 
-//------------------------------
-//
-//------------------------------
-
 WindowsRegistry::WindowsRegistry() 
 {
     OSVERSIONINFOA osverinfo;
@@ -25,46 +21,26 @@ WindowsRegistry::WindowsRegistry()
     m_IsWinNT = (osverinfo.dwPlatformId == VER_PLATFORM_WIN32_NT);
 }
 
-//------------------------------
-//
-//------------------------------
-
 RegistryKey WindowsRegistry::GetClassesRootKey(bool Writeable) const
 {
     return GetRegistryKey(HKEY_CLASSES_ROOT, Writeable);
 }
 
-//------------------------------
-//
-//------------------------------
-    
 RegistryKey WindowsRegistry::GetCurrentUserKey(bool Writeable) const
 {
     return GetRegistryKey(HKEY_CURRENT_USER, Writeable);
 }
 
-//------------------------------
-//
-//------------------------------
-
 RegistryKey WindowsRegistry::GetLocalMachineKey(bool Writeable) const
 {
     return GetRegistryKey(HKEY_LOCAL_MACHINE, Writeable);
 }
 
-//------------------------------
-//
-//------------------------------
-
 RegistryKey WindowsRegistry::GetUserKey(bool Writeable) const
 {
     return GetRegistryKey(HKEY_USERS, Writeable);
 }
 
-//------------------------------
-//
-//------------------------------
-
 RegistryKey WindowsRegistry::GetRegistryKey(HKEY RootKey, bool Writeable) const
 {
     RegistryKey regkey;
diff --git a/setup_native/source/win32/customactions/reg64/reg64.cxx b/setup_native/source/win32/customactions/reg64/reg64.cxx
index 2f4b676..ea05475 100644
--- a/setup_native/source/win32/customactions/reg64/reg64.cxx
+++ b/setup_native/source/win32/customactions/reg64/reg64.cxx
@@ -254,13 +254,6 @@ bool DeleteRegistryKey(HKEY RootKey, const wchar_t* KeyName)
     return (ERROR_SUCCESS == rc);
 }
 
-
-
-
-//---------------------------------------
-//
-//---------------------------------------
-
 bool SetRegistryKey(HKEY RootKey, const wchar_t* KeyName, const wchar_t* ValueName, const wchar_t* Value)
 {
     HKEY hSubKey;


More information about the Libreoffice-commits mailing list