summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-12-21 11:09:51 +0200
committerNoel Grandin <noel@peralex.com>2012-12-21 11:09:51 +0200
commit40e526e497cb449441149062f9cec4e6f823732c (patch)
tree47b032b22a22d4889739fc692d95975bc4846f33 /extensions
parentfdo#46808, Convert frame::Desktop to new style service. (diff)
downloadcore-40e526e497cb449441149062f9cec4e6f823732c.tar.gz
core-40e526e497cb449441149062f9cec4e6f823732c.zip
Fixes for my UNO commits
- fix missing SAL_CALL annotations - fix missing namespace usage Change-Id: I8fa462bcbeaad63ad6a73cba68236b74bbe97e70
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/check/updatecheck.cxx2
-rw-r--r--extensions/source/update/check/updatecheckjob.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index 3deb8461980f..540b98ee8045 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -724,7 +724,7 @@ ShutdownThread::run()
xQuickStarter->setFastPropertyValue(0, uno::makeAny(false));
// Shutdown the office
- uno::Reference< frame::XDesktop2 > xDesktop = Desktop::create(m_xContext);
+ uno::Reference< frame::XDesktop2 > xDesktop = frame::Desktop::create(m_xContext);
xDesktop->terminate();
}
diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx
index 62913cfd467c..1d33c7be2b6e 100644
--- a/extensions/source/update/check/updatecheckjob.cxx
+++ b/extensions/source/update/check/updatecheckjob.cxx
@@ -152,7 +152,7 @@ void InitUpdateCheckJobThread::setTerminating() {
UpdateCheckJob::UpdateCheckJob( const uno::Reference<uno::XComponentContext>& xContext ) :
m_xContext(xContext)
{
- m_xDesktop.set( Desktop::create(xContext) );
+ m_xDesktop.set( frame::Desktop::create(xContext) );
m_xDesktop->addTerminateListener( this );
}