summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui
AgeCommit message (Collapse)Author
2013-12-12Reduce unoprnms.hxx to a set of string literal macrosStephan Bergmann
Change-Id: I955dcb5cedfbdf413054482d2c51d187e6f41898
2013-12-03convert callers of SwIndex::GetContent from xub_StrLen->sal_Int32Noel Grandin
Change-Id: I542399d3ed3a3b42592bcabb70d7034b3a4cc93c
2013-11-26Mailmerge shows wrong number of emails to be sentRodolfo Ribeiro Gomes
The progress bar is ok, but the text is displayed with the total number of registers instead of the amount selected to be used. Change-Id: I81da0e7ba9f193366e12cbf81118e36a43bcaad4 Signed-off-by: Rodolfo Ribeiro Gomes <rodolforg@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/6810 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-20Freeze layout / page format normalization.Jan-Marek Glogowski
For single-file mail merge this skips the page format normalization, which would be run during each document / page append. Instead the normalization / checks are run for the whole document at the end of the generation, changing this code from O(n2) to O(n). This way each mail merge generated document uses the same time, because the target document isn't completely traversed for each page change. With my test document this produces the same output, save some changed internal document IDs. This fixes fdo#56355. Change-Id: Ia779705cfb107383341f946542d28434c986591a Reviewed-on: https://gerrit.libreoffice.org/6733 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-08remove unnecessary use of OUString constructor in SW moduleNoel Grandin
Change-Id: I015959dce567e5579ebb5c775fb57ae14e1cd3b1
2013-11-05fixincludeguards.sh: swThomas Arnhold
Change-Id: I8e0889200d1a1c36e53022a74792728efd66c2fc
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04remove redundant calls to OUString constructorNoel Grandin
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-10-28windows: warning 4355 is disabled globally in com_MSC_defs.mkThomas Arnhold
So there is no need to do this locally, too. Change-Id: I0fa1d0cd3e077ba0985848a9d2cbb061b123e8ad
2013-10-26sw: ViewShell -> SwViewShell renameMiklos Vajna
It's a public class, so it should have the 'Sw' prefix. Change-Id: I0040c1cc37ffcba7fc5f58b71c86f4a7cb0bfce4
2013-10-23convert code to use OUString::endsWithNoel Grandin
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-21remove uses of COMPARE_*Caolán McNamara
Change-Id: Icdc36b4b24d2f399f481065df3200feb98025135
2013-10-18converting remaining usage of String in SW to OUStringNoel Grandin
Change-Id: Iaaa3812412dc880eb9d08144219ebe428007884e
2013-10-17mailmerge: fix salutation listAndras Timar
Previous state: there were two salutation lists, one for men, one for women. But they contained not only the salutation, but title, placeholder, and a punctuation merk. Therefore, when the user composed a Custom Salutation, and selected a pre-defined salutation, the result was something like for example "Dear Mr. 2, Mr. Lastname," instead of "Dear Mr. Lastname,". Current state: salutation list contains only salutations. There is no need for two lists, because the Custom Salutation is customizable separately for men and women and it is not necessary to choose from the list. Change-Id: Ibb4e195401f1d01d5e63c9085b99d7acf3ef1229
2013-10-17fix thinkoAndras Timar
Change-Id: I766665e9b4cc83a78d718b194eb8dbb3fd5113aa
2013-10-17remove German text from resourceAndras Timar
Change-Id: I8a34d2a5d4ea5e8e7f2245b97e4b8b0577edcc17
2013-10-15convert sw/source/ui/dbui/*.cxx from String to OUStringNoel Grandin
Change-Id: I302fc2630f22a9d7a050b666cad0eb2cea0f5663
2013-10-15convert sw/inc/crsrsh.hxx from String to OUStringNoel Grandin
Change-Id: Ic3e4e0372593bdc28705ebc8f8f462b062f3da3e
2013-10-15convert sw/inc/dbmgr.hxx from String to OUStringNoel Grandin
Change-Id: I7373041aee1f41ca90cb280826fbec17d9eab947
2013-10-15convert sw/inc/editsh.hxx from String to OUStringNoel Grandin
Change-Id: Ib24edf99414b2f1821bdfe37d3b27b9c79820947
2013-10-14convert creating document mail merge dialog to .uiCaolán McNamara
Change-Id: Ibcb82ba8204fe94d31e32c74d8c2ade3228ff4f8
2013-10-14convert warn email's can't be sent dialog to .uiCaolán McNamara
Change-Id: I611c5cb7ab140a04e7ee4a78b6d828ca199c5624
2013-10-14Related: fdo#38838 remove UniString::AppendAsciiCaolán McNamara
Change-Id: I0f929843d73eb445c8b1aa56d59cbbce844b9008
2013-10-11fix mail merge launchCaolán McNamara
Change-Id: I6604d1e626f83e6ac2203b7c80cd5b5b7d80181a
2013-10-10convert sw/source/ui/dbui/*.hxx from String to OUStringNoel Grandin
Change-Id: I43deb5f70beddec6689a7e1cfb7d76e403b79819
2013-10-10convert sw/source/ui/inc/d*.hxx from String to OUStringNoel Grandin
Change-Id: I5ef0592411169884693d01dc497c53897c0b5928
2013-10-10convert sw/source/ui/inc/m*.hxx from String to OUStringNoel Grandin
Change-Id: I4b625f4688977121d4de16fcdbd4327aad989134
2013-10-10convert sw/source/ui/inc/uno*.hxx from String to OUStringNoel Grandin
Change-Id: I7f6b4a29655390356aef9c6045590ee00c0fed4f
2013-10-10convert sw/source/ui/inc/w*.hxx from String to OUStringNoel Grandin
and remove a couple of dead method definitions Change-Id: Iaab20bd367e0387a1aafa656aee3bd78705cd64b
2013-10-09Improve ErrorCodeIOException messagesStephan Bergmann
...and clean up some includes. Change-Id: Ia5843cd38f967722d7173a6c87fba26064e3ffd6
2013-10-09fix stringCaolán McNamara
Change-Id: I3116dbf41b5672bb90c255b22403c8ce0ff57265
2013-10-09Related: fdo#38838 remove UniString::SetToken & UniString::SearchAsciiCaolán McNamara
Change-Id: I5219578fbeb40a0fe363f03c64021a83f7e505fb
2013-10-08Related: fdo#38838 remove UniString::SearchAndReplaceAllCaolán McNamara
Change-Id: I093c95b8700b628375d69293022f7d4b8da2af9c
2013-10-07Related: fdo#38838 remove UniString::SearchAndReplaceAsciiCaolán McNamara
Change-Id: I86019d7ab248679cd8518a621fe8e3721b44aeb0
2013-10-02Use std::auto_ptr::reset where applicableStephan Bergmann
(avoids warnings about std::auto_ptr ctor being deprecated) Change-Id: I39d2d155c0bc62ca77a30c02428ea39102213f42
2013-09-30Related: fdo#38838 remove UniString::SearchAsciiCaolán McNamara
Change-Id: Icb7850aaabe59f96ea26a665a8d25617b2741d68
2013-09-29Minor formattingMatteo Casalin
Change-Id: I050d3d516f3cface312fd5c8f8f88d46667a3054
2013-09-29String to OUStringMatteo Casalin
Change-Id: I8ff61895eac1dc9714de5ded6e80c06e4ce5357b
2013-09-28convert mail merge outputtype page to .uiCaolán McNamara
Change-Id: I3b4779bb36ad791ca4cc7d077da59af6bd04278a
2013-09-27convert mailmerge select page to .uiCaolán McNamara
Change-Id: I34f527ff8e1e9819f4e6ac728efa1e31f8bc3d48
2013-09-27Related: fdo#38838 remove UniString::SearchBackwardCaolán McNamara
Change-Id: Ia474ee07b1bd411eae8cd1ddd55c4fa83dbd5f47
2013-09-26String to OUStringMatteo Casalin
Change-Id: I9e99c88be67a3cfa97b5d964075c77c3208136f6 Reviewed-on: https://gerrit.libreoffice.org/6031 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-25String to OUStringMatteo Casalin
Change-Id: Id01c7e85b1d458e13ec4bb843e7fe0976bec9b9f Reviewed-on: https://gerrit.libreoffice.org/6030 Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org> Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-19convert mail merge subject/attachment dialogs to .uiCaolán McNamara
Factor out SwMessageAndEditDialog as a reusable base class. Split the attachment and subjects dialogs apart and base them on top of that. Change-Id: I321ef375b154f070715a3e8091e02974b376c9db
2013-09-16convert copy to (cc) dialog to .uiCaolán McNamara
Change-Id: I1d5ef0410a0e3d325fb6cf42dad2c07eeb89a87a
2013-09-14really convert select address block to .uiCaolán McNamara
Change-Id: Icfd77f2037a27f24fd796084509a1baa7734103b
2013-09-14convert select address block to .uiCaolán McNamara
Change-Id: I5fc1d70e91b1b2ba48f749292feb474230082def