Commit Graph

2833 Commits

Author SHA1 Message Date
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
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
8a01ee6243 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
f770c5d6bc Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-04-06 12:48:32 +02:00
7d2508572a Fix Prefer prefix ++/-- operators
Includes too replacement < by != for comparison between current and end iterators
2012-04-05 21:17:09 +02:00
ef9620df98 remove an assert from an attempt to silence clang's false warning
http://llvm.org/bugs/show_bug.cgi?id=12459
It is not clear to me why the explicit cast was there in the first
place, but removing it probably can't make the situation worse
than aborting incorrectly.
2012-04-04 18:03:11 +02:00
2b00b0e0a1 WaE: call to pure virtual member function 2012-04-04 01:05:48 +03:00
4e24d472f6 fix the initial font size in the Start Center
Recover the code that was for some reason removed in commit
78e8d5f0d62f910b8561a1c4fd7ebd8ae4cfb9f8.
2012-04-03 20:46:12 +04:00
09bdea8900 remove static objects from static_initialization_and_destruction chain 2012-04-02 14:53:48 +01:00
ae92197691 remove static objects from static_initialization_and_destruction chain 2012-04-02 14:53:48 +01:00
1889728897 remove static OUStrings from static_initialization_and_destruction chain 2012-03-30 14:07:20 +01:00
9ce98add53 remove static OUStrings from static_initialization_and_destruction chain 2012-03-29 12:44:23 +01:00
fc7e13ed53 remove static OUStrings from static_initialization_and_destruction chain 2012-03-28 16:45:17 +01:00
1594ed5212 remove static OUStrings from static_initialization_and_destruction chain 2012-03-28 13:08:57 +01:00
346a86afb3 drop unused global rtl::OUStrings 2012-03-28 13:08:57 +01:00
8a539e49c4 ditch some UniStrings and intermediate temporaries 2012-03-26 12:18:08 +01:00
d41b5a88bd reduce over use of static OUStrings 2012-03-26 12:18:08 +01:00
ae7b4576d7 overly static lingering OUStrings 2012-03-23 10:20:46 +00:00
82af1483c8 annoying PATHES->PATHS typos 2012-03-22 16:09:02 +00:00
0a14f36501 split macros to elide unneeded methods 2012-03-20 12:57:31 +00:00
a277042e3e Some include and comment clean up 2012-03-16 16:39:50 +01:00
d4b67611c4 Introduced SystemShellExecuteFlags::URIS_ONLY 2012-03-16 15:01:26 +01:00
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
3f765e5bb2 replace usage of OUString::replace*AsciiL() with string literal overloads 2012-03-12 13:35:57 +01:00
c5e98e7598 remove pointless calculations 2012-03-06 20:23:35 +01:00
78e8d5f0d6 Added option to hide external link buttons on Start Center
This option is useful for Intel AppUp builds. On the other hand,
unused STARTCENTER_LAYOUT_STYLE option was removed.
2012-03-06 20:23:35 +01:00
5b2cb23c42 attempt fix of hang on base close, due to solarmutex deadlock on join 2012-03-05 22:32:21 +00:00
b8550f6a66 add a space 2012-03-05 09:21:38 +01:00
f3d78616df lp#562027: actually give the quickstart suppressor a scope 2012-03-05 08:50:10 +01:00
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
b60cf256b7 do not include external stuff into namespace 2012-03-01 15:51:31 +01:00
a138709519 Drop comparison with empty rtl::OUString 2012-02-29 01:23:09 +09:00
5279616d50 lp#562027: fix logout with quickstarter 2012-02-28 14:30:42 +01:00
423d346e21 some fancy new SAL_LOG tracing for framework 2012-02-28 14:30:41 +01:00
84cc2688f4 Remove unused code as listed in unusedcode.easy 2012-02-23 13:41:59 +00:00