Kaydet (Commit) 2b9cef02 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin pointless static const members used only in one place

Change-Id: I5cf39093e01dfd381624975f3267a2f7349ed8e5
üst 704cf81e
...@@ -51,10 +51,6 @@ using namespace ::com::sun::star::uno; ...@@ -51,10 +51,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang; using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::frame; using namespace ::com::sun::star::frame;
const char *OfficeIPCThread::sc_aShowSequence = "-tofront";
const int OfficeIPCThread::sc_nShSeqLength = 5;
namespace { namespace {
#if HAVE_FEATURE_DESKTOP || defined(ANDROID) #if HAVE_FEATURE_DESKTOP || defined(ANDROID)
...@@ -922,7 +918,7 @@ void OfficeIPCThread::execute() ...@@ -922,7 +918,7 @@ void OfficeIPCThread::execute()
delete pRequest; delete pRequest;
pRequest = NULL; pRequest = NULL;
} }
if (aArguments.equalsL(sc_aShowSequence, sc_nShSeqLength) || if (aArguments.equalsL(RTL_CONSTASCII_STRINGPARAM("-tofront")) ||
aCmdLineArgs->IsEmpty()) aCmdLineArgs->IsEmpty())
{ {
// no document was sent, just bring Office to front // no document was sent, just bring Office to front
......
...@@ -87,8 +87,6 @@ class OfficeIPCThread : public salhelper::Thread ...@@ -87,8 +87,6 @@ class OfficeIPCThread : public salhelper::Thread
::osl::Condition cReady; ::osl::Condition cReady;
static ::osl::Mutex& GetMutex(); static ::osl::Mutex& GetMutex();
static const char *sc_aShowSequence;
static const int sc_nShSeqLength;
OfficeIPCThread(); OfficeIPCThread();
......
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