summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-03-28 22:37:43 +0200
committerTor Lillqvist <tml@collabora.com>2015-03-29 01:56:37 +0200
commit2b9cef0286d1361441c9350135a9874d4a3ba34c (patch)
tree98abdaca2925668707db19ef02d2e3e4a5bdc9ca /desktop
parent704cf81ebef60a3f9d3f5f78ed24a1fe30c98f92 (diff)
Bin pointless static const members used only in one place
Change-Id: I5cf39093e01dfd381624975f3267a2f7349ed8e5
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/officeipcthread.cxx6
-rw-r--r--desktop/source/app/officeipcthread.hxx2
2 files changed, 1 insertions, 7 deletions
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx
index d3ce4d8ed644..5d405e13dd79 100644
--- a/desktop/source/app/officeipcthread.cxx
+++ b/desktop/source/app/officeipcthread.cxx
@@ -51,10 +51,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::frame;
-
-const char *OfficeIPCThread::sc_aShowSequence = "-tofront";
-const int OfficeIPCThread::sc_nShSeqLength = 5;
-
namespace {
#if HAVE_FEATURE_DESKTOP || defined(ANDROID)
@@ -922,7 +918,7 @@ void OfficeIPCThread::execute()
delete pRequest;
pRequest = NULL;
}
- if (aArguments.equalsL(sc_aShowSequence, sc_nShSeqLength) ||
+ if (aArguments.equalsL(RTL_CONSTASCII_STRINGPARAM("-tofront")) ||
aCmdLineArgs->IsEmpty())
{
// no document was sent, just bring Office to front
diff --git a/desktop/source/app/officeipcthread.hxx b/desktop/source/app/officeipcthread.hxx
index 3f81d40a2308..e81f57a475de 100644
--- a/desktop/source/app/officeipcthread.hxx
+++ b/desktop/source/app/officeipcthread.hxx
@@ -87,8 +87,6 @@ class OfficeIPCThread : public salhelper::Thread
::osl::Condition cReady;
static ::osl::Mutex& GetMutex();
- static const char *sc_aShowSequence;
- static const int sc_nShSeqLength;
OfficeIPCThread();