summaryrefslogtreecommitdiff
path: root/framework
AgeCommit message (Collapse)Author
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-19Revert "Remove License/Credits menu items"Petr Mladek
GPLv3 has to be easily accessible. We should not hide it under too many mouse clicks. This reverts commit f4c567f8d4c46aca75f7c73d67e0bc952b4c2e2d.
2012-06-18Remove License/Credits menu itemsStefan Knorr (astron)
The About dialog now houses these functions. Change-Id: I7f751027564897a063d2910644c69680d471b6d9 Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-06-15hrc cleanup: Remove completely unused RIDsThomas Arnhold
These RID definitions aren't used at any other point. So remove them. Unused START and END definitions were commented out for documentation purpose. All definitions in basctl/source/basicide/tbxctl.hrc were unused, so I removed this file. Change-Id: I4713188a12b9da912b2a91b85ea4e54ca1aeb994
2012-06-12Convert SV_DECL_PTRARR_DEL(ImageItemListDescriptor) to boost::ptr_vectorNoel Grandin
Change-Id: Ic3b06e179d182d68288c7c6832149309160cd637
2012-06-12Convert SV_DECL_PTRARR_DEL(ExternalImageItemListDescriptor) to ptr_vectorNoel Grandin
Change-Id: I29e61ac8c932d0920f326f268aa62acc4aaec5c5
2012-06-12Convert SV_DECL_PTRARR_DEL( ImageListDescriptor) to boost::ptr_vectorNoel Grandin
Change-Id: Iea01a7d7c01bb9da80ccae001157c60d6090348b
2012-06-12cppcheck: avoid unreachable code warningsMartyn Russell
Change-Id: I1d126eb10bfebc747d4bb6d153b80abe73a1e81e
2012-06-11remove EraseLeadingChars and EraseTrailingCharsCaolán McNamara
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-09Do what the TODO said: Remove unused member and inclusion of vcl/virdev.hxxTor Lillqvist
Add header back in a few C++ files elsewhere. Change-Id: I041ed39ff9bb26d1f42f3614ca50dbc085f13861
2012-06-08remove protected m_bCanBeCustomizedIvan Timofeev
Change-Id: I538c0090cba5f5ddce94285a31d48ec7169956fb
2012-06-08fdo#42405: remove this, nowadays MenuItemAllowed disables menu entriesIvan Timofeev
since c4461665bd030a555a8b7ffa5bd6717cfb787b9d m_bCanBeCustomized = false will lead to toolbar locking, but we don't want this, indeed. Change-Id: I42f16a017c7f1cf6e8321c7fe26c027ec79c7953
2012-06-08fdo#35972: toolbarmanager must be aware of changes in SvtMiscOptionsIvan Timofeev
Change-Id: Ie6e3036e83b5ea859e2c73df47629eb79791a52c
2012-06-07nuke dead codeTakeshi Abe
Change-Id: Id9920ea7b82ea178e904f78bbd41ffc434813e0b
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#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update code to use factory method PathSubstitutions::create Change-Id: I3721bd93c36b207d849eea19102f5ac61cadd205 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update calls to factories to use new SimpleFileAccess::create method Change-Id: Ie5b0696fe2228a9033b19969245a53c21a61aa14 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-06Check if the system window has a close handler, and if yes, call it.Kohei Yoshida
This allows the close event in the preview window to be handled in a custom fashion, instead of having it call the normal "close window" command. Change-Id: Id324c4f5c96d0222bf82caa8029aa1c724262c32
2012-06-05extra trailing NUL char in stringCaolán McNamara
This began life as ::rtl::OUString::createFromAscii which stops at the first NULL terminator. So drop the \0 to get the same results Change-Id: I7d9abbff2a6e6131ef5e7208e05cfd13178418cb
2012-06-05start centre: Solid color fits the new artwork better.Jan Holesovsky
Change-Id: Iee1e599ab9bcf7b6b26efb72b609309d7ba4e13d
2012-06-05Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.Jan Holesovsky
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of BMP_SCALE_INTERPOLATE. Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
2012-06-05assume for all menus we reserve space for checkboxesCaolán McNamara
so menus have consistent whitespace at left regardless of containing checkboxes/radiobutton entries. Its nasty to have menus "suddenly" appear without whitespace as submenus of ones with whitespace. This is a logical consequence of MENU_FLAG_SHOWCHECKIMAGES always set (in the absence of SetMenuFlags where usage has generally dropped MENU_FLAG_SHOWCHECKIMAGES accidentally) Change-Id: I9501381b91415131eff5143a0c88142221530fb6
2012-06-04fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update calls to factories to use new ::create methods Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I48ca4f57f97f49fe344a7d4aab079f23765d2679
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I120b321166bb078b44d8b9894a1f906e9c6a611f
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I2cded25cc1d63a02a14633e2de4c6f37662feb25
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I3276836b76b69f04de38c2d36ae04b60c49d4873
2012-06-01nuke unused namespaceTakeshi Abe
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-05-31targetted misc. minor cppcheck cleanups reversionMichael Meeks
Change-Id: Ic7f91c035d3e7f0e792d2e9ab217e1fc4ebcf697
2012-05-301) Don't pass filter name and 2) pass module name when opening file.Kohei Yoshida
Passing the filter name bypasses the type detection, which is bad. Also, the module name is needed in order for the type detection to intelligently decide which app to open in case the file format type is generic, i.e. .html, .xml, .txt etc. Change-Id: If18f649b32e79fae58af088362b0b5f11adc8eb3
2012-05-31nuke unused typedefTakeshi Abe
Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
2012-05-30Bin a bunch of pointless commentsTor Lillqvist
Change-Id: Ic428010ce8c07a1265fef6f0fcfa594501cb9267
2012-05-29targetted SAL_N_ELEMENTS reversion.Michael Meeks
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-25language status bar control: Don't set radio buttons for some entries.Jan Holesovsky
There are entries in the popup menu that are not supposed to be radio buttons, like More... ;-) Change-Id: Ic7986a668522901a244d35eda7e9cfbe0133f37e
2012-05-24removed unused const char[]Takeshi Abe
Change-Id: Ia5f26c13e7bae42685230769fa86b52703eb2f7e
2012-05-18removed unused const rtl::OUStringTakeshi Abe
Change-Id: If02be864f958de96ae1c54fe575b1828410390b1
2012-05-16remove unneeded include of boost/bind.hppCaolán McNamara
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-15Mode (r/o vs r/w) changes can affect title, tooStephan Bergmann
Change-Id: I69ecb9fa157c706c90132e7801def2253529158d
2012-05-14removed unused static rtl::OUStringTakeshi Abe
Change-Id: I5a097beaaeb30214ed6071bba1297e551291922b
2012-05-14convert GetComment family to rtl::OUStringCaolán McNamara
Change-Id: I563ab83a24ca4f839892548b350486e83dd071d3
2012-05-10Reduce broadcasting noise on initial title computationStephan Bergmann
...otherwise, SfxBaseModel::getTitle calls itself recursively until TitleHelper::m_sTitle has converged. Change-Id: I90577d1c2e4275ff2187d6531a1ca61e8355819b
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-30make ResId::toString a non-static memberCaolán McNamara
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-21Replace css macro with namespace for nicer namespacingThomas Arnhold
2012-04-14Simplify the construction of the '>>' menu.Jan Holesovsky
2012-04-12fdo#34392 recompute column widths after font scale change in startcenterGábor Stefanik
2012-04-12offapi: remove obsolete XInplaceLayout (2nd try)Thomas Arnhold
This is related to 10e580c57b907420e8c6d816325445a40a720e4a