/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef INCLUDED_SAL_TEXTENC_TCVTUTF8_HXX #define INCLUDED_SAL_TEXTENC_TCVTUTF8_HXX #include #include void * ImplCreateUtf8ToUnicodeContext(); void ImplResetUtf8ToUnicodeContext(void * pContext); void ImplDestroyUtf8ToUnicodeContext(void * pContext); sal_Size ImplConvertUtf8ToUnicode( void const * pData, void * pContext, char const * pSrcBuf, sal_Size nSrcBytes, sal_Unicode * pDestBuf, sal_Size nDestChars, sal_uInt32 nFlags, sal_uInt32 * pInfo, sal_Size * pSrcCvtBytes); void * ImplCreateUnicodeToUtf8Context(); void ImplResetUnicodeToUtf8Context(void * pContext); void ImplDestroyUnicodeToUtf8Context(void * pContext); sal_Size ImplConvertUnicodeToUtf8( void const * pData, void * pContext, sal_Unicode const * pSrcBuf, sal_Size nSrcChars, char * pDestBuf, sal_Size nDestBytes, sal_uInt32 nFlags, sal_uInt32 * pInfo, sal_Size* pSrcCvtChars); #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ ion> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-21IPolyPolygonEditorController used in dynamic_cast should be SAL_DLLPUBLIC_RTTIStephan Bergmann
...so that the dynamic_cast also works on macOS (where RTTI equivalence is determined by address, not by strcmp). The two relevant dynamic_casts are in BezierObjectBar::GetAttrState and BezierObjectBar::Execute (both in sd/source/ui/view/drbezob.cxx). (They can be triggered from the Impress UI by adding any "Motion Paths" animation to a shape, then selecting and manipulating the path's control points.) The source of those dynamic_casts appears to always be sd::MotionPathTag, defined in sd/source/ui/animations/motionpathtag.hxx in the same library, so wouldn't technically require IPolyPolygonEditorController to be SAL_DLLPUBLIC_RTTI. However, while 367e8743adbe1319f5be29c001c93b747f7aa665 "INTEGRATION: CWS pathfinder01" introduced that sd::MotionPathTag deriving from IPolyPolygonEditorController, 346e0ffe907c85af85573dc42c19795ec1c9872c "INTEGRATION: CWS pathfinder01: #i41800# added inteface IPolyPolygonEditorControler to allow edit of non marked path objects" also added IPolyPolygonEditorController to SdrPolyEditView in include/svx/svdpoev.hxx, for unclear reasons. So better be conservative and assume SAL_DLLPUBLIC_RTTI is needed after all. Change-Id: Ieefabf7b00357876046014bbff098076108f9dea Reviewed-on: https://gerrit.libreoffice.org/50109 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-11Unneeded #includeMatteo Casalin
Change-Id: I61424026fff1256c620b29ae8b1eca259e048d5b
2016-08-24convert SdrPathSmoothKind to scoped enumNoel Grandin
Change-Id: I9b4a4226322c4d4eb2ab220ecf0b0efb068eea8e
2016-08-24convert SdrPathSegmentKind to scoped enumNoel Grandin
Change-Id: I1f5da7fb90b0100610677279e93b6e02347c120f
2016-08-24convert SdrObjClosedKind to scoped enumNoel Grandin
Change-Id: Icb3a6ce66687ea66f72df956dc695e0a4147365e
2016-08-12loplugin:unusedenumconstants in package..svtoolsNoel Grandin
Change-Id: I8136b93b9303ebecafd791159e813c335b1bc172 Reviewed-on: https://gerrit.libreoffice.org/28052 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-16loplugin:unusedmethods svxNoel Grandin
Change-Id: I92158457b3ffaaf7c84c6f4c87708d766c8c9f61 Reviewed-on: https://gerrit.libreoffice.org/17117 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>