summaryrefslogtreecommitdiff
path: root/framework/source/layoutmanager
AgeCommit message (Collapse)Author
2013-04-10Kill copy'n'paste.Jan Holesovsky
Change-Id: I5e5b80f8d8efe91df806bb7ae9750fd84009c6be
2013-04-09Kill not necessasy OUString member variables.Jan Holesovsky
Change-Id: I1bbfd19bc70fc12ac5dc5fdb18c556f4dc5300cb
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07Remove unused variablesTor Lillqvist
The LayoutManager for some reason has both a ToolbarLayoutManager pointer field, and a uno::Reference to an aspect (or whatever term one should use) of the same ToolbarLayoutManager. (I.e. esssentially two fields for the same thing. Why it doesn't create such variables where needed instead I don't know.) Anyway, for some reason there were lots of instances where a local variable was initialised with this second field but then never used. I removed those. (Surely just copying the field into a local variable doesn't have any interesting side effect that would explain this pattern?) Change-Id: Ibdfbd9476c39d3e83b58e81469b94d9a87444ca8
2013-04-04fdo#37758: Really set the toolbar as hidden.Jan Holesovsky
Change-Id: If0cdf2fabb680f8dee811411f601b2954d29da58
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-08RTL_CONSTASCII_USTRINGPARAM and ::rtl:: removalsKrisztian Pinter
Change-Id: Ief6418425676d6943993513c4d05c8d22e4740cf Reviewed-on: https://gerrit.libreoffice.org/2470 Tested-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-04doubled includesThomas Arnhold
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-02-23Fix typos retreive/retrieve furture/futureJulien Nabet
Change-Id: I639c2970b2a88ca3d5aa1dcd2ad4ec047b4a369c
2013-02-22s/the the/the/Tor Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-12-13fdo#46808, remove awt::DisplayAccess service.Noel Grandin
This service was never documented in an IDL file. All it did was provide a wrapper around some VCL module API. Now that we can link the VCL stuff into SD and SDEXT, just access the API directly. Change-Id: Ic0ba34c2bca797baa7319878d98cfe3a4ec59d4d
2012-12-13fdo#46808, Adapt ui::UIElementFactoryManager UNO service to new styleNoel Grandin
Required creating a new merged interface. Change-Id: I12be54e7e4c0614a31a04715342aa244d1687c42
2012-12-13fdo#46808, use service constructor for ui::WindowStateConfigurationNoel Grandin
Change-Id: I0b7f773a7db47049d7df4138d07e7fc38c657a65
2012-12-13fdo#46808, use service constructor for ui::Noel Grandin
::ModuleUIConfigurationManagerSupplier Change-Id: I06e8b3ef9b525da014a2bb7702587d360779aebc
2012-11-15re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by: Armin Le Grand. #118558# Correcting OLE attributes of LO3.4 at load time by loading as OOo3.3, details see task. http://svn.apache.org/viewvc?view=revision&revision=1195906 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles http://svn.apache.org/viewvc?view=revision&revision=1293316 #119337# Solves the wrong get/setPropertyValue calls in SvxShapeText (and thus in SvxOle2Shape) http://svn.apache.org/viewvc?view=revision&revision=1344156 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 cws mba34issues01: #i117717#: remove wrong assertion http://svn.apache.org/viewvc?view=revision&revision=1172349 Patch contributed by Herbert Duerr goodbye Registration and License dialogs, don't let the door hit you http://svn.apache.org/viewvc?view=revision&revision=1172613 help gcc 4.6.0 on 32bit ubuntu 11.10" http://svn.apache.org/viewvc?view=revision&revision=1245357 Do not add targets for junit tests when junit is disabled. Patch contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1241508 Revert "sb140: #i117082# avoid unncessary static class data members commit 21d97438e2944861e26e4984195f959a0cce1e41. remove obsolete FreeBSD visibility special case. retain consolidated BSD bridge code, remove OS/2 pieces.
2012-11-15Revert "sb140: #i116786# use auto_ptr to track member lifetime"Michael Meeks
This reverts commit 335f7fa8c2ef418df7010dd996a2a32bbbdff459. Conflicts: framework/source/layoutmanager/toolbarlayoutmanager.cxx
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin
...in favor of existing new-style configuration::theDefaultProvider singleton. Theoretically, ConfigurationProvider instances can be created with specific Locale and EnableAsync arguments, but this is hardly used in practice, and thus effectively all uses of the ConfigurationProvider service use the theDefaultProvider instance, anyway. theDefaultProvider is restricted to the XMultiServiceFactory interface, while ConfigurationProvider also makes available XComponent. However, dispose must not be called manually on theDefaultProvider singleton anyway, and calls to add-/removeEventListener are so few (and in dubious code that should better be cleaned up) that requiring an explicit queryInterface does not really hurt there. This commit originated as a patch by Noel Grandin to "Adapt configuration::ConfigurationProvider UNO service to new style [by creating] a merged XConfigurationProvider interface for this service to implement." It was then modified by Stephan Bergmann by deprecating ConfigurationProvider instead of adding XConfigurationProvider and by replacing calls to ConfigurationProvider::create with calls to theDefaultProvider::get. Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-24fdo#46808, use service constructor for frame::DispatchHelperNoel Grandin
2012-10-24fdo#46808, Adapt awt::Toolkit UNO service to new styleNoel Grandin
Create a merged XToolkit2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Also mark sub-interfaces as non-optional. Change-Id: I278d0288e92be277033013302267cf93f7d70480
2012-10-23fdo#46808, use service constructor for frame::ModuleManagerNoel Grandin
Change-Id: Iae2bd22a22213274d4a7697345b879f6573a30f0
2012-10-12loplugin: unused StringsCaolán McNamara
Change-Id: Ie9c888a48716e4bfd24ae78eef5f6e4a54dd1810
2012-10-11loplugin: more unused OUStrings and so forthCaolán McNamara
Change-Id: I4f3a51e1fd3ddca9442022a7134306fbf32e13ae
2012-09-29Use comphelper::getComponentContextStephan Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-08-23Fix off-by-one drawing problems of the bottom docking area.Jan Holesovsky
Change-Id: Ic463f6829f7faa6d9667656f42f844a12d85518e
2012-08-16-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann
Change-Id: I57abfb3b3d659edcd130788d173c2df3b79101f0
2012-08-11Remove unused local varsJulien Nabet
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
2012-08-08reduce ascii noise and useless commentsThomas Arnhold
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08remove include comments and boxesThomas Arnhold
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-07-18Various Clang 3.1 -Wunsued-variable, -Wconstant-conversionStephan Bergmann
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-06-23Fix prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: Ibb55fcedecaf66f0817d24d8f408ef69d273ffa2
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update code to use factory method URLTransformer::create Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06fdo#50651: update layout after toolbar destructionIvan Timofeev
plus update confusing comments Change-Id: I9bdab918566548b576fd22389492216fc4aff7df
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I3276836b76b69f04de38c2d36ae04b60c49d4873
2012-05-31targetted misc. minor cppcheck cleanups reversionMichael Meeks
Change-Id: Ic7f91c035d3e7f0e792d2e9ab217e1fc4ebcf697
2012-05-16remove unneeded include of boost/bind.hppCaolán McNamara
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-04resolved fdo#46160 query model only once whether it is a previewEike Rathke
Query a frame's model only once whether it is a preview model, instead of doing it for each toolbar and menubar and statusbar and progressbar. Each call via SfxBaseModel::getArgs() results in SfxObjectShell::GetVisArea() that at least in Calc determines how far visible attributes extend, with several toolbars requested on each cell edit. getArgs() calls GetVisArea() still too many times when loading a document even if the caller doesn't evaluate the WinExtent property, this is an opportunity for further optimization.
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-04-12offapi: remove obsolete XInplaceLayout (2nd try)Thomas Arnhold
This is related to 10e580c57b907420e8c6d816325445a40a720e4a
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
2012-02-21WaE: duplicateBranchThomas Arnhold
2012-02-19Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))Takeshi Abe
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18Revert "offapi: remove obsolete XInplaceLayout"Thomas Arnhold
This reverts commit 5ca858c01cb2e2aa93c8aca65fd271a900785e3f. This change implicates some more changes in layoutmanager.hxx see ::cppu::WeakImplHelper8. So keep it...
2012-02-18offapi: remove obsolete XInplaceLayoutThomas Arnhold
2012-02-10Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...)Takeshi Abe
2011-12-30Fix for fdo43460 Part XX getLength() to isEmpty()Olivier Hallot
Part XX Module framework
2011-12-14shrinked useless constants/definesTakeshi Abe