aboutsummaryrefslogtreecommitdiff
path: root/source/gug/sw/messages.po
diff options
context:
space:
mode:
Diffstat (limited to 'source/gug/sw/messages.po')
-rw-r--r--source/gug/sw/messages.po110
1 files changed, 52 insertions, 58 deletions
diff --git a/source/gug/sw/messages.po b/source/gug/sw/messages.po
index 23d5cf8de35..2a3bf6a9870 100644
--- a/source/gug/sw/messages.po
+++ b/source/gug/sw/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-11-25 13:49+0100\n"
+"POT-Creation-Date: 2022-12-07 13:12+0100\n"
"PO-Revision-Date: 2019-08-19 12:02+0200\n"
"Last-Translator: pastora <pastora.leguizamon@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -575,7 +575,7 @@ msgid "This is not a valid WinWord97 file."
msgstr "Kóva ndaha'éi peteĩ marandurenda WinWord97 rehegua oĩporãva"
#. UyAsq
-#: sw/inc/error.hrc:41 sw/inc/error.hrc:60
+#: sw/inc/error.hrc:41 sw/inc/error.hrc:59
msgctxt "RID_SW_ERRHDL"
msgid "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)."
msgstr "Jejavy ysajareko ojejuhuva'ekue marandurenda kuatiamirĩ $(ARG1) en $(ARG2)(tysỹi,col).- me"
@@ -587,78 +587,72 @@ msgctxt "RID_SW_ERRHDL"
msgid "Error writing file."
msgstr "Jejavy marandurenda ojehaívo"
-#. nk6uE
-#: sw/inc/error.hrc:44
-msgctxt "RID_SW_ERRHDL"
-msgid "Wrong AutoText document version."
-msgstr "Kuatia noĩporãiva moñe'ẽrã ijeheguireíva rehegua."
-
#. FGGTM
-#: sw/inc/error.hrc:45 sw/inc/error.hrc:59
+#: sw/inc/error.hrc:44 sw/inc/error.hrc:58
msgctxt "RID_SW_ERRHDL"
msgid "Error in writing sub-document $(ARG1)."
msgstr "Jejavy ojehairõ kuatiamirĩ $(ARG1)."
#. Cosns
#. Import-/Export-Errors
-#: sw/inc/error.hrc:47 sw/inc/error.hrc:48
+#: sw/inc/error.hrc:46 sw/inc/error.hrc:47
msgctxt "RID_SW_ERRHDL"
msgid "Internal error in %PRODUCTNAME Writer file format."
msgstr "Jejavy ysajareko ryepýpe marandurenda %PRODUCTNAMEWriter. - pegua"
#. AQxBy
-#: sw/inc/error.hrc:49
+#: sw/inc/error.hrc:48
msgctxt "RID_SW_ERRHDL"
msgid "$(ARG1) has changed."
msgstr "$(ARG1) oñemoambue."
#. 8vc5F
-#: sw/inc/error.hrc:50
+#: sw/inc/error.hrc:49
msgctxt "RID_SW_ERRHDL"
msgid "$(ARG1) does not exist."
msgstr "$(ARG1) ndoĩrĩ."
#. FCni4
-#: sw/inc/error.hrc:51
+#: sw/inc/error.hrc:50
msgctxt "RID_SW_ERRHDL"
msgid "Cells cannot be further split."
msgstr "Koty'ikuéra ndaikatúi oñemboja'ove."
#. jAE8g
-#: sw/inc/error.hrc:52
+#: sw/inc/error.hrc:51
msgctxt "RID_SW_ERRHDL"
msgid "Additional columns cannot be inserted."
msgstr "Ndaikatúi oñemoingeve ytarysýikuéra"
#. sFkDS
-#: sw/inc/error.hrc:53
+#: sw/inc/error.hrc:52
msgctxt "RID_SW_ERRHDL"
msgid "The structure of a linked table cannot be modified."
msgstr "Ndaikatúi oñemoambue peteĩ jeporekaryru omoirũva ryepy."
#. CmsDd
-#: sw/inc/error.hrc:55
+#: sw/inc/error.hrc:54
#, fuzzy
msgctxt "RID_SW_ERRHDL"
msgid "Not all attributes could be read."
msgstr "Nikatúi oñemoñe'ẽ opavave atributo kuéra."
#. sFAMg
-#: sw/inc/error.hrc:56
+#: sw/inc/error.hrc:55
#, fuzzy
msgctxt "RID_SW_ERRHDL"
msgid "Not all attributes could be recorded."
msgstr "Nikatúi ojeregristra va'ekue opavave atributo kuéra."
#. a5Kkw
-#: sw/inc/error.hrc:57
+#: sw/inc/error.hrc:56
#, fuzzy
msgctxt "RID_SW_ERRHDL"
msgid "Document could not be completely saved."
msgstr "Nikatúi ojeñongatu va'ekue documento completamente."
#. ioXGn
-#: sw/inc/error.hrc:58
+#: sw/inc/error.hrc:57
msgctxt "RID_SW_ERRHDL"
msgid ""
"This HTML document contains Basic macros.\n"
@@ -10919,71 +10913,71 @@ msgid "Server _name:"
msgstr "Téra _servidor:"
#. 4PEvE
-#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:296
+#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:297
msgctxt "extended_tip|port"
msgid "Enter the port on the POP3 or IMAP server."
msgstr ""
-#. DVAwX
-#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:309
-msgctxt "authenticationsettingsdialog|port_label"
-msgid "P_ort:"
-msgstr "Y_garupa:"
-
#. RjbdV
-#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:324
+#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:311
msgctxt "authenticationsettingsdialog|label3"
msgid "Type:"
msgstr "Tipo:"
#. o6FWC
-#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:334
+#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:323
msgctxt "authenticationsettingsdialog|pop3"
msgid "_POP3"
msgstr "_POP3"
#. J8eWz
-#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:343
+#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:332
msgctxt "extended_tip|pop3"
msgid "Specifies that the incoming mail server uses POP 3."
msgstr ""
#. b9FGk
-#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:354
+#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:343
msgctxt "authenticationsettingsdialog|imap"
msgid "_IMAP"
msgstr "_IMAP"
#. hLU78
-#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:363
+#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:352
msgctxt "extended_tip|imap"
msgid "Specifies that the incoming mail server uses IMAP."
msgstr ""
#. 6rQFw
-#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:382
+#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:371
msgctxt "extended_tip|inusername"
msgid "Enter the user name for the IMAP server."
msgstr ""
#. YWCC2
-#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:403
+#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:392
msgctxt "extended_tip|inpassword"
msgid "Enter the password."
msgstr ""
#. eEGih
-#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:417
+#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:406
msgctxt "authenticationsettingsdialog|inusername_label"
msgid "Us_er name:"
msgstr "Usua_rio:"
#. hKcZx
-#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:432
+#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:421
msgctxt "authenticationsettingsdialog|inpassword_label"
msgid "Pass_word:"
msgstr "Pass_word:"
+#. DVAwX
+#: sw/uiconfig/swriter/ui/authenticationsettingsdialog.ui:436
+msgctxt "authenticationsettingsdialog|port_label"
+msgid "P_ort:"
+msgstr "Y_garupa:"
+
#. ETqet
#: sw/uiconfig/swriter/ui/autoformattable.ui:16
msgctxt "autoformattable|AutoFormatTableDialog"
@@ -11327,19 +11321,19 @@ msgid "Displays the shortcut for the selected AutoText entry. If you are creatin
msgstr ""
#. NBAos
-#: sw/uiconfig/swriter/ui/autotext.ui:506
+#: sw/uiconfig/swriter/ui/autotext.ui:508
msgctxt "autotext|category-atkobject"
msgid "Category"
msgstr "Categoría"
#. gxCjR
-#: sw/uiconfig/swriter/ui/autotext.ui:540
+#: sw/uiconfig/swriter/ui/autotext.ui:542
msgctxt "autotext|example-atkobject"
msgid "Preview"
msgstr ""
#. 2FEex
-#: sw/uiconfig/swriter/ui/autotext.ui:576
+#: sw/uiconfig/swriter/ui/autotext.ui:575
msgctxt "autotext|extended_tip|AutoTextDialog"
msgid "Creates, edits, or inserts AutoText. You can store formatted text, text with graphics, tables, and fields as AutoText. To quickly insert AutoText, type the shortcut for the AutoText in your document, and then press F3."
msgstr ""
@@ -18830,103 +18824,103 @@ msgid "_Your name:"
msgstr "_Nde réra:"
#. 9BEvE
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:109
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:110
msgctxt "mailconfigpage|address_label"
msgid "_Email address:"
msgstr ""
#. 9rEdp
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:120
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:122
msgctxt "mailconfigpage|replytocb"
msgid "Send replies to _different email address"
msgstr ""
#. jAywn
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:128
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:130
msgctxt "extended_tip|replytocb"
msgid "Uses the email address that you enter in the Reply address text box as the reply-to email address."
msgstr ""
#. AESca
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:142
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:146
msgctxt "mailconfigpage|replyto_label"
msgid "_Reply address:"
msgstr "_Mbohovái dirección:"
#. 5KJrn
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:160
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:162
msgctxt "mailconfigpage|label1"
msgid "User Information"
msgstr "Ñemomarandu usuariogui"
#. FUCZ9
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:198
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:200
msgctxt "extended_tip|server"
msgid "Enter the SMTP server name."
msgstr ""
#. zeoLy
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:218
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:220
msgctxt "mailconfigpage|serverauthentication"
msgid "Ser_ver Authentication…"
msgstr "Añe_teva Servidorgui..."
#. iERhR
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:226
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:228
msgctxt "extended_tip|serverauthentication"
msgid "Opens the Server Authentication dialog where you can specify the server authentication settings for secure email."
msgstr ""
#. AqgAF
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:250
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:252
msgctxt "extended_tip|port"
msgid "Enter the SMTP port."
msgstr ""
#. UU5RG
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:265
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:267
msgctxt "mailconfigpage|server_label"
msgid "_Server name:"
msgstr "_Téra servidor:"
#. BNGrw
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:279
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:282
msgctxt "mailconfigpage|port_label"
msgid "_Port:"
msgstr "_Ygarupa:"
#. cTjiC
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:290
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:294
msgctxt "mailconfigpage|secure"
msgid "_Use secure connection (TLS/SSL)"
msgstr ""
#. CoPAE
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:299
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:303
msgctxt "extended_tip|secure"
msgid "When available, uses a secure connection to send emails."
msgstr ""
#. U82eq
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:318
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:322
msgctxt "mailconfigpage|test"
msgid "_Test Settings"
msgstr "_Ñemboheko ahãjey"
#. tezBK
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:325
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:329
msgctxt "extended_tip|test"
msgid "Opens the Test Account Settings dialog to test the current settings."
msgstr ""
-#. msmFF
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:353
+#. TTCNG
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:357
msgctxt "mailconfigpage|label2"
-msgid "Outgoing Server (SMTP) Settings"
-msgstr "Tenda-moambue Servidor gui Sẽpapyre (SMTP)"
+msgid "Outgoing Email Server (SMTP Only)"
+msgstr ""
#. 5yzqi
-#: sw/uiconfig/swriter/ui/mailconfigpage.ui:368
+#: sw/uiconfig/swriter/ui/mailconfigpage.ui:372
msgctxt "extended_tip|MailConfigPage"
msgid "Specifies the user information and server settings for when you send form letters as email messages."
msgstr ""
te/juergen/Tests'>private/juergen/Tests LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/drtxtob1.cxx
AgeCommit message (Collapse)Author
2024-06-01loplugin:ostr in sc/../drawfuncNoel Grandin
Change-Id: I5191883a86a004f2e7c283dc0e0e77de2f7eda04 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168281 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-10tdf#157363 add HTML format when pasting into draw textOliver Specht
adds HTML to paste(special) in draw text in impress/draw/calc/writer Change-Id: Iaede82e1b3d48be362b70bd631e7f912b02b9822 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158659 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2021-11-11Drop ScGlobal::GetEmptyOUString() and EMPTY_OUSTRINGMike Kaganski
OUString default ctor already uses a static instance (through rtl_uString_new), no need to have another module-specific static. Commit d8037ae18a297229d1b79f8f76331abfd548350d had removed its sw counterpart some time ago. Change-Id: I140fe13bc1f6b0cbe188e83e602fdebe995e467a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125061 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-07use SfxItemSetFixed in scNoel Grandin
Change-Id: I5b1d66adb1b9e5dd0e470403ba7095183334cc66 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123182 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-07-19Move svl::Items to include/svl/whichranges.hxx, and unify its usageMike Kaganski
... in WhichRangesContainer and SfxItemSet ctors. Now it's not needed to explicitly use 'value' in WhichRangesContainer's ctor, or create an instance for use in SfxItemSet ctor (svl::Items is already defined as a template value of corresponding type). Instead of WhichRangesContainer Foo(svl::Items<1, 2>::value); SfxItemSet Bar(rItemPool, svl::Items<1, 2>{}); now use: WhichRangesContainer Foo(svl::Items<1, 2>); SfxItemSet Bar(rItemPool, svl::Items<1, 2>); Change-Id: I4681d952b6442732025e5a26768098878907a238 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119157 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-09-27never null ScViewData*Caolán McNamara
Change-Id: If5ad4c637a8c4db67ca4bfe99612e90ae6237ff6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103513 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07tdf#99693 Add Highlighting tab for CalcMaxim Monastirsky
Works with shapes and comments. Change-Id: I2a91a6038ab618bf7e6fd4eb2d129a9485a47fef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88163 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2019-06-21reference childwins are all weldedCaolán McNamara
Change-Id: I050b4bdff4eaa645316538725c69e83bee4a90c5 Reviewed-on: https://gerrit.libreoffice.org/74526 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-05-12drop intermediate vcl::WindowCaolán McNamara
Change-Id: If06902f0308511fb40b031899c912c36da0b610e Reviewed-on: https://gerrit.libreoffice.org/72167 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-02-27tdf#42949 Fix IWYU warnings in sc/source/ui/d*/*cxxGabor Kelemen
Also additions were needed in include/sfx2/msg.hxx to avoid build breakage Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I259ff10aaa5d044d4b11f9041174765d5a5f7dc7 Reviewed-on: https://gerrit.libreoffice.org/68364 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-07move SvTreeListBox to vclCaolán McNamara
Change-Id: I04a146d3d8a428ac1678827dc883525c40240a44 Reviewed-on: https://gerrit.libreoffice.org/62787 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-18weld ScParagraphDlgCaolán McNamara
Change-Id: I861fe82fb3e1f6d8be0a3dd191a27b27b90fbdaf Reviewed-on: https://gerrit.libreoffice.org/60530 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-18weld ScCharDlgCaolán McNamara
Change-Id: Ie0fe76ef5c5c706007c2285b3a309d92ff4bc2b0 Reviewed-on: https://gerrit.libreoffice.org/60528 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-12simplify calls to *DialogFactory::Create methodsNoel Grandin
we don't need to check for nullptr here, it's never null. Change-Id: I3cc5337a8f4dec6747821679e39ccba3cec20f56 Reviewed-on: https://gerrit.libreoffice.org/55114 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-09remove cargo cult OSL_ENSURE(pFact, "ScAbstractFactory create fail!"(Noel Grandin
Possibly this was useful once upon a time, but now it's just noise. If it failed, we're going to crash on the next line when we call a method on that pointer anyway. Change-Id: Ic601f0c3344f6895f8a6ffb3bc6f8bcb45d00a92 Reviewed-on: https://gerrit.libreoffice.org/55082 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-04-16tdf#42949 Remove unnecessary localization headers from scGabor Kelemen
Found by searching for the header names and the localization function: git grep -l -e \<scresid.hxx\> -e \<strings.hrc\> sc | xargs grep -c ScResId | grep :0$ | grep -v /pch and git grep -l -e \<globstr.hrc\> sc | xargs grep -c GetRscString | grep :0$ | grep -v /pch since global.hxx contains so much more, it's omitted from this round. This also gives some false positives used in ErrorMessage() calls or just untranslated strings. Also translate some stray German comments Change-Id: Icfea2b2942d12c3c134d419cb7c9a84534c04a86 Reviewed-on: https://gerrit.libreoffice.org/52932 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-04-03weld SvPasteObjectDialogCaolán McNamara
Change-Id: I5248950fd3650df309015fbaf4302d2541a6374a Reviewed-on: https://gerrit.libreoffice.org/52337 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-20drop unnecessary includesCaolán McNamara
Change-Id: I1a817d5575bbd57ecaa874a27158b9218e4210cc Reviewed-on: https://gerrit.libreoffice.org/51603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-23loplugin:includeform: scStephan Bergmann
Change-Id: I2ed763e0584a188032c80fde60890de3c6985cbd
2017-06-19Make SfxItemSet ranges correct by construction: Fix static casesStephan Bergmann
...with the aid of an extended compilerplugins/clang/store/sfxitemsetrewrite.cxx (which in turn needed a small addition to compilerplugins/clang/check.hxx). Enable svl::detail::validGap check for the static case, but keep it disabled for now for the dynamic case. Change-Id: I4846ba8e99aff94a86518e2cb5044e575093386e
2017-06-16Make SfxItemSet ranges correct by constructionStephan Bergmann
This is a follow-up to 45a7f5b62d0b1b21763c1c94255ef2309ea4280b "Keep WID ranges sorted, and join adjacent ones". While SfxItemSet::MergeRange relies on the m_pWhichRanges being sorted (and, under DBG_UTIL, asserts if they are not), the various SfxItemSet constructors curiously only check (via assert or DBG_ASSERT) that each individual range has an upper bound not smaller than its lower bound. Arguably, all SfxItemSet instances should fulfill the stronger guarantees required and checked by MergeRange. And in many cases the ranges are statically known, so that the checking can happen at compile time. Therefore, replace the two SfxItemSet ctors taking explicit ranges with two other ctors that actually do proper checking. The (templated) overload taking an svl::Items struct should be used in all cases where the range values are statically known at compile time, while the overload taking a std::initializer_list<Pair> is for the remaining cases (that can only do runtime checking via assert). Most of those latter cases are simple cases with a single range covering a single item, but a few are more complex. (At least some of the uses of the existing SfxItemSet overload taking a const sal_uInt16* pWhichPairTable can probably also be strengthened, but that is left for another day.) This commit is the first in a series of two. Apart from the manual changes to compilerplugins/clang/store/sfxitemsetrewrite.cxx, include/svl/itemset.hxx, and svl/source/items/itemset.cxx, it only consists of automatic rewriting of the relevant SfxItemSet ctor calls (plus a few required manual fixes, see next). But it does not yet check that the individual ranges are properly sorted (see the TODO in svl::detail::validGap). That check will be enabled, and the ensuing manual fixes will be made in a follow-up commit, to reduce the likelyhood of accidents. There were three cases of necessary manual intervention: * sw/source/core/unocore/unostyle.cxx uses eAtr of enum type RES_FRMATR in braced-init-list syntax now, so needs explicit narrowing conversion to sal_uInt16. * In sw/source/uibase/uiview/formatclipboard.cxx, the trailiing comma in the definition of macro FORMAT_PAINTBRUSH_FRAME_IDS needed to be removed manually. * In svx/source/svdraw/svdoashp.cxx, svx/source/svdraw/svdotext.cxx, sw/source/uibase/app/docstyle.cxx, sw/source/uibase/shells/frmsh.cxx, sw/source/uibase/shells/grfsh.cxx, and sw/source/uibase/shells/textsh1.cxx, some comments had to be put back (see "TODO: the replaced range can contain relevant comments" in compilerplugins/clang/store/sfxitemsetrewrite.cxx). A few uses of the variadic form erroneously used nullptr instead of 0 for termination. But this should have been harmless even if promoted std::nullptr_t is larger than promoted sal_uInt16, assuming that the part of the nullptr value that was interpreted as sal_uInt16/promoted int was all-zero bits. Similarly, some uses made the harmless error of using 0L instead of 0. Change-Id: I2afea97282803cb311b9321a99bb627520ef5e35 Reviewed-on: https://gerrit.libreoffice.org/38861 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-04tdf#39468 Translate German commentsJens Carl
First run of translating German comments and terms in sc/ Change-Id: I9802df334259edcea148bead95cc98a8057b91a1 Reviewed-on: https://gerrit.libreoffice.org/35994 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-01-09tdf#101828 handle rtf/richtext correctlyOliver Specht
Change-Id: Id894f62a918bd6e6fa59f8d546307343bf2bd4b0 Reviewed-on: https://gerrit.libreoffice.org/32682 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-10-28ScopedVclPtr vs std::unique_ptr for VclAbstractDialog derivativesCaolán McNamara
Change-Id: I5e43312b6f42ce0c63946f366eaf1e6dcb9629b2 Reviewed-on: https://gerrit.libreoffice.org/30344 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-08-17convert SvxBreak to scoped enumNoel Grandin
Change-Id: If8b79ed617e5662550bd73bd1506d047217f2313