diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-01 14:10:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-01 15:54:19 +0200 |
commit | d3d45ab54e78fa760860923d0ff5c4692d89c99c (patch) | |
tree | e1482f36355c82eb39e7d4d72ad297f50d3c06a6 | |
parent | 9451e9a6ad3b95fd6c9c6ad1de92905c86143293 (diff) |
Remove dead -tofront processing
aArguments must adhere to a certain grammar, and if it doesn't (which would be
the case if it started with "-tofront"), then the Parser ctor would have thrown
an exception and we wouldn't reach this code anyway. Looks like a remnant from
Sun webtop times, got originally introduced with
c9d844f62c388d463445097f1cc453535491e171 "INTEGRATION: CWS cl03: #109140# -start
-> -show", but there appears to be no other mentions of -tofront across the LO
code base.
Change-Id: I5097bf38753f6cc9184a934da81342b3ccf330b4
-rw-r--r-- | desktop/source/app/officeipcthread.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx index 2df44615490c..891f021ab41e 100644 --- a/desktop/source/app/officeipcthread.cxx +++ b/desktop/source/app/officeipcthread.cxx @@ -859,8 +859,7 @@ void PipeReaderThread::execute() delete pRequest; pRequest = nullptr; } - if (aArguments.equalsL(RTL_CONSTASCII_STRINGPARAM("-tofront")) || - aCmdLineArgs->IsEmpty()) + if (aCmdLineArgs->IsEmpty()) { // no document was sent, just bring Office to front ApplicationEvent* pAppEvent = |