Commit graph

295683 commits

Author SHA1 Message Date
Caolán McNamara
e547f8ca4c strip out some more unused automation 2011-11-01 09:27:25 +00:00
Caolán McNamara
ace697180b ByteString->rtl::OString 2011-11-01 09:27:25 +00:00
Caolán McNamara
4d01a82f37 intermediate String objects are completely unnecessary here 2011-11-01 09:27:24 +00:00
Caolán McNamara
c5e280b414 intermediate String objects are completely unnecessary here 2011-11-01 09:27:24 +00:00
Caolán McNamara
9cb9ddbfb7 callcatcher: remove unused appendStr 2011-11-01 09:27:24 +00:00
Caolán McNamara
76e37b7f79 adapt naming scheme 2011-11-01 09:27:24 +00:00
Caolán McNamara
fef11229e6 ByteString->rtl::OString 2011-11-01 09:27:23 +00:00
Caolán McNamara
120d1614d3 can go behind appropiate ifdef 2011-11-01 09:27:23 +00:00
Caolán McNamara
4847ef98f6 drop unused GetViewCenter 2011-11-01 09:27:23 +00:00
Caolán McNamara
4403ef6fa8 ByteString->rtl::OString 2011-11-01 09:27:23 +00:00
Caolán McNamara
6a73e43b71 MetaCommentAction now using rtl::OString 2011-11-01 09:27:22 +00:00
Caolán McNamara
67cf9cbeeb add and use an OString::equalsIgnoreAsciiCaseAscii equivalent to OUString one 2011-11-01 09:27:22 +00:00
Caolán McNamara
489272ce9e add and use an OString::equalsIgnoreAsciiCaseAsciiL equivalent to OUString one 2011-11-01 09:27:22 +00:00
Caolán McNamara
9dc14818d5 callcatcher: various unused methods 2011-11-01 09:27:22 +00:00
Caolán McNamara
e2e684a49a ByteString->rtl::OString 2011-11-01 09:27:22 +00:00
David Tardon
77090e4e25 remove superfluous casts 2011-11-01 10:12:07 +01:00
David Tardon
3acbdb2dee let PgUp/Down go to the first/last line 2011-11-01 10:12:06 +01:00
Andras Timar
bc58a79f82 typo fix in UI 2011-11-01 09:55:24 +01:00
Arnaud Versini
812aff65ad Fix fdo#41245 : Auto fit text VIEWING too small in PPT 2011-11-01 09:20:46 +01:00
Lionel Elie Mamane
3a183d773f translate comments 2011-11-01 08:06:46 +01:00
Lionel Elie Mamane
65a697fdfd typo in comment 2011-11-01 08:06:46 +01:00
Joseph Powers
0ba264cc9f Delete some unused .hxx files from autodoc 2011-10-31 21:30:30 -07:00
Markus Mohrhard
125aa32e71 we need to assign this value also for non unix platforms (fdo#40801) 2011-11-01 01:00:24 +01:00
Stephan Bergmann
1635f66a3d Moved CONFIGURATION_LAYERS from soffice to fundamental ini.
...so that unopkg uses it, too.
2011-10-31 23:47:02 +01:00
Markus Mohrhard
88f91adf26 update first ScMarkData before setting cursor (fdo#42432)
our ScMarkData instance might be used to set the cursor which will
result in a crash if the selected sheet has been deleted already
2011-10-31 21:40:59 +01:00
Andras Timar
0ca429a00b l10n update 2011-10-31 20:50:17 +01:00
Andras Timar
34191b3c0f towards enabling l10n of extension description in swext 2011-10-31 19:07:30 +01:00
Michael Meeks
c8656960d9 Revert "Move ScPostIt storage from ScBaseCell->ScDocument"
This reverts commit 249faa5cb6.
2011-10-31 18:01:30 +00:00
Kevin Hunter
249faa5cb6 Move ScPostIt storage from ScBaseCell->ScDocument
ScPostIt is the behind-the-scenes name for Notes.  This move removes a
usually empty pointer for each ScBaseCell to list of pointers within
ScDocument.  The advantage is basically a reduction in size of 8 bytes
per cell.  The current sizeof(ScBaseCell) is 16.  Here are the
highlights:

* Remove mpNote from ScBaseCell, and add a std::map (data structure) to
  ScDocument to store notes and associate with addresses.

* Remove ScPostIt accessors and mutators from ScTable, ScColumn, and
  ScBaseCell

* Replace ScPostIt accessors and mutators in ScDocument with ones to
  handle move of data structure from ScBaseCell to ScDocument

* Rename ScPostIt.CloneWithoutNote to ScPostIt.Clone, while completely
  removing ScPostIt.CloneWithNote.  Any cloning of cell notes must now
  be handled outside external to the ScPostIt class, through
  ScDocument.*Note() functions.

* Rename ScNoteCell to a more ScEmptyCell.  I expect this can be
  completely removed at some point the future, if we can handle
  broadcasters external to the cell logic.

* Add ScDocument and ScTable to ScUsedAreaIterator data structure to
  accomodate for new placement of ScPostIt objects in ScDocument.

* Convert CELLTYPE_NOTE to CELLTYPE_EMPTY (and all ensuing uses).

* Wherever possible, respect 80-columns.

* New ScDocument based API (individually block-comment documented before
  their definitions):

SC_DLLPUBLIC ScPostIt* GetNote( ScAddress const & );
SC_DLLPUBLIC ScPostIt* GetOrCreateNote( const ScAddress& rPos );
bool                   SetNote( ScAddress const &, ScPostIt* );
bool                   MoveNote( ScAddress const & from, ScAddress const & to );
bool                   SwapNotes( ScAddress const &, ScAddress const & );
ScPostIt*              ReleaseNote( ScAddress const & );
void                   DeleteNote( ScAddress const & );

Of note, TakeNote has been replaced with SetNote, which returns true on
success, and false on failure.  TakeNote indicated failure by removing
the passed note.  The SetNote approach leaves room for the caller to
attempt to fix the issue, but also means the caller is now on the hook
to cleanup the memory.  For now, the Calc-internal API is lazy and does
not take advantage of this, but merely says "You failed?  Oh well,
delete the note." ... which is exactly what TakeNote did.  This means, the
lazy-programmer's idiom for SetNote use is:

   if ( ! pDoc->SetNote( aAddress, pNotePointer ) )
      DELETEZ( pNotePointer );
2011-10-31 13:23:06 -04:00
Philipp Weissenbacher
cb8b7a8617 Translate German comments 2011-10-31 17:53:39 +01:00
Stephan Bergmann
a334403eb2 Cleaned up configmgr initialization.
Added CONFIGURATION_LAYERS bootstrap variable.
Removed OOO_CONFIG_REGISTRY[_EXTRA]_DIR bootstrap variables.
2011-10-31 16:51:35 +01:00
Stephan Bergmann
983360d3be Removed obsolete gid_Profile_Soffice_Ini items.
They have been duplicated to gid_Brand_Profile_Soffice_Ini a long
time ago.
2011-10-31 16:49:56 +01:00
Michael Meeks
2ed58be879 make --last-working checkout the last working version
thanks to Bjoern and Christian for tips.
2011-10-31 15:06:34 +00:00
Andras Timar
d5486145c5 enable localization of extension description in reportbuilder 2011-10-31 15:52:36 +01:00
Jan Holesovsky
79228bb177 The -something switches are obsolete, use --something instead. 2011-10-31 15:27:32 +01:00
Andras Timar
3c3f1e3959 enable localization of extension descriptions in sdext 2011-10-31 15:25:19 +01:00
Michael Meeks
c8278a72b3 gtk: tolerate NULL from gdk_screen_get_monitor_plug_name 2011-10-31 14:16:27 +00:00
Stephan Bergmann
b67ae8dd02 Make sure COMPONENT_EXTJARFILES are included in report-builder.oxt. 2011-10-31 12:39:50 +01:00
Andras Timar
cedad6e08b change wiki's address 2011-10-31 12:17:54 +01:00
Andras Timar
ff290dac97 change address of extensions' website 2011-10-31 12:17:53 +01:00
Stephan Bergmann
0c13fbb5bd Improved an OSL_FAIL. 2011-10-31 09:05:59 +01:00
Andras Timar
a18bfb0830 Revert "enable localization of extension descriptions in sdext"
This reverts commit 1846533707.
2011-10-30 22:56:43 +01:00
Andras Timar
9ab6ecf331 fix en-US only build 2011-10-30 22:55:29 +01:00
Andras Timar
726fe9cc4e enable localization of extension descriptions in mysqlc 2011-10-30 22:25:12 +01:00
Andras Timar
1846533707 enable localization of extension descriptions in sdext 2011-10-30 21:47:13 +01:00
Ivan Timofeev
eda6d8971d fix fdo#31966: inserting empty slide when printing handouts 2011-10-30 21:13:52 +04:00
Lionel Elie Mamane
e382cc5c08 fdo#33047: no data accessible if filename contains "?" 2011-10-30 16:00:00 +01:00
Lionel Elie Mamane
6efdf794cd factorise multiple SQL_ISRULEOR2 implementations into one 2011-10-30 13:37:02 +01:00
Lionel Elie Mamane
eaa8cb8ee3 add const 2011-10-30 13:37:02 +01:00
Lionel Elie Mamane
788283383e Remove unnecessary variable 2011-10-30 13:37:02 +01:00