[Libreoffice-commits] core.git: sd/source
Stephan Bergmann
sbergman at redhat.com
Wed Dec 10 06:19:45 PST 2014
sd/source/ui/app/sddll.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 59e2678499747ac29a3aed6d47362255b3cc57ef
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Dec 10 15:18:01 2014 +0100
Any reason to use IsHeadlessModeRequested here?
IsHeadlessModeEnabled should work just as well, given that
Desktop::RegisterServices (desktop/source/app/appinit.cxx) calls
EnableHeadlessMode if IsHeadless
Change-Id: I4ffd8e6e3a37a8929620418e97854106ea937c9f
diff --git a/sd/source/ui/app/sddll.cxx b/sd/source/ui/app/sddll.cxx
index 085f72f..e86735b 100644
--- a/sd/source/ui/app/sddll.cxx
+++ b/sd/source/ui/app/sddll.cxx
@@ -336,7 +336,7 @@ void SdDLL::Init()
// register your exotic remote controls here
#ifdef ENABLE_SDREMOTE
- if ( !Application::IsHeadlessModeRequested() )
+ if ( !Application::IsHeadlessModeEnabled() )
RegisterRemotes();
#endif
}
More information about the Libreoffice-commits
mailing list