summaryrefslogtreecommitdiff
path: root/sd/inc
AgeCommit message (Collapse)Author
2014-02-19coverity#738820 bAutoSave is unusedCaolán McNamara
Change-Id: I98fca5611e47a4368e4947d29e703e661bfeebaa
2014-02-18Stick to a single O[U]String hash functionStephan Bergmann
8f8bc0dcf3bc253ae49159d52db049767f476ced "Move string hash function into String class" had introduced a new getHash64 that, besides returning sal_uInt64 instead of just sal_Int32, didn't do sampling of only a handful of characters, but always computed the hash over all characters (as the usage in SfxItemSet and SdPage appears to require for either performance or approximated correctness). However, it would be advantageous to keep the stable URE interface as small as possible. Now, O(1) sampling was apparently considered state of the art when the rtl string classes were first created, closely copying java.lang.String, which at that time demanded sampling for hashCode(), too---but never sampling more than 15 characters, with the obvious (in hindsight, at least) performance catastrophes, so they changed it to O(n) somewhere along the way. Based on that, this commit changes the existing hash functions to not do sampling any more, and removes the newly introduced -64 variants again. (Where the extended value range of sal_uInt64 compared to sal_Int32 was hopefully not vital to the existing uses.) The old implementation used sampling only for strings of length >= 256, so I did a "make check" build with an instrumented hash function that flagged all uses with inputs of length >= 256, and grepped workdir/{Cppunit,Junit,Python}Test for hits. Of the 2849 hits encountered, 2845 where in the range from 256 to 295 characters, and only the remaining four where of 2472 characters. Those four were from CppunitTest_sc_subsequent_filters_test, importing long text into a cell, causing ScDocumentImport::setStringCell to call svl::SharedStringPool::intern, which internally uses an unordered_set. These results appear to justify the change. Change-Id: I78fcc3b0f07389bdf36a21701b95a1ff0a0d970f
2014-02-18callcatcher: update unused code listsCaolán McNamara
Change-Id: Ie975f8a970eec63b593933ebb2394db76d537c51
2014-02-17Resolves: #i42894# added support for <presentation:animations>...Armin Le Grand
at import and creation (cherry picked from commit 0f11a9d487744af6c50e9f1d547c22cd4bdeab48) Conflicts: sd/source/core/EffectMigration.cxx sd/source/ui/dlg/animobjs.cxx sd/source/ui/unoidl/unoobj.cxx Change-Id: Ib498bf718d40501cbab71a700342343df68a6ee9
2014-02-15fdo#63154 Remove unused solar.h reference in sd.Alexandre Vicenzi
Change-Id: I3dca2ffe3f94bedfea954bd83e84c724fb564ec9 Reviewed-on: https://gerrit.libreoffice.org/8063 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-13n#757432: Styles (rename &) copy to different decks.Muthu Subramanian
While copying slides to different slide decks, styles were not being copied if there is already one with the same name. This patch renames and copies those to keep the formatting intact. Change-Id: I66f71493f1fd658eed43e39aa7ae7ee7b5463b34
2014-02-11sal_Bool->boolNoel Grandin
Change-Id: I31fb9d5b49260fd1a8fc1312b01fd5632c97ab2e
2014-02-09Typo: I/internaly -> I/internallyJulien Nabet
Change-Id: Ic9056baf58698743492ab57a882341c730ef2f7a
2014-02-06Typo: cheking -> checkingJulien Nabet
Change-Id: I15c1c932a02fd1a1c27d2a655865171d5829bf0b
2014-01-28Introduce com.sun.star.frame.theUICommandDescription singleton.Matúš Kukan
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
2014-01-28Introduce com.sun.star.frame.theAutoRecovery singleton.Matúš Kukan
To replace com.sun.star.frame.AutoRecovery single-instance service, incorrectly converted in 279859fdbc40f68d8f1649fa5b928d9de49e8d9e Unfortunately needs a lot of changes in autorecovery.cxx. Change-Id: Iba5188dffea3e03803236f23e0b3f343746ace90
2014-01-21boradcast->broadcastCaolán McNamara
Change-Id: I96720843f815bf6d499eb424c3e4ff579c2bbe23
2014-01-10SfxPoolItem::operator ==, != should return boolStephan Bergmann
...and SfxEnumItemInterface::HasBoolValue, too. Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
2014-01-08Do not use SvxShapeCollection directly.Matúš Kukan
Change-Id: I1dd51df0e78a3cc89cdfcaec91ffd9a753393e2e
2013-12-12Missing includeStephan Bergmann
Change-Id: I7c8ffab5cef828980faf1bb8768dde9d79a0258b
2013-12-10n#753460: Copying slides having same master page name.Muthu Subramanian
Has part feature of getting hashes of SdPages. (Misses hashing text, images, etc).
2013-12-09GetBasic and m_pBasic are unusedCaolán McNamara
which is probably a good thing because it is zeroed in the copy ctor which looks rather dubious Change-Id: Ia082601982aaea5df92cf7aa9724cbe187716e0c
2013-12-06Clean up includes of comphelper/stl_types.hxxStephan Bergmann
Change-Id: I00a8e794189d17ad91a90beb9ce6cb89b7bab2aa
2013-12-06Get rid of unnecessary comphelper::UStringEqualStephan Bergmann
Change-Id: Ia8718e49f21ccec239b2769eafa6bef90e0e9e40
2013-12-03drop now unused helpidsCaolán McNamara
Change-Id: Ic72252c359e231cad4e3a28591883f6adde1bb79
2013-11-28Integrate branch of IAccessible2Steve Yin
Change-Id: Ibf3be46e8619c2dce9636e8a90a6703f3e28ba33
2013-11-15convert 500th dialog (vectorize) to .uiCaolán McNamara
Change-Id: Ib1a8716091a16eb970c9f218f4a8e496de72ff51
2013-11-15convert impress remote dialog to .uiCaolán McNamara
Change-Id: I4ed22a776720bd6de64d08767a03a746276acba4
2013-11-14convert insert slides dialog to .uiCaolán McNamara
Change-Id: I9dc8366d2e8bd2ab16ce11c9e69cbdbdca0ccae5
2013-11-14Move MediaDescriptor from comphelper to unotoolsStephan Bergmann
...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-13convert name html design to .uiCaolán McNamara
Change-Id: If384ab765e09a6600d3e9cb559ed58dccb6b18c1
2013-11-05update pchThomas Arnhold
Change-Id: I10f3dbd9513052b3bbe30ddc6523cd231f26ded3
2013-10-25sal_Bool to boolTakeshi Abe
Change-Id: I4fe71f0418b3c2c9b0ca261c5b24fe2d093f7bb9
2013-10-23fixincludeguards.sh: sdThomas Arnhold
Change-Id: Ic831838b377656015d645eec9d439424378e08af
2013-10-23clean up some include guardsThomas Arnhold
Conflicts: sw/source/ui/inc/content.hxx Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6 Reviewed-on: https://gerrit.libreoffice.org/6388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-21Once is enoughTakeshi Abe
Change-Id: I037a4f9fab0bcf7a613217e6be4c75dcdd05f231
2013-10-16cleanupThomas Arnhold
Change-Id: I7bfd221f89718ba8634417c93a26b3a199178694
2013-10-15Drop unused inline functionTakeshi Abe
Change-Id: I1b59a22cd461f9a6cfc371de4c3a1595c8d8f339
2013-10-15update pchThomas Arnhold
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
2013-10-14fdo#61950 De-extensionize presentation minimizerDavid Ostrovsky
Change-Id: I87805ceacf184d5aa5faae68e8bb932391ace7fb Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-11drop now unused CustomAnimationPane.src and friendsCaolán McNamara
Change-Id: Ida492cc72c7d5e26a220abf22c896cb45dee6130
2013-09-21drop various tools/string.hxx includeCaolán McNamara
Change-Id: If4271c97025a56922c4f0b143cc3af214218a153
2013-09-20Resolves: #i122470# Fixed programmatic triggered switching of sidebar decksAndre Fischer
(cherry picked from commit 7b26aba94e5544937f1e37e34915bcb276bc3c27) Conflicts: sd/sdi/sdraw.sdi sd/source/ui/framework/tools/FrameworkHelper.cxx sd/source/ui/inc/framework/FrameworkHelper.hxx sd/source/ui/view/ViewShellBase.cxx sd/source/ui/view/drviews6.cxx sfx2/Package_inc.mk sfx2/inc/sfx2/sidebar/Sidebar.hxx Change-Id: Ic6b518e734fe59a7b713e85e934487347b847c5a
2013-09-10This syntax is C++11 only.Kohei Yoshida
Change-Id: Ic14f5c0724b392f8864cca6661be8157c6358c1c
2013-09-10Parsing master presentation objects from 'objectlist.xml'Vishv Brahmbhatt
Parsing the property values of master presentation objects. Also new functions added to comphelper module for expanding filepaths macro to appropriate system file paths(for configuration files present at 'Impress.xcs') Change-Id: If0381a12155673e85103ddb5d51c34ae53fe2ecb
2013-09-08String to OUStringThomas Arnhold
Change-Id: I5ff57ede2217f1464571fb2beaa62a34425064ae Reviewed-on: https://gerrit.libreoffice.org/5826 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-06tweak custom widget to give an optimal sizeCaolán McNamara
+ move accessibility relations into the .ui now that we can + drop unused hids + rework the format/language positions to be less weird + add a custom widget stub to make easy to edit with glade Change-Id: I9607603536f9df2b7cac0074880089adad3b9860
2013-09-05update pchThomas Arnhold
Change-Id: I6d5e8d3fd69189935a3338fee19b60022f70a7eb
2013-09-05After .ui conversion, this param is not needed anymoreKatarina Behrens
Change-Id: Ifdf2204b0767e5ef7374aa2fef3d0fb906e53eb3
2013-09-02unused string resourceCaolán McNamara
Change-Id: Icea434caf7a5de1131bcba72b2133f8643428ecd
2013-09-01Remove pointless comments and ASCII artTor Lillqvist
Change-Id: I387d7b301643f359f2d6a4c5f51a4dd7f5e1c296
2013-08-29convert include/sfx2/linkmgr.hxx from String to OUStringNoel Grandin
along the way, de-virtual ScDocFunc::InsertAreaLink, since it only has one implementation. Change-Id: I3fc836f9954628f154e01b1c7ae8f90eb7600a76
2013-08-29convert includes/sfx2/lnkbase.hxx from String to OUStringNoel Grandin
Change-Id: I3816ec77dd334823100421dab90d4bc8b67542e3
2013-08-26sd: fix C++11ismMichael Stahl
Change-Id: Ia03d4794a8d1fc2967946866a0d2975e5e52d6bb
2013-08-26Some cleanup and consolidation of the Impress layout work.Thorsten Behrens
Also make unit test work again after Mac-app like path changes. Change-Id: I13eae20141650e1d1d826a794d1f19baaef5f561