summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2013-12-09fix equalsAscii conversion. Noticed in fdo#72391Noel Grandin
In commit 363cc397172f2b0a94d9c4dc44fc8d95072795a3 "convert equalsAsciiL calls to startWith calls where possible" I incorrectly converted equalsAsciiL calls to startsWith calls. This commit fixes those places to use the == OUString operator. Change-Id: If76993baf73e3d8fb3bbcf6e8314e59fdc1207b6
2013-12-06Clean up includes of comphelper/stl_types.hxxStephan Bergmann
Change-Id: I00a8e794189d17ad91a90beb9ce6cb89b7bab2aa
2013-12-06Default OMultiTypeInferfaceContainerHelperVar equalImpl parameterStephan Bergmann
...and assorted OUStringHash clean up Change-Id: I779904e1275e8df88f567beb388d1d11af9e9671
2013-12-06Get rid of DECLARE_STL_MAPStephan Bergmann
Change-Id: Ifbda934a89087fcc1c031978d3e5b5783722b328
2013-12-06Get rid of DECLARE_STL_STDKEY_MAPStephan Bergmann
Change-Id: I099f94922acba0bf9cde22fbbb3eefc230776868
2013-12-06Get rid of DECLARE_STL_VECTORStephan Bergmann
Change-Id: If4588034fc09e4663b5217669c71f26c0a3b8c8a
2013-12-06Get rid of DECLARE_STL_USTRINGACCESS_MAPStephan Bergmann
Change-Id: I00d02eaeff3eaa5f49550eb9c1d4e4e7e0b2203c
2013-12-05Get rid of comphelper::UStringLessStephan Bergmann
...default std::less<OUString> is just fine. Change-Id: Ib9d3c10f2817d757f3c19eb3d4607095883af91a
2013-12-05Get rid of DECLARE_STL_STDKEY_SETStephan Bergmann
Change-Id: I4817694d183d525fa5a29eb9693a20d491549e5d
2013-12-05convert add model dialog to .uiCaolán McNamara
Change-Id: I20d10d0e9c311bcfb1386d481ae4832f463b931a
2013-12-05convert add namespace dialog to .uiCaolán McNamara
Change-Id: I3636da91d39b2759dca72f30cc7b086b6f9cbb16
2013-12-05Resolves: fdo#34396 use default units in extrusion depth dialogCaolán McNamara
Change-Id: I43b80d0fd70c97f923977aa1d496e9ed7d9a61f1
2013-12-05Related: fdo#34396 convert extrusion dialog to .uiCaolán McNamara
Change-Id: Iea6e42fb7b65e148dcf6b566a7595b9e18f2e2eb
2013-12-05Remove obsolete SEQTYPE workaroundStephan Bergmann
Change-Id: I366b29038be034b03a16fa6d7f6873dc78d8d88f
2013-12-04convert Contour queryboxes to .uiManal Alhassoun
Change-Id: Ie6dad2409a7d58a1c01973e8740f436cb597cb99 Reviewed-on: https://gerrit.libreoffice.org/6923 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-03convert SvxNumberFormatShell::AddFormat from xub_Strlen to sal_Int32Noel Grandin
And make the return code be -1 for error. Change-Id: I17d066180a604208f0ad689d5dffb77d126c256b
2013-12-02restore SdrMarkView::HasMarkableObj, etc.Caolán McNamara
Change-Id: Ib5c0d5028792708bc0ac0e756aa47d486443bbb7
2013-12-02fdo#71748 Fix color pickersMaxim Monastirsky
This commit includes the following changes: 1) Remove boxes from PNG files, and draw them ourselves. This will ensure that the color rec will always fit the box. Also it will make all color pickers look the same, and greatly simplify the code. (a part of the code was not reachable anyway.) 2) Fix color preview for toolbar large icons. (a regression of commit f59c47fc1e79050d3342924e6173b0f4b6ddaf02.) 3) Fix sidebar paragraph color picker initial drawing. reset should be called *after* the icon assignment. Change-Id: I13ae02bc3dd68dd14877ccc949784072c58bf211 Reviewed-on: https://gerrit.libreoffice.org/6882 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-02Drop duplicate #includeTakeshi Abe
Change-Id: Ife8ebbb5e46704c5d2ff46cc345b4ed926e7dc12
2013-11-30mark non-translatable .ui strings explicitely as suchAndras Timar
so bin/ui-translatable.sh will not find false positives Change-Id: I35e98ba22ba8c0cc9bbf0de40b31be421acc4c15
2013-11-30make some .ui strings translatableAndras Timar
Change-Id: I3e2a93ac7521b4b484a96da22efac0b4cb52b333
2013-11-28warning C4702: unreachable codeStephan Bergmann
Change-Id: I2893c55ffbf86b5879f252a0d9e2ae77a229e7b6
2013-11-28warning C4702: unreachable codeStephan Bergmann
Change-Id: Id5cf39a4b8d55b2060a65103e4f02589d03e3ee1
2013-11-28Use rtl::Reference instead of std::auto_ptrStephan Bergmann
Change-Id: I4402b0b259c0dcd03a222993c861114028d6fb75
2013-11-28we will need getColorConfig, etc. againCaolán McNamara
Change-Id: Ie7f8d37b550c788fd6235a5de4bbcc51ac6f8150
2013-11-27error C2872: 'accessibility' : ambiguous symbolCaolán McNamara
Change-Id: Ibff922712e25a846bab1628e87d0d322d1ff0a33 Reviewed-on: https://gerrit.libreoffice.org/6836 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-27C2872: 'accessibility' : ambiguous symbolCaolán McNamara
Change-Id: I9a7f5a768346539f14c1fc84d1c60e99107e3899
2013-11-27removed pCaptionObj from accessibilityArmin Le Grand
it was not initialized but accessed in one place. Checked with symphony code, there was a set method which is not in AOO trunk, thus solved accesses to zero pointer usage (cherry picked from commit bd0c3b940f6006d3cb49381230795db667aeb943) Conflicts: svx/inc/svx/svdobj.hxx svx/source/svdraw/svdobj.cxx Change-Id: Ic8dec5c6def35753d757066c7ea02e1a92b46f6c
2013-11-27statement aligned as second statement in if body but not in a statement blockStephan Bergmann
Change-Id: I497a31b35d68a31155fd31bcd3d07e782be944c3
2013-11-27-Werror,-Wunused-variableStephan Bergmann
Change-Id: Ia202059eb891b1088dc276c963e16ede93fe8d05
2013-11-27-Werror,-Wunused-variableStephan Bergmann
Change-Id: Id3e24e7efd84db03d0d1636bf099bac3fede55db
2013-11-27Integrate branch of IAccessible2Steve Yin
Change-Id: I8327fb4ba2a86d4caa52b875221175b80464842a
2013-11-27restore GetChild, etc. we will need them againCaolán McNamara
Change-Id: Ic6da34e58975d85c84ded96fa90873558589f54a
2013-11-27convert link warning dialog to .uiCaolán McNamara
the amount of code required for the new vs old dialog is amusing Change-Id: I7feee572eecd94fab3e8c2210755b70832cbd2f2
2013-11-26Integrate branch of IAccessible2Steve Yin
WaE: Reorder initializations to prevent compiler warnings. (cherry picked from commit c05431aa92fa2c7c7258418a6ecd651b5c26d982) WaE: unname unused variable to prevent compiler warnings. (cherry picked from commit 2259256a390c4b6f83cfb5dbe4a65df5032aee47) Conflicts: editeng/source/accessibility/AccessibleEditableTextPara.cxx ad61537527a74670af266feb9e4d26d2d654daf7 66044902b8d94fc15d4c30270e6cc419fb7d3565 Change-Id: I3ec9798f2c7d854824722c0cf44b62128b4f4cb4
2013-11-23widht -> widthJulien Nabet
Change-Id: I661eeb167a95540a223ce72aac51789daf3767dc
2013-11-22replace OUString::reverseCompareTo("xxx") with operator==Noel Grandin
operator== with OUString and literal internally does a reverse-compare (via OUString::equalsAsciiL) anyway, so no need to keep explicit calls to OUString::reverseCompareTo with literal argument Change-Id: I799d9bcd0d5c308a9547ce7cacb2db6042fdb643
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-22remove unnecessary use of OUString constructor in equalsIgnoreAsciiCaseNoel Grandin
Convert code like: sType.equalsIgnoreAsciiCase(OUString("VIEW")); to: sType.equalsIgnoreAsciiCase("VIEW"); Change-Id: I6fb47e6a83b561c7e5a25da76b63606a3174858d
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::equalsIgnoreAsciiLNoel Grandin
Convert code like: aStr.equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("XGRAD_SEQ_BEGIN")) to: aStr.equalsIgnoreAsciiCase("XGRAD_SEQ_BEGIN") which compiles down to the same code. Change-Id: Ia69289d853d292b2f27b68863cb6f6ecdbf1a71e
2013-11-21remove unnecessary RTL_CONSTASCII_STRINGPARAM in OUString::equalsLNoel Grandin
Convert code like this: if (aStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aStr == "rem") which compiles down to the same code. Change-Id: I2dfa0f0a457c465948ecf720daaa45ff29d69de9
2013-11-20Don't set Referer when accessing embedded mediaStephan Bergmann
Change-Id: I9a1709eb0d5bb81c6c90c4b9f90ff7bed74cda67
2013-11-20Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"Noel Grandin
This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
2013-11-20avmedia: Implement "block untrusted referer links" featureStephan Bergmann
See f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db "rhbz#887420 Implement 'block untrusted referer links' feature" for details. This adds some further /*TODO?*/ comments, and one known problem (marked /*TODO!*/) is that movies/sounds are not blocked during a slideshow presentation. Change-Id: Ib2d0c7e4f7b02c4bdec0d8a90cee5e7e1bee8325
2013-11-20wrong border extraction mechanismCaolán McNamara
Change-Id: I70925b9e8f5eb0e735200e2f57a892ada9fad379
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OUString::matchAsciiL callsNoel Grandin
Convert code like: defaultValue.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "nextval(" ) ); to: defaultValue.startsWith( "nextval(" ); Change-Id: I77bdcbf46bec6ded3c16a8248634b1424a1eb4f0
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL callsNoel Grandin
Convert code like: if (aByteStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aByteStr.startsWith("rem")) Change-Id: I09e40b3fdc87d59a8176c2a5f39cc6aa5cf5a576
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OStringBuffer constructorNoel Grandin
Convert code like: OStringBuffer aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OStringBuffer aKeyName("NDX"); which compiles down to the same code Change-Id: If9c96a290bc18cc8285fb733f27be58c6958b63c
2013-11-20String clean-upStephan Bergmann
Change-Id: I56c397d4cd0ad6c328d660f50189ab5f4b5cfca6
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::appendNoel Grandin
Convert code like: aOStringBuf.append( RTL_CONSTASCII_STRINGPARAM( " is missing )") ); to: aOStringBuf.append( " is missing )" ); which compiles down to the same code. Change-Id: I3d8ed0cbf96a881686524a167412d5f303c06b71