aboutsummaryrefslogtreecommitdiff
path: root/source/eo/vcl
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-04-04 12:35:06 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-04-04 12:37:31 +0200
commit4f65f25bc54fc4078363522caa2623c5de387c6f (patch)
treed5a8e08460e4e77307b78f5923cd3e9cc94f952d /source/eo/vcl
parent149fb7cb5fbb3f555c66b2c93d057776f63e9ce3 (diff)
update translations for master
and force-fix errors using pocheck Change-Id: Iaad2f8d129208996bc1fef023045616b51aeff05
Diffstat (limited to 'source/eo/vcl')
-rw-r--r--source/eo/vcl/messages.po215
1 files changed, 44 insertions, 171 deletions
diff --git a/source/eo/vcl/messages.po b/source/eo/vcl/messages.po
index f95851e554c..ed51b769ffb 100644
--- a/source/eo/vcl/messages.po
+++ b/source/eo/vcl/messages.po
@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://bugs.libreoffice.org/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED&component=UI\n"
-"POT-Creation-Date: 2022-02-09 16:47+0100\n"
+"POT-Creation-Date: 2022-03-21 12:33+0100\n"
"PO-Revision-Date: 2022-02-16 08:40+0000\n"
"Last-Translator: Donald Rogers <donr2648@fastmail.fm>\n"
"Language-Team: Esperanto <https://translations.documentfoundation.org/projects/libo_ui-master/vclmessages/eo/>\n"
@@ -13,7 +13,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Accelerator-Marker: ~\n"
-"X-Generator: Weblate 4.8.1\n"
+"X-Generator: LibreOffice\n"
"X-POOTLE-MTIME: 1557095333.000000\n"
#. k5jTM
@@ -848,346 +848,219 @@ msgctxt "SV_STDTEXT_ALLFILETYPES"
msgid "Any type"
msgstr "Ajna tipo"
-#. FD7Bf
-#: vcl/inc/strings.hrc:70
-msgctxt "STR_FPICKER_AUTO_EXTENSION"
-msgid "~Automatic file name extension"
-msgstr "Aŭtomata dosiernoma sufikso"
-
-#. 9ECLu
-#: vcl/inc/strings.hrc:71
-msgctxt "STR_FPICKER_PASSWORD"
-msgid "Save with pass~word"
-msgstr "Konservi kun pasvorto"
-
-#. nyers
-#. dear loplugins, please don't remove this constant, it will be used in follow-up commits
-#: vcl/inc/strings.hrc:73
-msgctxt "STR_FPICKER_GPGENCRYPT"
-msgid "Encrypt with ~GPG key"
-msgstr "Ĉifri per GPG-ŝlosilo"
-
-#. Z2MmL
-#: vcl/inc/strings.hrc:74
-msgctxt "STR_FPICKER_FILTER_OPTIONS"
-msgid "~Edit filter settings"
-msgstr "Redakti agordojn de filtrado"
-
-#. ZDE7y
-#: vcl/inc/strings.hrc:75
-msgctxt "STR_FPICKER_READONLY"
-msgid "~Read-only"
-msgstr "Nurlega"
-
-#. EYvCH
-#: vcl/inc/strings.hrc:76
-msgctxt "STR_FPICKER_INSERT_AS_LINK"
-msgid "Insert as ~Link"
-msgstr "Enmeti kiel ligilon"
-
-#. zpPD6
-#: vcl/inc/strings.hrc:77
-msgctxt "STR_FPICKER_SHOW_PREVIEW"
-msgid "Pr~eview"
-msgstr "Antaŭvido"
-
-#. L7QTs
-#: vcl/inc/strings.hrc:78
-msgctxt "STR_FPICKER_PLAY"
-msgid "~Play"
-msgstr "Legi"
-
-#. rPLAU
-#: vcl/inc/strings.hrc:79
-msgctxt "STR_FPICKER_VERSION"
-msgid "~Version:"
-msgstr "Versio:"
-
-#. dMPHM
-#: vcl/inc/strings.hrc:80
-msgctxt "STR_FPICKER_TEMPLATES"
-msgid "S~tyles:"
-msgstr "Stiloj:"
-
-#. TeuRr
-#: vcl/inc/strings.hrc:81
-msgctxt "STR_FPICKER_IMAGE_TEMPLATE"
-msgid "Frame Style: "
-msgstr "Kadra stilo: "
-
-#. Cq63y
-#: vcl/inc/strings.hrc:82
-msgctxt "STR_FPICKER_IMAGE_ANCHOR"
-msgid "A~nchor: "
-msgstr "Ankri: "
-
-#. 7yacA
-#: vcl/inc/strings.hrc:83
-msgctxt "STR_FPICKER_SELECTION"
-msgid "~Selection"
-msgstr "Elektaĵo"
-
-#. QFCuE
-#: vcl/inc/strings.hrc:84
-msgctxt "STR_FPICKER_FOLDER_DEFAULT_TITLE"
-msgid "Select Path"
-msgstr "Elekti vojprefikson"
-
-#. AoCzG
-#: vcl/inc/strings.hrc:85
-msgctxt "STR_FPICKER_FOLDER_DEFAULT_DESCRIPTION"
-msgid "Please select a folder."
-msgstr "Bonvolu elekti dosierujon."
-
-#. vcC7G
-#: vcl/inc/strings.hrc:86
-msgctxt "STR_FPICKER_ALREADYEXISTOVERWRITE_PRIMARY"
-msgid "A file named \"$filename$\" already exists. Do you want to replace it?"
-msgstr "Jam ekzistas dosiero nomita \"$filename$\". Ĉu vi volas anstataŭigi ĝin?"
-
-#. MKKjJ
-#: vcl/inc/strings.hrc:87
-msgctxt "STR_FPICKER_ALREADYEXISTOVERWRITE_SECONDARY"
-msgid "The file already exists in \"$dirname$\". Replacing it will overwrite its contents."
-msgstr "La dosiero jam ekzistas en \"$dirname$\". Anstataŭigi ĝin ŝanĝos ĝian enhavon."
-
-#. pF5CC
-#: vcl/inc/strings.hrc:88
-msgctxt "STR_FPICKER_ALLFORMATS"
-msgid "All Formats"
-msgstr "Ĉiuj formatoj"
-
-#. xJLGT
-#: vcl/inc/strings.hrc:89
-msgctxt "STR_FPICKER_OPEN"
-msgid "Open"
-msgstr "Malfermi"
-
-#. W5xGp
-#: vcl/inc/strings.hrc:90
-msgctxt "STR_FPICKER_SAVE"
-msgid "Save"
-msgstr "Konservi"
-
-#. QxrYy
-#: vcl/inc/strings.hrc:91
-msgctxt "STR_FPICKER_TYPE"
-msgid "File ~type"
-msgstr "Dosiertipo"
-
#. qfg3C
-#: vcl/inc/strings.hrc:93
+#: vcl/inc/strings.hrc:70
msgctxt "SV_ACCESSERROR_NO_FONTS"
msgid "No fonts could be found on the system."
msgstr "Ne eblis trovi tiparojn."
#. rWAuM
-#: vcl/inc/strings.hrc:95
+#: vcl/inc/strings.hrc:72
msgctxt "SV_PRINT_NOPAGES"
msgid "No pages"
msgstr "Neniu paĝo"
#. SFF7G
-#: vcl/inc/strings.hrc:96
+#: vcl/inc/strings.hrc:73
msgctxt "SV_PRINT_NOPREVIEW"
msgid "Preview is disabled"
msgstr "Antaŭrigardo estas malŝaltita"
#. xMtCc
-#: vcl/inc/strings.hrc:97
+#: vcl/inc/strings.hrc:74
msgctxt "SV_PRINT_TOFILE_TXT"
msgid "Print to File..."
msgstr "Presi al dosiero"
#. GBDRJ
-#: vcl/inc/strings.hrc:98
+#: vcl/inc/strings.hrc:75
msgctxt "SV_PRINT_DEFPRT_TXT"
msgid "Default printer"
msgstr "Apriora presilo"
#. 8BSG2
-#: vcl/inc/strings.hrc:99
+#: vcl/inc/strings.hrc:76
msgctxt "SV_PRINT_QUERYFAXNUMBER_TXT"
msgid "Please enter the fax number"
msgstr "Enigu la faksnumeron"
#. GtHUE
-#: vcl/inc/strings.hrc:100
+#: vcl/inc/strings.hrc:77
msgctxt "SV_PRINT_CUSTOM_TXT"
msgid "Custom"
msgstr "Propra"
#. yPJTL
-#: vcl/inc/strings.hrc:102
+#: vcl/inc/strings.hrc:79
msgctxt "SV_EDIT_WARNING_STR"
msgid "The inserted text exceeded the maximum length of this text field. The text was truncated."
msgstr "La enmetita teksto superas la maksimuman longon de ĉi tiu tekstkampo. La teksto estis detranĉita."
#. Dk4vc
-#: vcl/inc/strings.hrc:104
+#: vcl/inc/strings.hrc:81
msgctxt "SV_APP_CPUTHREADS"
msgid "CPU threads: "
msgstr "CPU-fadenoj: "
#. 5DyEd
-#: vcl/inc/strings.hrc:105
+#: vcl/inc/strings.hrc:82
msgctxt "SV_APP_OSVERSION"
msgid "OS: "
msgstr "Operaciumo: "
#. Yqrwo
-#: vcl/inc/strings.hrc:106
+#: vcl/inc/strings.hrc:83
msgctxt "SV_APP_UIRENDER"
msgid "UI render: "
msgstr "Fasada bildigo: "
#. HnDDn
-#: vcl/inc/strings.hrc:107
+#: vcl/inc/strings.hrc:84
msgctxt "SV_APP_SKIA_VULKAN"
msgid "Skia/Vulkan"
msgstr "Skia/Vulkan"
#. f5k6D
-#: vcl/inc/strings.hrc:108
+#: vcl/inc/strings.hrc:85
msgctxt "SV_APP_SKIA_METAL"
msgid "Skia/Metal"
msgstr "Skia/Metala"
#. n2Hto
-#: vcl/inc/strings.hrc:109
+#: vcl/inc/strings.hrc:86
msgctxt "SV_APP_SKIA_RASTER"
msgid "Skia/Raster"
msgstr "Skia/Raster"
#. ZitRE
-#: vcl/inc/strings.hrc:110
+#: vcl/inc/strings.hrc:87
msgctxt "SV_APP_DEFAULT"
msgid "default"
msgstr "apriora"
#. 4gWk5
-#: vcl/inc/strings.hrc:112
+#: vcl/inc/strings.hrc:89
msgctxt "SV_MSGBOX_INFO"
msgid "Information"
msgstr "Informo"
#. 5gAyW
-#: vcl/inc/strings.hrc:113
+#: vcl/inc/strings.hrc:90
msgctxt "SV_MSGBOX_WARNING"
msgid "Warning"
msgstr "Averto"
#. buqyG
-#: vcl/inc/strings.hrc:114
+#: vcl/inc/strings.hrc:91
msgctxt "SV_MSGBOX_ERROR"
msgid "Error"
msgstr "Eraro"
#. 3CTTS
-#: vcl/inc/strings.hrc:115
+#: vcl/inc/strings.hrc:92
msgctxt "SV_MSGBOX_QUERY"
msgid "Confirmation"
msgstr "Konfirmo"
#. drUB5
-#: vcl/inc/strings.hrc:117
+#: vcl/inc/strings.hrc:94
msgctxt "STR_TEXTUNDO_DELPARA"
msgid "delete line"
msgstr "forigi linion"
#. cxFKH
-#: vcl/inc/strings.hrc:118
+#: vcl/inc/strings.hrc:95
msgctxt "STR_TEXTUNDO_CONNECTPARAS"
msgid "delete multiple lines"
msgstr "forigi plurajn liniojn"
#. 7KPRL
-#: vcl/inc/strings.hrc:119
+#: vcl/inc/strings.hrc:96
msgctxt "STR_TEXTUNDO_SPLITPARA"
msgid "insert multiple lines"
msgstr "enmeti plurajn liniojn"
#. R2cyr
-#: vcl/inc/strings.hrc:120
+#: vcl/inc/strings.hrc:97
msgctxt "STR_TEXTUNDO_INSERTCHARS"
msgid "insert '$1'"
msgstr "enmeti '$1'"
#. 66FYV
-#: vcl/inc/strings.hrc:121
+#: vcl/inc/strings.hrc:98
msgctxt "STR_TEXTUNDO_REMOVECHARS"
msgid "delete '$1'"
msgstr "forigi '$1'"
#. YhJ4x
#. descriptions of accessible objects
-#: vcl/inc/strings.hrc:124
+#: vcl/inc/strings.hrc:101
msgctxt "STR_SVT_ACC_DESC_TABLISTBOX"
msgid "Row: %1, Column: %2"
msgstr "Vico: %1, Kolumno: %2"
#. 5RjLF
-#: vcl/inc/strings.hrc:125
+#: vcl/inc/strings.hrc:102
msgctxt "STR_SVT_ACC_EMPTY_FIELD"
msgid "Empty Field"
msgstr "Malplena kampo"
#. TcNJT
-#: vcl/inc/strings.hrc:127
+#: vcl/inc/strings.hrc:104
msgctxt "STR_SVT_CALENDAR_DAY"
msgid "Day"
msgstr "Tago"
#. DhSTi
-#: vcl/inc/strings.hrc:128
+#: vcl/inc/strings.hrc:105
msgctxt "STR_SVT_CALENDAR_WEEK"
msgid "Week"
msgstr "Semajno"
#. 5Eyy3
-#: vcl/inc/strings.hrc:129
+#: vcl/inc/strings.hrc:106
msgctxt "STR_SVT_CALENDAR_TODAY"
msgid "Today"
msgstr "Hodiaŭ"
#. rSVhV
-#: vcl/inc/strings.hrc:131
+#: vcl/inc/strings.hrc:108
msgctxt "STR_WIZDLG_ROADMAP_TITLE"
msgid "Steps"
msgstr "Paŝoj"
#. wEp9A
-#: vcl/inc/strings.hrc:132
+#: vcl/inc/strings.hrc:109
msgctxt "STR_WIZDLG_FINISH"
msgid "~Finish"
msgstr "Fini"
#. ygXBw
-#: vcl/inc/strings.hrc:133
+#: vcl/inc/strings.hrc:110
msgctxt "STR_WIZDLG_NEXT"
msgid "~Next >"
msgstr "Sekva >"
#. 5MSDe
-#: vcl/inc/strings.hrc:134
+#: vcl/inc/strings.hrc:111
msgctxt "STR_WIZDLG_PREVIOUS"
msgid "< Bac~k"
msgstr "< Antaŭa"
#. urFMt
-#: vcl/inc/strings.hrc:136
+#: vcl/inc/strings.hrc:113
msgctxt "STR_SEPARATOR"
msgid "Separator"
msgstr "Apartigilo"
#. eCq2K
-#: vcl/inc/strings.hrc:138
+#: vcl/inc/strings.hrc:115
msgctxt "STR_FILEEXT_NONDEFAULT_ASK_TITLE"
msgid "Default file formats not registered"
msgstr "Aprioraj dosieraj formatoj ne registriĝis."
#. TDctx
-#: vcl/inc/strings.hrc:139
+#: vcl/inc/strings.hrc:116
msgctxt "STR_FILEEXT_NONDEFAULT_ASK_MSG"
msgid ""
"The following file formats are not registered to be opened by default in %PRODUCTNAME:\n"
@@ -1199,7 +1072,7 @@ msgstr ""
"Elektu Akcepti se vi volas ŝanĝi la registrojn de apriora dosiera formato."
#. EkzSW
-#: vcl/inc/strings.hrc:141
+#: vcl/inc/strings.hrc:118
msgctxt "KEY_VERSION_CHECK"
msgid ""
"Warning: Not all of the imported EPS graphics could be saved at level1\n"
@@ -1209,31 +1082,31 @@ msgstr ""
"ĉar iuj apartenas al pli alta nivelo!"
#. 4jvA7
-#: vcl/inc/strings.hrc:143
+#: vcl/inc/strings.hrc:120
msgctxt "STR_GBU"
msgid "Graphics Backend used: %1"
msgstr "Grafika malantaŭaĵo uzata: %1"
#. FBgmu
-#: vcl/inc/strings.hrc:144
+#: vcl/inc/strings.hrc:121
msgctxt "STR_PASSED"
msgid "Passed Tests: %1"
msgstr "Sukcesis en testoj: %1"
#. 3nqZp
-#: vcl/inc/strings.hrc:145
+#: vcl/inc/strings.hrc:122
msgctxt "STR_QUIRKY"
msgid "Quirky Tests: %1"
msgstr "Kapricaj testoj: %1"
#. KhjFD
-#: vcl/inc/strings.hrc:146
+#: vcl/inc/strings.hrc:123
msgctxt "STR_FAILED"
msgid "Failed Tests: %1"
msgstr "Malsukcesis testoj: %1"
#. uKGQi
-#: vcl/inc/strings.hrc:147
+#: vcl/inc/strings.hrc:124
msgctxt "STR_SKIPPED"
msgid "Skipped Tests: %1"
msgstr "Preteriris testojn: %1"
e/for-julien2412'>private/lmamane/for-julien2412 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sw/qa/uibase/uiview/uiview.cxx
AgeCommit message (Collapse)Author
2025-01-31tdf#146549 sw: Make the formatting toolbar visibleTibor Nagy
when moving the cursor to an editable section in read-only mode. Change-Id: I7ed5837eb627a3db00b1b64516b790cc7a3aea01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180890 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-11-29tdf#146553 Enable additonal functions in editable section while in r/o modeOliver Specht
Insert/Edit table, insert lists, insert AutoText automatic spell checking Change-Id: Iccef3965316dc6079ea56a0283023c5a658512cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165031 Tested-by: Jenkins Tested-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de> Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-11-25tdf#152839 remove paragraph spacing attributes in fill cellsOliver Specht
Invisible cells in Word are added to Writer tables to get regular tables. Borders of such cells are allready switched off. Now also paragraph spacing is removed to not determine the row height. Change-Id: I27d3d033de54f051527cf29e2655e7a564d1a5ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176219 Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de> Tested-by: Jenkins
2024-11-24Turn SW_MOD macro to a functionMike Kaganski
Change-Id: Ide1f6fd2fc8a80b31353a14e416505a2349cea2b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177071 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-11-19tdf#163956 calculate line height differently in FORMTEXTOliver Specht
Lines containing EN_SPACES only ignore character height while calculating line height. In FORMTEXT fieldmarks the character height of the default EN_SPACES is not ignored. Change-Id: I8a89f13875f61ed287ce1697a91b42f20bd17192 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176147 Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de> Tested-by: Jenkins
2024-10-30SwModelTestBase: add getSwTextDoc and use it everywhereXisco Fauli
Change-Id: I09f132a9c79f0aa4c3f4d3ca5f2fed233d0dcb06 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175641 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-29UnoApiTest: rename load to loadFromURL and use it everywhereXisco Fauli
Change-Id: Ie67eebec74f783fa0c29acfb23bb83bc582812b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175724 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
2024-10-25sw/qa: simplify a bitXisco Fauli
Change-Id: I5d75561f06ce4f981927afb333af5a99bd7ffe26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175645 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
2024-10-25sw/qa: use getSwDocShell() when possibleXisco Fauli
Change-Id: Ia2e3dad4e62fb084c3a88564deb137cbcc7728b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175573 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-05Use good old string literals in assertXPath and friendsMike Kaganski
These are only sent to an external API expecting char*-like strings, or for comparison. Having every assertXPath having three of _[ou]str is too much syntactic noise, making the unit tests almost unreadable. Change-Id: Ic004a36ea75e7bfe0b96f405c40f926a957b51cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174416 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
2024-06-13loplugin:ostr in sw/qaNoel Grandin
Change-Id: Ib67997a3f491afaec380ef65bc60588362d9cc3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168812 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-12-18tdf#158686 sw floattable: fix print preview crashMiklos Vajna
Regression from commit b8521d969ab5be4fc947e467d4afe969f9d3b563 (tdf#157263 sw floattable: prefer join over split after moving fwd, 2023-09-25), enabling Options -> Writer -> Formatting Aids -> Hidden Characters, then opening the bugdoc, finally Toggle Print Preview on the toolbar resulted in a crash. We have a memory corruption here: ==11968==ERROR: AddressSanitizer: heap-use-after-free on address 0x60f0000734e0 at pc 0x7f473822d2ee bp 0x7fffdadd3660 sp 0x7fffdadd3658 READ of size 8 at 0x60f0000734e0 thread T0 #0 0x7f473822d2ed in rtl::Reference<FmXFormShell>::operator->() const /include/rtl/ref.hxx:216:9 #1 0x7f473821feeb in FmFormShell::IsActiveControl() const /svx/source/form/fmshell.cxx:1227:12 #2 0x7f46dad4d52a in SwView::SelectShell() /sw/source/uibase/uiview/view.cxx:296:40 #3 0x7f46dad496a6 in SwView::AttrChangedNotify(LinkParamNone*) /sw/source/uibase/uiview/view.cxx:572:13 ... #32 0x7f4748944cda in SfxViewFrame::SwitchToViewShell_Impl(unsigned short, bool) /sfx2/source/view/viewfrm.cxx:2552:32 #33 0x7f47488f4e3b in SfxViewFrame::ExecView_Impl(SfxRequest&) /sfx2/source/view/viewfrm.cxx:2637:29 freed by thread T0 here: #0 0x5568ff2f9a7b in operator delete(void*, unsigned long) /home/abuild/rpmbuild/BUILD/llvm-15.0.7.src/build/../projects/compiler-rt/lib/asan/asan_new_delete.cpp:164:3 #1 0x7f4738214346 in FmFormShell::~FmFormShell() /svx/source/form/fmshell.cxx:181:1 #2 0x7f4746b04b9d in SfxDispatcher::FlushImpl() /sfx2/source/control/dispatch.cxx:1412:13 #3 0x7f4746aff767 in SfxDispatcher::Flush() /sfx2/source/control/dispatch.cxx:157:26 #4 0x7f47489100dc in SfxViewFrame::PopShellAndSubShells_Impl(SfxViewShell&) /sfx2/source/view/viewfrm.cxx:1100:24 #5 0x7f47489441a3 in SfxViewFrame::SwitchToViewShell_Impl(unsigned short, bool) /sfx2/source/view/viewfrm.cxx:2538:13 #6 0x7f47488f4e3b in SfxViewFrame::ExecView_Impl(SfxRequest&) /sfx2/source/view/viewfrm.cxx:2637:29 I.e. a new SwPagePreview replaces the old SwView, but the order is that SfxViewFrame::SwitchToViewShell_Impl() starts with deleting the SfxShells of the old SwView in PopShellAndSubShells_Impl(), then it creates the new shell, finally deletes the old shell. Given that the new shell hides hidden characters and the old shell did not, this triggers a size notification for the half-deleted old shell and we crash. Seeing that SwView::AttrChangedNotify() already had code to delay the selection of an SfxShell in the old SwView, fix the problem by introducing a new flag that allows not selecting an SfxShell at all if the old view is known to be deleted in the near future anyway. An alternative would be to make sure that all relevant pointers are maintained using an SfxBroadcaster / SfxListener protocol, but after fixing some 4 of them and that's still not enough, probably it's better to handle this at a higher level. It's also a bit unclear how this "worked" in the past; looks like the old view didn't get the size change notification by accident. Change-Id: I423ff946f8235848cc3a870bc52fcf88a721fd2b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160925 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2023-11-19Extended loplugin:ostr: swStephan Bergmann
Change-Id: I210f61f6d90776b086b7058fb1a831d235699fb7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159670 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-02-23SwModelTestBase: add selectShape helperXisco Fauli
See discussion in https://gerrit.libreoffice.org/c/core/+/147506 Change-Id: If3f3b471d5053dbc1bf34383e64e9672d026aaae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147515 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-23UnoApiTest: factor out createTempFileXisco Fauli
Change-Id: I8d7bb4593839d3660b6609d836b09d50b68f5712 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143141 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-11SwModelTestBase: use createSwDoc everywhereXisco Fauli
In order to unify the code Also call getSwDoc only when it's needed so move it outside createSwDoc Change-Id: I082d46108581e8f2e2e430e854980035f471ceac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142586 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-08swmodeltestbase: remove duplicated methodXisco Fauli
save needs to set mbExported to true, otherwise parseExport returns nullptr Change-Id: I1ba779e0ac0f20663fb722df16210ca144717479 Change-Id: I330abdc72226d5ac7b4d6747bdcc48cedfc9e90f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142400 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-04SwModelTestBase: make mpTestDocumentPath privateXisco Fauli
in preparation for future inheritance from UnoApiTest Change-Id: Ie5dee5af3609d8490d7d7bad0d6dbc4c8fc17bb9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142280 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-09-29split utl::TempFile into fast and named variantsNoel Grandin
which makes it easier to know what each variant requires to stay on it's happy path Change-Id: I3275a2543573367714bc78092e882f6535507285 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140469 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-08-23sw: fix missing cache invalidation when switching between imagesMiklos Vajna
It is possible to disable toolbar buttons from UNO API client code by registering a dispatch provider interceptor and then returning an empty reference when the UNO command associated with that toolbar button is queried for a dispatch. Such querying of a dispatch happens when changing context (e.g. text -> image selection), but not when switching between two images. A benefit of the current approach is that once a button is disabled this way, it remains disabled without re-querying the dispatch provider, which helps performance. A downside is that in case the dispatch provider intercepts the command based on the current selection (e.g. currently selected image), then switching to an other image won't re-query the dispatch provider, for at least two reasons: - SfxBindings::Register_Impl() is only called when the dispatcher is an internal one (e.g. not implemented in Java), so there is no listener that would re-query the state on selection change - even if we re-query the dispatch provider, the actual toolbar button won't be updated if the initial dispatch was an empty reference, since updating works by registering a status listener on the returned dispatch object in svt::ToolboxController::bindListener() Fix the problem by explicitly calling contextChanged() on the current frame when switching between images (but not changing context), similar to how SvtCommandOptions_Impl::Notify() invalidates registered dispatch objects when the configuration (on what commands are disabled) changes. This only helps with images and OLE objects, other object types are kept unchanged for now. Change-Id: I7f33dd2804067acf5cb0ca836f6a2a69fa950a8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138724 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2021-10-31Prepare for removal of non-const operator[] from Sequence in swMike Kaganski
Change-Id: Ie9530262e4addec01091cc1147e68be5b5a782f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124398 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-06-07sw keep aspect ratio: add filter for this settingMiklos Vajna
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: https://gerrit.libreoffice.org/c/core/+/116791 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2021-01-10fix coverity parse errorsCaolán McNamara
Change-Id: I4884bfb67a061b865e8cf38b2fea6de0cb1bc3d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109057 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-12-26New loplugin:stringliteralvarStephan Bergmann
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: https://gerrit.libreoffice.org/c/core/+/108239 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-11-24tdf#42949 Fix new IWYU warnings in directory swGabor Kelemen
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I4bb84c3f401aba8a3dede9cec3a7f2187a2ba02a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106473 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-11-19sw replacement image creation: fix this when an ODT's settings.xml is invalidMiklos Vajna
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: https://gerrit.libreoffice.org/c/core/+/106068 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2020-09-09sw: rename CppunitTest_sw_updateall_object_replacements to sw_uibase_uiviewMiklos Vajna
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: https://gerrit.libreoffice.org/c/core/+/102274 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>