Commit Graph

2867 Commits

Author SHA1 Message Date
153c5e3f07 Convert SV_DECL_PTRARR_DEL(ImageItemListDescriptor) to boost::ptr_vector
Change-Id: Ic3b06e179d182d68288c7c6832149309160cd637
2012-06-12 23:25:09 +02:00
0169c40e13 Convert SV_DECL_PTRARR_DEL(ExternalImageItemListDescriptor) to ptr_vector
Change-Id: I29e61ac8c932d0920f326f268aa62acc4aaec5c5
2012-06-12 23:25:09 +02:00
059f0fd3bd Convert SV_DECL_PTRARR_DEL( ImageListDescriptor) to boost::ptr_vector
Change-Id: Iea01a7d7c01bb9da80ccae001157c60d6090348b
2012-06-12 23:25:09 +02:00
4019acf297 cppcheck: avoid unreachable code warnings
Change-Id: I1d126eb10bfebc747d4bb6d153b80abe73a1e81e
2012-06-12 12:08:33 +01:00
8f5629fd5a remove EraseLeadingChars and EraseTrailingChars
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-11 14:46:46 +01:00
10ff11e70c Do what the TODO said: Remove unused member and inclusion of vcl/virdev.hxx
Add header back in a few C++ files elsewhere.

Change-Id: I041ed39ff9bb26d1f42f3614ca50dbc085f13861
2012-06-09 23:51:08 +03:00
5ac28548c0 remove protected m_bCanBeCustomized
Change-Id: I538c0090cba5f5ddce94285a31d48ec7169956fb
2012-06-08 22:28:02 +04:00
3768e71344 fdo#42405: remove this, nowadays MenuItemAllowed disables menu entries
since c4461665bd030a555a8b7ffa5bd6717cfb787b9d m_bCanBeCustomized = false
will lead to toolbar locking, but we don't want this, indeed.

Change-Id: I42f16a017c7f1cf6e8321c7fe26c027ec79c7953
2012-06-08 22:20:58 +04:00
1829efaf9f fdo#35972: toolbarmanager must be aware of changes in SvtMiscOptions
Change-Id: Ie6e3036e83b5ea859e2c73df47629eb79791a52c
2012-06-08 17:30:49 +04:00
eb0497307b nuke dead code
Change-Id: Id9920ea7b82ea178e904f78bbd41ffc434813e0b
2012-06-07 23:03:11 +09:00
0fcd1a73f0 fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update code to use factory method URLTransformer::create

Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:53:34 +02:00
392a483e10 fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update code to use factory method PathSubstitutions::create

Change-Id: I3721bd93c36b207d849eea19102f5ac61cadd205
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:01:22 +02:00
ca99673446 fdo#50651: update layout after toolbar destruction
plus update confusing comments

Change-Id: I9bdab918566548b576fd22389492216fc4aff7df
2012-06-06 11:29:56 +04:00
d0c3c24da2 Check if the system window has a close handler, and if yes, call it.
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-06 01:55:19 -04:00
0665c3e52b extra trailing NUL char in string
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-05 16:04:24 +01:00
ef59ee5abb start centre: Solid color fits the new artwork better.
Change-Id: Iee1e599ab9bcf7b6b26efb72b609309d7ba4e13d
2012-06-05 16:09:59 +02:00
9afb6e1e38 Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of
BMP_SCALE_INTERPOLATE.

Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
2012-06-05 11:28:07 +02:00
76f02c23ff assume for all menus we reserve space for checkboxes
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-05 10:14:46 +01:00
b3c76dee6d fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
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-04 16:57:55 +02:00
eb225ad5d7 targeted string re-work
Change-Id: I48ca4f57f97f49fe344a7d4aab079f23765d2679
2012-06-02 22:34:20 -05:00
7bf761e85d targeted string re-work
Change-Id: I120b321166bb078b44d8b9894a1f906e9c6a611f
2012-06-02 21:09:52 -05:00
bc62d262fa targeted string re-work
Change-Id: I2cded25cc1d63a02a14633e2de4c6f37662feb25
2012-06-02 20:48:30 -05:00
eeac114217 targeted string re-work
Change-Id: I3276836b76b69f04de38c2d36ae04b60c49d4873
2012-06-02 20:41:34 -05:00
d95d58af08 nuke unused namespace
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-06-01 01:04:50 +09:00
dc0d009f10 targetted misc. minor cppcheck cleanups reversion
Change-Id: Ic7f91c035d3e7f0e792d2e9ab217e1fc4ebcf697
2012-05-31 14:58:05 +01:00
c238c19d2f 1) Don't pass filter name and 2) pass module name when opening file.
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-30 18:37:20 -04:00
bb9f730458 nuke unused typedef
Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
2012-05-31 01:56:28 +09:00
a9a0ed1edc Bin a bunch of pointless comments
Change-Id: Ic428010ce8c07a1265fef6f0fcfa594501cb9267
2012-05-30 00:02:17 +03:00
6e6d81e9cf targetted SAL_N_ELEMENTS reversion.
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-29 18:03:34 +01:00
1bab1e9987 language status bar control: Don't set radio buttons for some entries.
There are entries in the popup menu that are not supposed to be radio buttons,
like More... ;-)

Change-Id: Ic7986a668522901a244d35eda7e9cfbe0133f37e
2012-05-25 12:19:24 +02:00
d428360e48 removed unused const char[]
Change-Id: Ia5f26c13e7bae42685230769fa86b52703eb2f7e
2012-05-24 22:29:38 +09:00
00f1180c96 removed unused const rtl::OUString
Change-Id: If02be864f958de96ae1c54fe575b1828410390b1
2012-05-18 22:56:54 +09:00
df34ccb01d remove unneeded include of boost/bind.hpp
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-16 15:05:36 +01:00
1d7d99e9aa Mode (r/o vs r/w) changes can affect title, too
Change-Id: I69ecb9fa157c706c90132e7801def2253529158d
2012-05-15 15:29:36 +02:00
a6b68f4682 removed unused static rtl::OUString
Change-Id: I5a097beaaeb30214ed6071bba1297e551291922b
2012-05-14 23:43:54 +09:00
c182a75241 convert GetComment family to rtl::OUString
Change-Id: I563ab83a24ca4f839892548b350486e83dd071d3
2012-05-14 14:34:09 +01:00
b43f5ccb6b Reduce broadcasting noise on initial title computation
...otherwise, SfxBaseModel::getTitle calls itself recursively until
TitleHelper::m_sTitle has converged.

Change-Id: I90577d1c2e4275ff2187d6531a1ca61e8355819b
2012-05-10 14:32:38 +02:00
7c5064d3bd resolved fdo#46160 query model only once whether it is a preview
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-04 23:14:51 +02:00
135c63c8f9 fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-04 15:52:57 +02:00
8a0685d49f make ResId::toString a non-static member
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-30 11:22:09 +01:00
2abba84aa7 Replace css macro with namespace for nicer namespacing 2012-04-21 05:53:30 +02:00
bca961b855 Simplify the construction of the '>>' menu. 2012-04-14 15:37:41 +02:00
5f2825dde8 fdo#34392 recompute column widths after font scale change in startcenter 2012-04-12 14:10:52 +02:00
3030a3a52f offapi: remove obsolete XInplaceLayout (2nd try)
This is related to 10e580c57b907420e8c6d816325445a40a720e4a
2012-04-12 11:39:13 +02:00
6ae314ece2 Bin pointless "added by shizhoubo" style comments 2012-04-11 20:30:26 +03:00
63c95085db fdo#38276: Improve the ">>" toolbar overflow menu 2012-04-11 20:14:29 +03:00
383a9c777f s/pathes/paths/ 2012-04-09 14:19:58 +03:00
e1c10e673c s/pathes/paths/ 2012-04-09 14:19:56 +03:00
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00