[Libreoffice-commits] core.git: Branch 'feature/droid_calcimpress' - 2 commits - desktop/source svx/source
Andrzej Hunt
andrzej.hunt at collabora.com
Fri Sep 26 01:12:25 PDT 2014
desktop/source/lib/init.cxx | 7 +++++++
svx/source/sdr/contact/objectcontactofpageview.cxx | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
New commits:
commit 4686ac905a7bdc80df6bd6ce87ebefc48d735bb5
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Fri Sep 26 09:12:56 2014 +0100
Add more lok debug output.
This should allow as at least to see if soffice_main thread
initialisation gets stuck (which we'd otherwise have a hard time
determining if we are trying to debug e.g. on Android).
Change-Id: I0baa211c015318c4e0fcf78a4e86a0ba8b895d5f
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 89c8168..9613514 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -700,9 +700,12 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath)
// to LOK in an external program).
if (!osl_areCommandArgsSet())
{
+ SAL_INFO("lok", "commandArgs not previously set");
osl_setCommandArgs(2, pArgs);
}
+ SAL_INFO("lok", "attempting to initalize UNO");
initialize_uno(aAppURL);
+ SAL_INFO("lok", "uno successfully initalized");
force_c_locale();
// Force headless -- this is only for bitmap rendering.
@@ -724,9 +727,13 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath)
// the Thread from wherever (it's done again in Desktop::Main), and can
// then use it to wait until we're definitely ready to continue.
+ SAL_INFO("lok", "enabling OfficeIPCThread");
OfficeIPCThread::EnableOfficeIPCThread();
+ SAL_INFO("lok", "starting soffice_main");
pthread_create(&(pLib->maThread), 0, lo_startmain, NULL);
+ SAL_INFO("lok", "waiting for OfficeIPCThread");
OfficeIPCThread::WaitForReady();
+ SAL_INFO("lok", "OfficeIPCThread ready -- continuing");
// If the Thread has been disabled again that indicates that a
// restart is required (or in any case we don't have a useable
commit ff9dadd3531b77bf808fef49b58be53e713091e0
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Fri Sep 26 09:11:53 2014 +0100
Don't use this quick hack on Android.
It *seems* to cause missing areas (at least in Impress).
(i.e. the bottom half or right side of headers on slides can sometimes
go missing, not using this hack fixes the problem for me).
Change-Id: I205531666e0ad12470020e5ff2568ebf16bc2f01
diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx
index 8894d99..848c618 100644
--- a/svx/source/sdr/contact/objectcontactofpageview.cxx
+++ b/svx/source/sdr/contact/objectcontactofpageview.cxx
@@ -236,7 +236,7 @@ namespace sdr
updateViewInformation2D(aNewViewInformation2D);
drawinglayer::primitive2d::Primitive2DSequence xPrimitiveSequence;
-#if HAVE_FEATURE_DESKTOP
+#if defined( HAVE_FEATURE_DESKTOP ) || defined( ANDROID )
// get whole Primitive2DSequence; this will already make use of updated ViewInformation2D
// and may use the MapMode from the Target OutDev in the DisplayInfo
xPrimitiveSequence = rDrawPageVOContact.getPrimitive2DSequenceHierarchy(rDisplayInfo);
More information about the Libreoffice-commits
mailing list