Commit Graph

4702 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
b1c3e8ae28 make gbuild the default assumption of build.pl
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-29 03:50:46 +02: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
6de7392829 add package deps for resources 2012-04-09 10:09:23 +02:00
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
4c50f23f87 LinkTarget.mk: remove gb_LinkTarget_add_package_headers 2012-04-08 01:05:53 +02:00
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +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
f567f8ba03 .dtd files don't need executable bits 2012-03-23 21:58:18 +01:00
eb4eb698b2 .xcl files don't need executable bits 2012-03-23 21:58:15 +01:00
4c5a1a6d43 .sce files don't need executable bits 2012-03-23 21:58:15 +01:00
9429bbb0c4 .component files don't need executable bits 2012-03-23 21:58:14 +01:00
dc1b917cda .gif files don't need executable bits 2012-03-23 21:58:14 +01:00
d7aacb8461 .hrc files don't need executable bits 2012-03-23 21:58:14 +01:00
68f2753710 .h files don't need executable bits 2012-03-23 21:58:13 +01:00
e476a7632c .java files don't need executable bits 2012-03-23 21:58:12 +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
2a1171929e chmod -x 2012-03-21 13:00:45 +02: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