summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-02 15:53:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-03 09:07:36 +0200
commit68e213319f2a3ee2f90e7bfccae8e5e13492d357 (patch)
tree44ef8a6d927420111ddea01975dfcdc25556ad55 /shell
parent0d7f5e060663cb747b0dc50bb76c162484e4dae4 (diff)
remove empty comments
found with: git ls-files | xargs grep -Pzl '/\*\* (\*|\s| )*\*/' Change-Id: I1f47bcb94d5a7b290a6c622c6941195fbb578597 Reviewed-on: https://gerrit.libreoffice.org/37159 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/tools/regsvrex/regsvrex.cxx4
-rw-r--r--shell/source/win32/shlxthandler/util/utilities.cxx10
-rw-r--r--shell/source/win32/zipfile/zipexcptn.cxx22
-rw-r--r--shell/source/win32/zipfile/zipexcptn.hxx12
4 files changed, 0 insertions, 48 deletions
diff --git a/shell/source/tools/regsvrex/regsvrex.cxx b/shell/source/tools/regsvrex/regsvrex.cxx
index 295db56942c1..c4f2e053ded6 100644
--- a/shell/source/tools/regsvrex/regsvrex.cxx
+++ b/shell/source/tools/regsvrex/regsvrex.cxx
@@ -29,16 +29,12 @@
typedef HRESULT (__stdcall *lpfnDllRegisterServer)();
typedef HRESULT (__stdcall *lpfnDllUnregisterServer)();
-/**
-*/
bool IsUnregisterParameter(const char* Param)
{
return ((0 == _stricmp(Param, "/u")) ||
(0 == _stricmp(Param, "-u")));
}
-/**
-*/
int main(int argc, char* argv[])
{
HMODULE hmod;
diff --git a/shell/source/win32/shlxthandler/util/utilities.cxx b/shell/source/win32/shlxthandler/util/utilities.cxx
index 66686a7e0d4b..03e013602699 100644
--- a/shell/source/win32/shlxthandler/util/utilities.cxx
+++ b/shell/source/win32/shlxthandler/util/utilities.cxx
@@ -63,32 +63,24 @@ static std::string WStringToString(const std::wstring& String, int codepage)
}
-/**
-*/
std::wstring StringToWString(const std::string& String)
{
return StringToWString(String, CP_ACP);
}
-/**
-*/
std::string WStringToString(const std::wstring& String)
{
return WStringToString(String, CP_ACP);
}
-/**
-*/
std::wstring UTF8ToWString(const std::string& String)
{
return StringToWString(String, CP_UTF8);
}
-/**
-*/
std::wstring GetResString(int ResId)
{
wchar_t szResStr[MAX_RES_STRING];
@@ -102,8 +94,6 @@ std::wstring GetResString(int ResId)
}
-/**
-*/
bool is_windows_xp_or_above()
{
// the Win32 SDK 8.1 deprecates GetVersionEx()
diff --git a/shell/source/win32/zipfile/zipexcptn.cxx b/shell/source/win32/zipfile/zipexcptn.cxx
index 2d1118f93fe7..cea21fe7f69e 100644
--- a/shell/source/win32/zipfile/zipexcptn.cxx
+++ b/shell/source/win32/zipfile/zipexcptn.cxx
@@ -21,47 +21,35 @@
#include "zipexcptn.hxx"
-/**
-*/
RuntimeException::RuntimeException(int Error) :
m_Error(Error)
{
}
-/**
-*/
RuntimeException::~RuntimeException() throw()
{
}
-/**
-*/
int RuntimeException::GetErrorCode() const
{
return m_Error;
}
-/**
-*/
ZipException::ZipException(int Error) :
RuntimeException(Error)
{
}
-/**
-*/
const char* ZipException::what() const throw()
{
return nullptr;
}
-/**
-*/
Win32Exception::Win32Exception(int Error) :
RuntimeException(Error),
m_MsgBuff(nullptr)
@@ -69,8 +57,6 @@ Win32Exception::Win32Exception(int Error) :
}
-/**
-*/
Win32Exception::~Win32Exception() throw()
{
if (m_MsgBuff)
@@ -78,8 +64,6 @@ Win32Exception::~Win32Exception() throw()
}
-/**
-*/
const char* Win32Exception::what() const throw()
{
if (m_MsgBuff == nullptr)
@@ -100,24 +84,18 @@ const char* Win32Exception::what() const throw()
}
-/**
-*/
ZipContentMissException::ZipContentMissException(int Error) :
ZipException(Error)
{
}
-/**
-*/
AccessViolationException::AccessViolationException(int Error) :
Win32Exception(Error)
{
}
-/**
-*/
IOException::IOException(int Error) :
Win32Exception(Error)
{
diff --git a/shell/source/win32/zipfile/zipexcptn.hxx b/shell/source/win32/zipfile/zipexcptn.hxx
index 3aec38f36045..6fb7c0d971b7 100644
--- a/shell/source/win32/zipfile/zipexcptn.hxx
+++ b/shell/source/win32/zipfile/zipexcptn.hxx
@@ -25,8 +25,6 @@
#include <stdexcept>
-/**
-*/
class RuntimeException : public std::exception
{
public:
@@ -40,8 +38,6 @@ private:
};
-/**
-*/
class ZipException : public RuntimeException
{
public:
@@ -51,8 +47,6 @@ public:
};
-/**
-*/
class Win32Exception : public RuntimeException
{
public:
@@ -66,8 +60,6 @@ private:
};
-/**
-*/
class ZipContentMissException : public ZipException
{
public:
@@ -75,8 +67,6 @@ public:
};
-/**
-*/
class AccessViolationException : public Win32Exception
{
public:
@@ -84,8 +74,6 @@ public:
};
-/**
-*/
class IOException : public Win32Exception
{
public: