summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-21re-work to test the effect of boost elision.Michael Meeks
Change-Id: Idef032c08c097e04fcf0cae3d184ceb660b65949
2012-06-21Fix X Session Management supportStephan Bergmann
...passing -session= into soffice was no longer supported. The way I tested this with Gnome 3.4 (Fedora 17) is with: * Run gnome-session-properties to select "Options - Automatically remember running applications when logging out" * Create ~/.local/share/applications/lodev.desktop: [Desktop Entry] Exec=.../core/solver/unxlngx6/installation/opt/program/soffice Icon=libreoffice-startcenter Name=LOdev Type=Application * Run "startx /usr/bin/gnome-session -- /usr/bin/Xephyr :1" Change-Id: Id8a6e431e4c355caafa6c7111a435ebc0d35f78a
2012-06-21make sure we don't export shapes with negative size (fixes n#760997)Radek Doulik
Change-Id: Id77cbfaa287d15c4af9a91976f3b091e68229223
2012-06-21fdo#49919 Don't default to desktop pollutionAndras Timar
Change-Id: I4b9fda0f81d43cab80a015a2eb7374a94f3da7de
2012-06-21hrc cleanup: Remove unused definesThomas Arnhold
All of those defines (should) not be used at any point in the code. False positives may exist, because some macro names are getting generated by some template/macro foo. This is the version which compiled fine for me. Also there are many commented out lines removed. Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-21Remove unused dbexch.hrcThomas Arnhold
The only part where one definition was used was commented out. All other definitions in the hrc file were unused. Change-Id: I257e61b96271685e9321211846a0021059924abe
2012-06-21fdo#34093: fix error in calculation of page number of SwRectIvan Timofeev
StringRangeEnumerator (i.e. user's input) contains page numbers in a different page range (it excludes empty pages). So: - first map page numbers to a common range, then compare - user's input can't contain empty pages, remove this check Change-Id: I4fce5215272fc90f39c9e05d3f3604734a8aebe3
2012-06-21convert array to std::vectorIvan Timofeev
Change-Id: I5e5bcebeb804256d0ad8cf6afafc392b2853b88f
2012-06-21no need to be a class memberIvan Timofeev
Change-Id: I230e8972340b409c6da70a4c988ac1d531a9f3b5
2012-06-21remove misterious NextToolbox functionalityIvan Timofeev
Change-Id: Ic64d2cae56787884ff107b78c3b6567ab5d38785
2012-06-21so many code to just add a minimal border in the galleryIvan Timofeev
Change-Id: Id7349d1ff6547afe0f46404340b20132b97ce854
2012-06-21fdo#51270 fix RemoveExtensions custom actionAndras Timar
FINDPRODUCT property was not available to this deferred custom action. Not to mention that registry keys are also deleted at his stage of uninstallation. The proper solution is to set the installation directory with a type 51 custom action, and pass it to RemoveExtensions custom action via CustomActionData property. Change-Id: I0ac18b3a0b19ff1a87bcf580fad9c7fdadb26f76
2012-06-21fix problems in 1015cd4ff73ee25e55b4da8c8bc55a41e652da87:Michael Stahl
- inverted check in SwDoc::RemoveInvisibleContent - various too short end positions in DeleteAndDestroy calls in SwDoc::~SwDoc and SwDoc::ClearDoc - std::copy to begin() of empty vector in SwReader::Read replaced with std::back_inserter; the vector is used as a set here so the end position should work just as well Change-Id: Ib2ddd788fade4ee1a8beb702d5321c503985fba4
2012-06-20don't link CppunitTest_sw_swdoc_test against swMichael Stahl
This test uses gb_CppunitTest_use_library_objects, and MSVC won't link it now. Seems this was added in 1015cd4ff73ee25e55b4da8c8bc55a41e652da87, but why? Change-Id: I206132cf2b0c4075334ee7a692a12c54da9ac953
2012-06-20gah :/ some cleanup for 7fff9872 that I applied to wrong source tree.Noel Power
Change-Id: I91d84a7a8d8f18883798541e6a171ea91f135edb
2012-06-20big formula performance improvement for xlsx import (bnc#763168 & bnc#765942)Noel Power
we get a large performance win by evaluating the formulas at the end of import where we can set up the ScAutoNameCache cache. Change-Id: Id3763afb805eb9bfa9a6a55e1de3923f02e621ae
2012-06-20move ScNamedEntryArr_Impl out of header to make MSVC happyMichael Stahl
Change-Id: Ia521752c4c71cc7df2bb7fc4659fcf6ec528e5bc
2012-06-20adapt DBG_UTIL code to previous commitMichael Stahl
Change-Id: I021b4d70a02de7a66e0af82a859ae89e1a7d1231
2012-06-20Convert SV_DECL_PTRARR_DEL(SwTableLines) to std::vectorNoel Grandin
Along the way, simplify a lot of the ForEach callback methods. Change-Id: I54bc87c1060f1d73470ca8b7fd645ffa23059606
2012-06-20Convert SV_DECL_PTRARR(SwTOXMarks) to std::vectorNoel Grandin
Change-Id: Idffc8a90fcd4ada856339fc0be3e4a11478db6cc
2012-06-20Convert SV_DECL_PTRARR(SwSttNdPtrs) to std::vectorNoel Grandin
Change-Id: If85e2bc65a99e4854d92454b3bfd40e436df2aa1
2012-06-20Convert SV_DECL_PTRARR(SfxObjectShellArr_Impl) to std::vectorNoel Grandin
Change-Id: I9f26d380526c63a8b86b42a5b0b74a7cfff71249
2012-06-20Convert SV_DECL_PTRARR(SfxViewFrameArr_Impl) to std::vectorNoel Grandin
Change-Id: I3b6f41b97d1fc375985465ea9e5c0cca9e05ba10
2012-06-20Convert SV_DECL_PTRARR(SfxViewShellArr_Impl) to std::vectorNoel Grandin
Change-Id: I91c33be902e20f72623c3d9642057db5eb6e30ba
2012-06-20Convert SV_DECL_PTRARR_DEL(SfxTbxCtrlFactArr_Impl) to std::vectorNoel Grandin
Change-Id: I2e80e17ed79e156bcfe379ddc5b11fd2cb2804d2
2012-06-20Convert SV_DECL_PTRARR_DEL(SfxStbCtrlFactArr_Impl) to std::vectorNoel Grandin
Change-Id: Id2f35eba75628ed1bc1080e9671378e461e84233
2012-06-20Convert SV_DECL_PTRARR_DEL(SfxMenuCtrlFactArr_Impl) to std::vectorNoel Grandin
Change-Id: I65b6f6e1f615c8f6e778b10945c60a28875d88ba
2012-06-20Convert SV_DECL_PTRARR(SfxModuleArr_Impl) to std::vectorNoel Grandin
Change-Id: I905d17fbbda11199065237b396c52bacc481e414
2012-06-20Convert SV_DECL_PTRARR_DEL( SfxChildWinFactArr_Impl) to std::vectorNoel Grandin
I couldn't use ptr_vector because some of the code deletes entries without deallocating them. Change-Id: Iafbb19dc8ca9f8337169e116d47dcf0ccf78ed0e
2012-06-20Remove dead DECL_PTRARRAY(SfxFilterArr_Impl) declaration and memberNoel Grandin
Change-Id: I49cefb7e4b8df0f9b95b7a3ef2beaf2d8c0c98e7
2012-06-20Convert SV_DECL_PTRARR(SfxFrameArr_Impl) to std::vectorNoel Grandin
Change-Id: I29d7b6f55f227f11abbf7e41fba3ffd7af85f268
2012-06-20Convert SV_DECL_PTRARR(SfxUnoControllerArr_Impl) to std::vectorNoel Grandin
Change-Id: I15f7449c8bf0b1d93c7185687d833136d6fbc26f
2012-06-20Convert SV_DECL_PTRARR_DEL(ScNamedEntryArr_Impl) to boost::ptr_vectorNoel Grandin
Change-Id: I92492e051d859537b140ccebe279e09ba4eed566
2012-06-20Convert SV_DECL_PTRARR_DEL(BibToolBarListenerArr) to boost::ptr_vectorNoel Grandin
Change-Id: I851a3ef2bda7f427f6562ed946c7889c97ad83a0
2012-06-20Convert SV_DECL_PTRARR_DEL(BibStatusDispatchArr) to boost::ptr_vectorNoel Grandin
Change-Id: I3a09158ee1d864d3185b015d344391a60a926b65
2012-06-20Convert SV_DECL_PTRARR_DEL(MappingArray) to boost::ptr_vectorNoel Grandin
Change-Id: I12762582ccf871828e27900f643fcbe4b59dbbf3
2012-06-20Convert SV_DECL_PTRARR_DEL(XResultListenerArr_Impl) to ptr_vectorNoel Grandin
Change-Id: Id557b0116ec2574ef3e11a0664fb408ecc850e6e
2012-06-20Adapt DBG_UTIL code to 1015cd4ff73ee25e55b4da8c8bc55a41e652da87Stephan Bergmann
Change-Id: I196f7a6211a3c11d976a95d592af4205476fe81f
2012-06-20Show backing window instead of empty writer upon an "empty session"Stephan Bergmann
...(i.e., after logging out of a session with soffice still running, but only with the backing window still open). The key issue was that bSessionDataExists would always be true if /org.openoffice.Office.Recovery/RecoveryInfo/SessionData is true, even if /org.openoffice.Office.Recovery/RecoveryList is empty. Always calling doRestore (unless bExistsRecoveryData, but even if !bExistsSessionData) is there to ensure that /org.openoffice.Office.Recovery/RecoveryInfo/SessionData is eventually reset (whether or not that is really necessary). Change-Id: I9c3fff23f8019069f36e1dd5ded634ea1917bbd4
2012-06-20Clarify SIGHUP behaviorStephan Bergmann
The combination of marking it as ACT_IGNORE and osl_Signal_Terminate was strange, as osl_Signal_Terminate caused SalMainPipeExchangeSignal_impl (desktop/source/app/officeipcthread.cxx) to call DisableOfficeIPCThread, but ACT_IGNORE (instead of ACT_EXIT, like other signals marked osl_Signal_Terminate) caused the process to continue running. The net effect was that calling an additional soffice instance after a SIGHUP would no longer connect to the first instance, but instead would lead to two soffice instances running simultaneously on the same UserInstallation. Marking SIGHUP as ACT_HIDE most closely resembles the old behavior (of having ~no effect). Other options would be to mark it as ACT_IGNORE and osl_Signal_System or as ACT_EXIT and osl_Signal_Terminate, which would both result in instant termination. I do not know if that wouldn't actually be better. Change-Id: Id1ee7c1108765301e6010e0e05d6c1ff5894a414
2012-06-21removed useless InsertFunctions.hxxTakeshi Abe
Change-Id: If3a6dcd2216cbac63b43fb393af37206e8730a20
2012-06-20Convert SV_DECL_PTRARR_DEL of Sw*Fmts to std::vectorNoel Grandin
- I had to convert SwFrmFmts, SwSpzFrmFmts, SwCharFmts, SwSectionsFmts, SwTextFormatColl, SwGrfFmtColl all together because of the code that wants to work with any of them. - Introduce a pure virtual base class SwFmtsBase, since there are a handful of methods that want to work with any of the std::vector<Sw*Fmt> types. - the class SwSpzFrmFmts was dropped, and the code changed to use SwFrmFmts instead, since the 2 types are identical. Change-Id: I8c4056b5aedd574a33666e2d649a8b849958441c Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-06-20Translate German comments, fix some wsPhilipp Weissenbacher
Change-Id: Ic8f3885965a46cc7cea891472f7d902254004543
2012-06-20oox: mso-wrap-style is about wrapping mode for text in shapesMiklos Vajna
This commit partially reverts 9e8957de203bb9abb208516ad32aee9527feb67b (as it interpreted mso-wrap-style as the wrap type of the textbox itself, not the wrap type of the contained text) and also extends the effect of commit 0016757efef898205452a586ba5927e5d11fdabe to the SimpleShape class as well. Change-Id: If2bded6ad94f2866e8ea398ff0f2792e8c8e86b0
2012-06-20Remove some useless memset(0)Christophe Christophe Marion
2012-06-20adapt callers of getCurrFormatsImpl() to changesEike Rathke
06e2005ed83567452783003e3113ad6a92190c2d changed String to OUString and initialized some variables with -1 instead of STRING_NOTFOUND, which was unsigned 0xffff so var1<var2 was true if var1 had a value other than default and var2 was default. After the change the comparison had logic reversed and the result was a default negative currency format with parentheses for all locales. Change-Id: I3fe49fed7c1047618dc653fce992eb01582c398d
2012-06-20Avoid deadlock when signal handler joins threadStephan Bergmann
...as the signal can potentially be delivered to the to-be-joined thread. (It is unclear to me whether the SalMainPipeExchangeSingal_impl handler is really needed anyway, as there are various other places that should ensure that DisableOfficeIPCThread is called during shutdown. At least in theory, no longer joining here can cause the thread to incur crashes etc. when it it still running during shutdown.) Change-Id: I677a2e31e1a58d2b8d91634c2eb5274d63ac15f4
2012-06-20Work around false valgrind warning about optimized strlen implementationStephan Bergmann
...that reads in word sized chunks and thus can read past the nominal end of a memory buffer. Also, the return type of rtl_str_getLength (sal_Int32) fits better with the type of SmPropValue.length (int) than the return type of strlen (size_t). Change-Id: I7ff91408b4c6d8c9913cede516586f42b8349ed3
2012-06-20pOldStyleSaveFrame is never set anywayStephan Bergmann
...so rip out all the corresponding, apparently obsolete, functionality. Change-Id: Ie1ca3fcf7f729464e4c11070caafc90a34da2d68
2012-06-20Move IceSalSession declaration to sm.cxxStephan Bergmann
Change-Id: I532e27b873e011aacebc1dd405de6d2e182ca3d4