summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-10 09:06:08 +0200
committerMichael Stahl <mstahl@redhat.com>2012-08-10 13:26:00 +0200
commit298b8c500a143211d122046075254c621571e7c8 (patch)
treef59f70c5252e1fbd20442f94446f1579429c17f0 /desktop
parentfdcd1655b1648f078289c5ac8a1c075c71e6e6df (diff)
fdo#42470: Do not show backing window on --nodefault
Change-Id: Id265dc84de454568ea8194703687c68449e9a32b (cherry picked from commit 0cfed166261968068abbed485ceffd67ca5cbf61) Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 66e809b2bdf3..263ca3ffe636 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -2988,6 +2988,10 @@ void Desktop::DoFirstRunInitializations()
void Desktop::ShowBackingComponent(Desktop * progress)
{
+ if (GetCommandLineArgs().IsNoDefault())
+ {
+ return;
+ }
Reference< XMultiServiceFactory > xSMgr(
comphelper::getProcessServiceFactory(), UNO_SET_THROW);
Reference< XFrame > xDesktopFrame(