Commit graph

299705 commits

Author SHA1 Message Date
Norbert Thiebaud
a56cf22161 try to solve tml_'s detected dependencies issue with salcpprt 2012-01-16 17:11:05 -06:00
Caolán McNamara
d3253a0efd remove unimplemented methods from headers 2012-01-16 22:46:58 +00:00
Alexander Bergmann
0d7e73ac44 Removing unused code 2012-01-16 22:46:57 +00:00
Caolán McNamara
c5e155523a typo 2012-01-16 22:46:57 +00:00
Tor Lillqvist
fe24578f5a Fix typo 2012-01-16 23:57:45 +02:00
Tor Lillqvist
38a09a9e3a Env.Build.sh should source config_build.mk 2012-01-16 23:57:43 +02:00
Tor Lillqvist
322085e0ea There is no desktop/scripts/soffice.sh.in any more 2012-01-16 23:57:42 +02:00
Michael Meeks
16d1489980 android: LuceneHelpWrapper not built here. 2012-01-16 21:16:37 +00:00
Olivier Hallot
de8c830947 fix mistake in merging tools/source/rc/resmgr.cxx
fix mistake in merging tools/source/rc/resmgr.cxx
2012-01-16 19:10:45 -02:00
Olivier Hallot
81e50fb2e3 Fix for fdo43460 Part XXXIX getLength() to isEmpty()
Part XXXIX
Modules
testtools, toolkit, tools
2012-01-16 18:49:04 -02:00
Stephan Bergmann
69d9130054 WaE signed/unsigned comparison. 2012-01-16 21:42:09 +01:00
Julien Nabet
9dfa70c22d Fix "Same expression on both sides of '||'" 2012-01-16 20:46:49 +01:00
Thorsten Behrens
a3849747a3 Fix configurable branding.
Bin the submakefile, use direct Zip cp calls. This also fixes
the non-working deps towards default_images.
2012-01-16 19:12:56 +01:00
Kenneth Aafløy
09a2565977 Add import of docvariable fields from word documents
Hi,

Attached is a patch that adds support for importing docvariable fields
from microsoft word documents. The variables themselves are already
converted correctly, so this patch only ties the field to the existing
custom document information.

Please consider this patch for inclusion.

I declare that this and my further patches are under LGPLv3+ / MPL license.

With Regards,
Kenneth Aafløy
2012-01-16 18:58:28 +01:00
August Sodora
2070d9a298 SV_DECL_PTRARR_DEL->std::vector 2012-01-16 12:36:43 -05:00
Korrawit Pruegsanusak
a9ebfbc2b6 Use platform-independent ::rtl::math::round to fix msvc build 2012-01-17 00:18:08 +07:00
Caolán McNamara
ef0ee083e6 fix build error 2012-01-16 17:00:05 +00:00
August Sodora
9a2859df2d Remove invalid friend declaration 2012-01-16 11:37:35 -05:00
August Sodora
ad5bc7a1ec String->OUString 2012-01-16 11:37:34 -05:00
August Sodora
0ced88ad44 Remove unused enum SbLanguageMode 2012-01-16 11:37:34 -05:00
August Sodora
2a3d61a0be Remove unused enum SbTextType 2012-01-16 11:37:34 -05:00
August Sodora
a29901ae32 Remove unused struct SbTextPortion 2012-01-16 11:37:34 -05:00
August Sodora
64c8a11cc5 Remove unnecessary using declaration 2012-01-16 11:37:33 -05:00
Mariusz Dykierek
d2d730f657 Removed FormatterBase::SetFieldText 2012-01-16 16:21:24 +00:00
Da'angh Khagaroth
2955fc0c3e DateAcceptancePattern and PartitiveMonths for Czech language 2012-01-16 17:14:21 +01:00
Cheng-Chia Tseng
969abdc19a Resolves: fdo#43984 Update VCL.xcu for Chinese (Traditional) language 2012-01-16 15:40:54 +00:00
Caolán McNamara
94a8737a54 drop strange embedded null handling behaviour 2012-01-16 15:40:53 +00:00
Stephan Bergmann
e770d53000 Fix #ifdef SAL_LOG_INFO region. 2012-01-16 16:01:25 +01:00
Stephan Bergmann
1ef1781390 Revert RescheduleDuringAcquire, it leads to code being run w/o solar mutex.
6a8fd4c76a claims that RescheduleDuringAcquire is
necessary to prevent deadlocks, but fails to explain what those deadlocks look
like (and the cited HH internal issue 163542 is not available for inspection).
It does lead to code erroneously being called with unlocked solar mutex, leading
to crashes like

Thread 1:
 0  in com::sun::uno::BaseReference::is at solver/unxlngx6/inc/com/sun/star/uno/Reference.h:103
 1  in sdr::contact::ControlHolder::is at svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx:204
 2  in sdr::contact::ViewObjectContactOfUnoControl_Impl::hasControl at svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx:642
 3  in sdr::contact::ViewObjectContactOfUnoControl::isPrimitiveVisible at svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx:1815
 4  in sdr::contact::ViewObjectContact::getPrimitive2DSequenceHierarchy at svx/source/sdr/contact/viewobjectcontact.cxx:396
 5  in sdr::contact::ViewObjectContact::getPrimitive2DSequenceSubHierarchy at svx/source/sdr/contact/viewobjectcontact.cxx:428
 6  in sdr::contact::ViewObjectContactOfPageHierarchy::getPrimitive2DSequenceHierarchy at svx/source/sdr/contact/viewobjectcontactofsdrpage.cxx:450
 7  in sdr::contact::ViewObjectContact::getPrimitive2DSequenceSubHierarchy at svx/source/sdr/contact/viewobjectcontact.cxx:428
 8  in sdr::contact::ViewObjectContactOfSdrPage::getPrimitive2DSequenceHierarchy at svx/source/sdr/contact/viewobjectcontactofsdrpage.cxx:699
 9  in sdr::contact::ObjectContactOfPageView::DoProcessDisplay at svx/source/sdr/contact/objectcontactofpageview.cxx:248
 10 in sdr::contact::ObjectContactOfPageView::ProcessDisplay at svx/source/sdr/contact/objectcontactofpageview.cxx:132
 11 in SdrPageWindow::RedrawLayer at svx/source/svdraw/sdrpagewindow.cxx:391
 12 in SdrPageView::DrawLayer at svx/source/svdraw/svdpagv.cxx:398
 13 in SwViewImp::PaintLayer at sw/source/core/view/vdraw.cxx:148
 14 in SwRootFrm::Paint at sw/source/core/layout/paintfrm.cxx:2976
 15 in ViewShell::Paint at sw/source/core/view/viewsh.cxx:1678
 16 in SwCrsrShell::Paint at sw/source/core/crsr/crsrsh.cxx:1165
 17 in SwEditWin::Paint at sw/source/ui/docvw/edtwin2.cxx:535
 18 in Window::ImplCallPaint at vcl/source/window/window.cxx:2417
 19 in Window::ImplCallPaint at vcl/source/window/window.cxx:2441
 20 in Window::ImplCallPaint at vcl/source/window/window.cxx:2441
 21 in Window::ImplCallPaint at vcl/source/window/window.cxx:2441
 22 in Window::ImplCallPaint at vcl/source/window/window.cxx:2441
 23 in Window::ImplCallPaint at vcl/source/window/window.cxx:2441
 24 in Window::ImplCallPaint at vcl/source/window/window.cxx:2441
 25 in Window::ImplCallOverlapPaint at vcl/source/window/window.cxx:2477
 26 in Window::ImplHandlePaintHdl at vcl/source/window/window.cxx:2497
 27 in Window::LinkStubImplHandlePaintHdl at vcl/source/window/window.cxx:2491
 28 in Link::Call at solver/unxlngx6/inc/tools/link.hxx:140
 29 in Timer::Timeout at vcl/source/app/timer.cxx:256
 30 in Timer::ImplTimerCallbackProc at vcl/source/app/timer.cxx:144
 31 in SalTimer::CallCallback at vcl/inc/saltimer.hxx:66
 32 in SvpSalInstance::CheckTimeout at vcl/headless/svpinst.cxx:199
 33 in SvpSalInstance::Yield at vcl/headless/svpinst.cxx:310
 34 in ImplYield at vcl/source/app/svapp.cxx:455
 35 in Application::Reschedule at vcl/source/app/svapp.cxx:482
 36 in SolarMutexReleaser::~SolarMutexReleaser at solver/unxlngx6/inc/vcl/svapp.hxx:551
 37 in VCLXWindowImpl::OnProcessCallbacks at toolkit/source/awt/vclxwindow.cxx:320
 38 in VCLXWindowImpl::LinkStubOnProcessCallbacks at toolkit/source/awt/vclxwindow.cxx:291
 39 in Link::Call at solver/unxlngx6/inc/tools/link.hxx:140
 40 in ImplHandleUserEvent at vcl/source/window/winproc.cxx:1999
 41 in ImplWindowFrameProc at vcl/source/window/winproc.cxx:2571
 42 in SalFrame::CallCallback at vcl/inc/salframe.hxx:294
 43 in SvpSalInstance::Yield at vcl/headless/svpinst.cxx:299
 44 in ImplYield at vcl/source/app/svapp.cxx:455
 45 in Application::Yield at vcl/source/app/svapp.cxx:489
 46 in Application::Execute at vcl/source/app/svapp.cxx:432
 47 in desktop::Desktop::Main at desktop/source/app/app.cxx:1824
 48 in ImplSVMain at vcl/source/app/svmain.cxx:178
 49 in SVMain at vcl/source/app/svmain.cxx:215
 50 in soffice_main at desktop/source/app/sofficemain.cxx:67
 51 in sal_main at desktop/source/app/main.c:34
 52 in main at desktop/source/app/main.c:33

Thread 2:
 0  __lll_unlock_wake at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:373
 1  in _L_unlock_657 from /lib64/libpthread-2.12.so
 2  in __pthread_mutex_unlock_usercnt at pthread_mutex_unlock.c:52
 3  __pthread_mutex_unlock at pthread_mutex_unlock.c:290
 4  in osl_releaseMutex at sal/osl/unx/mutex.c:179
 5  in vcl::SolarMutexObject::release at vcl/source/app/solarmutex.cxx:54
 6  in SalYieldMutex::release at vcl/generic/app/geninst.cxx:73
 7  in SolarMutexGuard::~SolarMutexGuard at solver/unxlngx6/inc/vcl/svapp.hxx:436
 8  in SfxBaseModel::close at sfx2/source/doc/sfxbasemodel.cxx:1500
 9  in SwXTextDocument::close at sw/source/ui/uno/unotxdoc.cxx:574
 10 in callVirtualMethod at bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx:155
 11 in cpp_call at bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx:392
 12 in bridges::cpp_uno::shared::unoInterfaceProxyDispatch at bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx:586
 13 in binaryurp::IncomingRequest::execute_throw at binaryurp/source/incomingrequest.cxx:263
 14 in binaryurp::IncomingRequest::execute at binaryurp/source/incomingrequest.cxx:89
 15 in binaryurp::(anonymous namespace)::request at binaryurp/source/reader.cxx:107
 16 in cppu_threadpool::JobQueue::enter at cppu/source/threadpool/jobqueue.cxx:121
 17 in cppu_threadpool::ORequestThread::run at cppu/source/threadpool/thread.cxx:222
 18 in cppu_requestThreadWorker at cppu/source/threadpool/thread.cxx:57
 19 in osl_thread_start_Impl at sal/osl/unx/thread.c:292
 20 in start_thread at pthread_create.c:301
 21 in clone at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Looks best to remove that strange feature again and, if deadlocks should
resurface, how to fix them cleanly.
2012-01-16 16:00:06 +01:00
Stephan Bergmann
973d92a2a2 Missing SolarMutexGuard. 2012-01-16 16:00:06 +01:00
Tor Lillqvist
081d76c3fa Attempt to manage without Berkeley DB on iOS and Android
Berkeley DB is used for help index and extension database. (Possibly
only for a backward-compatible format of the latter, I am not sure.)
Neither use makes much sense on Android and iOS.

The existing help is for LO on desktop OSes anyway, help for LO-based
apps on iOS and Android will naturally be quite different.

On iOS there will definitely be no "extensions", and probably we don't
want to bother with such on Android either.
2012-01-16 16:53:49 +02:00
Tor Lillqvist
6c1852c552 Do build Library_deployment also for non-desktop OSes
Whether anything in it will eventually be used in LO-based apps on
such OSes, no idea, but no harm building it.
2012-01-16 16:52:59 +02:00
Tor Lillqvist
38bb165728 Include soffice.bin but exclude Executable_unopkg.bin for non-desktop OSes
Not that I know if soffice.bin as it currently is will make sense on
Android or iOS eventually, but just for experimentation...

Don't bother with Library_unopkgapp for non-desktop OSes as we don't
build Executable_unopkg.bin for them either.
2012-01-16 16:52:57 +02:00
Tor Lillqvist
08651bcc73 Try without xmlhelp on non-desktop OSes 2012-01-16 16:52:55 +02:00
Tor Lillqvist
ee0a5a04fe There is nothing to build in xmlhelp/inc 2012-01-16 16:49:38 +02:00
Radek Doulik
229b0cc002 handle [more] placeholder shapes in Layout slides
- import them as outliner shapes, so that they don't appear on regular slides
 - choose appropriate placeholder shapes on regular slides (Table, Picture, Chart, Media)
2012-01-16 15:41:26 +01:00
David Tardon
cf23f57ae6 sort out dep problem with yacc-generated header (fdo#44707) 2012-01-16 14:59:27 +01:00
Stefan Knorr (astron)
75e3bffa10 Move form control icons into icon-themes
See also: commit 6639eb9c30
2012-01-16 14:36:11 +01:00
Stephan Bergmann
5ebd4bd13c Clang -Wunused-variable. 2012-01-16 13:56:43 +01:00
Stephan Bergmann
b6b22079f4 Clang -Wsign-compare. 2012-01-16 13:56:42 +01:00
Stephan Bergmann
2091a7fe87 Clang -Wunused-variable. 2012-01-16 13:56:42 +01:00
Stephan Bergmann
5a410d2e5a Clang -Wunneeded-internal-declaration. 2012-01-16 13:56:41 +01:00
Stephan Bergmann
9892e4c8d9 Clang -Wunused-variable. 2012-01-16 13:56:40 +01:00
Thomas Arnhold
6cef39508e Add SOLARIS checks for SalDisplay::IsLocal()
This method is (only) used at SalDisplay::GetKeyboardName() for SOLARIS
2012-01-16 12:55:29 +01:00
Thomas Arnhold
d799ac1320 Revert "Remove unused SalDisplay::IsLocal"
This reverts commit e9202ffecc.

Conflicts:

	vcl/inc/unx/saldisp.hxx
2012-01-16 12:55:29 +01:00
Marcel Metz
a18123fb97 Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:33 +01:00
Marcel Metz
268050960a Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:31 +01:00
Marcel Metz
ae71f5b411 Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:30 +01:00
Marcel Metz
157d414977 Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:29 +01:00
David Tardon
aad000dcef drop unneeded cast 2012-01-16 12:49:50 +01:00