summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-10 09:06:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-10 09:08:15 +0200
commit0cfed166261968068abbed485ceffd67ca5cbf61 (patch)
treeaf31e87443bd75908d42a480cfdaf7494aece09b
parent75b15044a9af0f3bd08a204422b088fd1e9f5ad9 (diff)
fdo#42470: Do not show backing window on --nodefault
Change-Id: Id265dc84de454568ea8194703687c68449e9a32b
-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 84f60b8eef55..eaa8bbb00081 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -3118,6 +3118,10 @@ void Desktop::DoFirstRunInitializations()
void Desktop::ShowBackingComponent(Desktop * progress)
{
+ if (GetCommandLineArgs().IsNoDefault())
+ {
+ return;
+ }
Reference< XMultiServiceFactory > xSMgr(
comphelper::getProcessServiceFactory(), UNO_SET_THROW);
Reference< XFrame > xDesktopFrame(