path: root/sw/qa/uibase/uiview
AgeCommit message (Collapse)AuthorFilesLines
2021-06-07sw keep aspect ratio: add filter for this settingMiklos Vajna2-0/+59
SwViewOption::IsKeepRatio() was only in-memory, so ticking that checkbox and restarting soffice disabled it again. Handle this similar to e.g. the zoom factor which is mapped to a view-specific settings.xml key. Change-Id: I8d2de7d2c7ae0dbf34230e2011f6b07f63e02fbb Reviewed-on: Reviewed-by: Miklos Vajna <> Tested-by: Jenkins
2021-01-10fix coverity parse errorsCaolán McNamara1-1/+1
Change-Id: I4884bfb67a061b865e8cf38b2fea6de0cb1bc3d6 Reviewed-on: Tested-by: Jenkins Reviewed-by: Caolán McNamara <>
2020-12-26New loplugin:stringliteralvarStephan Bergmann1-1/+1
See the comment at the top of compilerplugins/clang/stringliteralvar.cxx for details. (Turned some affected variables in included files into inline variables, to avoid GCC warnings about unused variables.) Change-Id: Ie77219e6adfdaaceaa8b4e590b08971f2f04c83a Reviewed-on: Tested-by: Jenkins Reviewed-by: Stephan Bergmann <>
2020-11-24tdf#42949 Fix new IWYU warnings in directory swGabor Kelemen1-7/+3
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I4bb84c3f401aba8a3dede9cec3a7f2187a2ba02a Reviewed-on: Tested-by: Jenkins Reviewed-by: Miklos Vajna <>
2020-11-19sw replacement image creation: fix this when an ODT's settings.xml is invalidMiklos Vajna2-0/+25
This builds on top of commit c123bfff501229f398a1b679fc7434b82d53685c (Bin overly eager early return that stops replacement image creation, 2020-08-20), and handles a similar case, when SwView::ReadUserDataSequence() is not called at all. The result is the same: no shell is selected on the command dispatcher stack, so .uno:UpdateAll is ignored and the replacement images are not created. Change-Id: If8b74424b0ad88e63129fd8f7efd09f85e300895 Reviewed-on: Reviewed-by: Miklos Vajna <> Tested-by: Jenkins
2020-09-09sw: rename CppunitTest_sw_updateall_object_replacements to sw_uibase_uiviewMiklos Vajna2-0/+92
All these new test suites are named in a way, so that in case the fix is in sw/source/foo/bar/, then the matching test suite is sw_foo_bar. Rename to this schema, so next time a bug is fixed in that directory, we don't need to add a new suite. Change-Id: I968711754cb587cc2f97fff6431be416b477728f Reviewed-on: Tested-by: Jenkins Reviewed-by: Miklos Vajna <>