summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-09-10Fallback DPI detection on X11Giuseppe Bilotta1-1/+19
When the Xft.dpi setting is not found, and if only one screen is available, fall back to detecting the screen DPI from the reported resolution and monitor size. Change-Id: I1481d94b5dc4072c1f8da4659a221dfc7971080b Reviewed-on: https://gerrit.libreoffice.org/11377 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-09-10Refactor DPI settings validity checkGiuseppe Bilotta1-1/+7
Move the validity check for the DPI (>= 50 and <= 500) into its own (static) function, since we're going to use it repeatedly in the fallback DPI detection code. Change-Id: Id5d9b10be385d45549bbb57cfa14939cd51a0324 Reviewed-on: https://gerrit.libreoffice.org/11376 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-09-10Add debug documents to SwDBManager::MergeMailFilesJan-Marek Glogowski1-27/+42
Just like the debug documents in SwDBManager::MergeDocuments. Change-Id: I275575853c80d4e19d6df5ba9d8dc689353d7c85 Reviewed-on: https://gerrit.libreoffice.org/10970 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2014-09-10Add debug messages for sw.{createcopy,docappend}Jan-Marek Glogowski1-1/+81
This adds a lot of SAL_INFO messages to SwDoc::CreateCopy and SwDoc::Append. Change-Id: Ie924e20698bec84482fcc5496175a9e29245729e Reviewed-on: https://gerrit.libreoffice.org/10969 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2014-09-10MM: introduce SwDoc::Append helper functionJan-Marek Glogowski5-130/+158
This drops all the specialized, workaround code from MM, introduced to use the SwFEShell::Paste function and additionally merges and renames SwDoc::Paste into SwDoc::Append. There is still a little common codepath, therefore this adds comments to always update both functions. Change-Id: I704b3ef3257dd977dac95e16e25049ff8ade97ed Reviewed-on: https://gerrit.libreoffice.org/10967 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2014-09-10vcl: BitmapEx now states which icon theme is being used for missing imageChris Sherlock1-1/+2
Change-Id: I83b9c86685f72569c0df88231458183b1ae511c8
2014-09-10vcl: no such thing as GtkSalInstance, remove commented codeChris Sherlock1-3/+3
Change-Id: I6627363aea34570b5f7d118b1d64b6a2d93c19cb
2014-09-10vcl: remove dead code and useless task comments from winproc.cxxChris Sherlock1-9/+2
Change-Id: I10e4a0aa23fe83fa0f2edd671b321fa4588c880f