/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dbcharsethelper.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-08 23:12:34 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. * * * GNU Lesser General Public License Version 2.1 * ============================================= * Copyright 2005 by Sun Microsystems, Inc. * 901 San Antonio Road, Palo Alto, CA 94303, USA * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA * ************************************************************************/ #ifndef SVX_DBCHARSETHELPER_HXX #define SVX_DBCHARSETHELPER_HXX #ifndef SVX_DBTOOLSCLIENT_HXX #include "dbtoolsclient.hxx" #endif //........................................................................ namespace svxform { //........................................................................ //==================================================================== //= ODataAccessCharsetHelper //==================================================================== class ODataAccessCharsetHelper : public ODbtoolsClient { protected: mutable ::rtl::Reference< ::connectivity::simple::IDataAccessCharSet > m_xCharsetHelper; //add by BerryJia for fixing Bug97420 Time:2002-9-12-11:00(PRC time) void create() const; public: ODataAccessCharsetHelper( ); inline sal_Int32 getSupportedTextEncodings( ::std::vector< rtl_TextEncoding >& _rEncs ) const { if ( !m_xCharsetHelper.is() ) create(); if ( m_xCharsetHelper.is() ) return m_xCharsetHelper->getSupportedTextEncodings( _rEncs ); return 0; } }; //........................................................................ } // namespace svxform //........................................................................ #endif // SVX_DBCHARSETCLIENT_HXX istro/collabora/co-24.04.10'>distro/collabora/co-24.04.10 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-16 03:18:35 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-25 19:55:33 -0500
commitc17635d5752c010405efba458cfb3a98f5afaf75 (patch)
treef8c521b54c3c65cbcbcad293f63cfa81113f480f /uui
parentd3756b8b7318ecae4eaf0552aea3cde940e91490 (diff)
merge vosremoval-mutex.diff
In practice the changeset is 'inspired' by vosremoval-mutex.diff but was essentially redone manually