summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-04-21 22:57:59 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-05-19 02:49:03 +0200
commit6e9eebba99505a24337c130b9df25def511aaa14 (patch)
treeae5916bf59c2fd6dc0078e1259182e028ae90247
parentnormalize path for updater (diff)
downloadcore-6e9eebba99505a24337c130b9df25def511aaa14.tar.gz
core-6e9eebba99505a24337c130b9df25def511aaa14.zip
either try to install an update or check for update
Change-Id: Id1e879598ef34715786e10e163ed1e4689f3137a
-rw-r--r--desktop/source/app/app.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index f664d6e969e5..388b45dfb943 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1490,8 +1490,7 @@ int Desktop::Main()
update();
}
}
-
- if (isTimeForUpdateCheck())
+ else if (isTimeForUpdateCheck())
{
sal_uInt64 nNow = tools::Time::GetSystemTicks();
std::shared_ptr< comphelper::ConfigurationChanges > batch(