Kaydet (Commit) 66900072 authored tarafından J. Graeme Lingard's avatar J. Graeme Lingard

Remove empty comments

üst 2b77d15f
......@@ -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)
......
......@@ -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:
......
......@@ -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)
{
......
......@@ -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());
......
......@@ -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());
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment