Commit graph

1005 commits

Author SHA1 Message Date
Stephan Bergmann
252e599b22 Replace SvtInetOptions with (simplified) direct configuration access. 2012-01-26 16:26:39 +01:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Marcel Metz
2a566b1775 Replaced SAL_INFO with SAL_WARN were applicable. 2012-01-17 23:27:44 +01:00
Marcel Metz
a18123fb97 Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:33 +01:00
August Sodora
278c91304c SvStringsDtor->std::vector 2012-01-11 21:33:43 -05:00
August Sodora
399e425fc9 SvStringsDtor->std::vector 2012-01-11 21:33:43 -05:00
August Sodora
bcb9ddaa7e Remove _SVSTDARR_STRINGSISORTDTOR 2012-01-10 23:18:14 -05:00
Caolán McNamara
3c62fbcdd7 simplify LocalFileHelper::ConvertURLToPhysicalName 2012-01-10 10:09:28 +00:00
David Tardon
e99464ea0f use custom target for generated source 2012-01-07 15:40:57 +01:00
David Tardon
4492deb4d5 use custom target for generated source 2012-01-07 15:40:56 +01:00
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Luboš Luňák
0d7e210842 workaround for LO namespace pollution breaking KDE4 fpicker build 2012-01-06 10:57:57 +01:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
Marcel Metz
a1cfce768f Removed unnecessary tools includes. 2012-01-05 15:38:11 +01:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
Caolán McNamara
bacfd2dc4c add a comphelper::string::getTokenCount
suitable for conversion from [Byte]String::GetTokenCount
converted low-hanging variants to rtl::O[UString]::getToken loops
added unit test
2012-01-05 09:18:19 +00:00
Gustavo Buzzatti Pacheco
e220f41cb2 EasyHack fdo#42454, remove code associated with unused icons 2011-12-29 20:13:55 +01:00
Norbert Thiebaud
daadc82a1d WaE unused variables 2011-12-27 07:37:36 -06:00
Matúš Kukan
693f266d81 WaE: unused variables 2011-12-27 13:37:36 +01:00
Matúš Kukan
073b50b11e fpicker: convert to gbuild 2011-12-27 13:03:37 +01:00
Matúš Kukan
6b287bb919 fpicker: aqua: move source files .cxx -> .mm 2011-12-27 13:03:36 +01:00
Olivier Hallot
3e4f51f112 Fix for fdo43460 Part XIX getLength() to isEmpty()
Part XIX
Module
formula and fpicker
2011-12-26 14:26:08 +04:00
Luboš Luňák
643de3b64e "*.*" is not "all files" (bnc#738021)
Not on any Unix, at least. I have no idea how deep entrenched is this
mistake all over the code, so I'll play safe and just fix the KDE4 fpicker
(GNOME/KDE3 seem to handle it fine), but at least in the UI show just
"All files" instead of "All files (*.*)").
2011-12-22 19:32:53 +01:00
Luboš Luňák
78a7db0523 make KDE4FilePicker::appendFilterGroup() simply use appendFilter() 2011-12-22 19:32:40 +01:00
Takeshi Abe
55b9dc002a shrinked useless constants/defines 2011-12-14 01:42:58 +09:00
Takeshi Abe
520891d058 catch exception by constant reference 2011-12-14 01:31:17 +09:00
Norbert Thiebaud
27120fe88c remove include of pch header from fpicker 2011-11-27 13:10:27 -06:00
Michael Meeks
b123e4c42b gtk: fix issue with built-in file/folder picker settings 2011-11-07 14:19:35 +00:00
Michael Meeks
17084c750d gtk: move the file-picker into vcl/ and add Application:: factory hooks
drop un-necessary uno service related fluff, and component instantiation.
nominal move to XMultiComponentFactory from XMultiServiceFactory
Include fpicker in compilation for gtk3, but more work required here
Simplify setting up transient parents for picker dialogs
2011-11-07 14:19:33 +00:00
Michael Meeks
32af4b5f3a more fpicker related gtk cleanup 2011-11-02 17:49:14 +00:00
Michael Stahl
861a1c2dea cleanup gtk / gdk locking situation to use the SolarMutex instead
The SolarMutex is integrated with native gtk+ toolkit locking so
this is semantically equivalent and rather less problematic.
2011-11-02 17:49:13 +00:00
Daniel Di Marco
f7303fcac7 eliminate SvUShorts type 2011-11-01 12:19:05 +00:00
Michael Meeks
b5423ef42e WaE: misc. windows related fixes 2011-10-25 17:11:10 +01:00
Stephan Bergmann
d03465a446 Undo basis/brand split: removed RPATH BRAND (same as OOO now). 2011-10-24 22:56:48 +02:00
Kristian Rietveld
d14054415d Argument to setTitle cannot be const 2011-10-24 17:29:31 +02:00
Tor Lillqvist
877de645ff WaE: unreachable code 2011-10-05 18:03:55 +03:00
Tor Lillqvist
8d6030fa42 Use OUString::getStr() 2011-10-05 18:03:52 +03:00
Fridrich Štrba
d624a657a8 Fix fpicker windows build 2011-10-05 14:12:02 +02:00
Stephan Bergmann
011320d569 Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *() in Mac OS X only code. 2011-09-29 14:50:17 +02:00
Tor Lillqvist
78f81fdadb WaE: 'fileAttributesAtPath:traverseLink:' is deprecated 2011-09-29 00:54:46 +03:00
Tor Lillqvist
17cc38231c Add mode lines 2011-09-29 00:54:45 +03:00
Tor Lillqvist
e41899b782 WaE: class 'AquaFilePickerDelegate' does not implement the 'NSOpenSavePanelDelegate' protocol 2011-09-29 00:54:44 +03:00
Tor Lillqvist
15759b8c94 Avoid "jump to case label crosses initialization" errors with gcc 4.2.1
Reduce scope of variables declared inside a switch statement. OK, so
make those code snippets into blocks then, to reduce the scope of
those variables. Workaround for weird errors as reported by gcc 4.2.1
in the 10.6 SDK:

SalAquaPicker.cxx: In member function 'void SalAquaPicker::implInitialize()':
SalAquaPicker.cxx:134: error: jump to case label
SalAquaPicker.cxx:127: error:   crosses initialization of 'NSNumber* pExtn'
SalAquaPicker.cxx:126: error:   crosses initialization of 'NSUserDefaults* pDefaults'
SalAquaPicker.cxx:141: error: jump to case label
SalAquaPicker.cxx:127: error:   crosses initialization of 'NSNumber* pExtn'
SalAquaPicker.cxx:126: error:   crosses initialization of 'NSUserDefaults* pDefaults'
2011-09-29 00:54:43 +03:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;

- removed trailing whitespaces and (multiple) newlines
2011-09-21 09:28:39 +02:00
Fridrich Štrba
43b6b953d9 Rewrite a bit so that Windows dbgutils build does not shout 2011-09-15 14:00:56 +02:00
Tor Lillqvist
6b457882d0 We can't #define _HAS_ITERATOR_DEBUGGING 0 in just some of the source files
It seems that _HAS_ITERATOR_DEBUGGING affects the layout of some
classes, which of course means horrible breakage if some of the source
files are compiled with it, the rest not.

http://msdn.microsoft.com/en-us/library/aa985939%28v=vs.80%29.aspx
http://connect.microsoft.com/VisualStudio/feedback/details/334315/has-iterator-debugging-0-causes-crash

I will just have to fix the code in this handful of source files so
that it compiles with _DEBUG defined. If I can be bothered.
2011-09-15 12:02:59 +03:00
Tor Lillqvist
416c7533e0 Drop Win9x code 2011-09-12 15:30:37 +03:00
Pierre-André Jacquod
8039e149f8 deletion of unneded variable in fpicker, previewadapter.cxx 2011-09-12 10:21:09 +03:00
Tor Lillqvist
a647a54cd1 More #define _HAS_ITERATOR_DEBUGGING 0 to fix _DEBUG MSVC builds 2011-08-29 10:53:56 +03:00