[Libreoffice-commits] .: 5 commits - binfilter/bf_sc binfilter/bf_sfx2 binfilter/bf_sw binfilter/inc filter/source lotuswordpro/source oox/source
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Jul 11 01:28:42 PDT 2011
binfilter/bf_sc/source/core/data/sc_cell.cxx | 12 --
binfilter/bf_sc/source/core/data/sc_dpobject.cxx | 18 ---
binfilter/bf_sc/source/core/data/sc_pivot.cxx | 13 --
binfilter/bf_sc/source/core/data/sc_table2.cxx | 51 ---------
binfilter/bf_sfx2/source/doc/sfx2_docfile.cxx | 22 ----
binfilter/bf_sw/source/filter/xml/makefile.mk | 3
binfilter/bf_sw/source/filter/xml/sw_swxml.cxx | 125 -----------------------
binfilter/inc/bf_sfx2/docfile.hxx | 5
filter/source/msfilter/msdffimp.cxx | 43 -------
lotuswordpro/source/filter/xfilter/xfutil.cxx | 27 ----
lotuswordpro/source/filter/xfilter/xfutil.hxx | 2
oox/source/export/chartexport.cxx | 24 ----
12 files changed, 345 deletions(-)
New commits:
commit 2b462aa4e113d5060853b5bad01424328af7cac6
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jul 10 23:40:54 2011 +0100
unused inlines
diff --git a/binfilter/inc/bf_sfx2/docfile.hxx b/binfilter/inc/bf_sfx2/docfile.hxx
index 63084df..c4e5a35 100644
--- a/binfilter/inc/bf_sfx2/docfile.hxx
+++ b/binfilter/inc/bf_sfx2/docfile.hxx
@@ -313,7 +313,6 @@ public:
};
SV_DECL_IMPL_REF( SfxMedium )
-SV_DECL_COMPAT_WEAK( SfxMedium )
}//end of namespace binfilter
#endif
commit 2e2624a4d6d9e40a1c70ca4e3c60ba86bbb39db4
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jul 10 22:38:38 2011 +0100
various unused methods
diff --git a/binfilter/bf_sc/source/core/data/sc_cell.cxx b/binfilter/bf_sc/source/core/data/sc_cell.cxx
index 9973bc1..8bde7e1 100644
--- a/binfilter/bf_sc/source/core/data/sc_cell.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_cell.cxx
@@ -800,18 +800,6 @@ static const sal_Char msgDbgInfinity[] =
/*N*/ pDoc->SetHasMacroFunc( TRUE );
/*N*/ }
-/*N*/ BOOL lcl_IsBeyond( ScTokenArray* pCode, USHORT nMaxRow )
-/*N*/ {
-/*N*/ ScToken* t;
-/*N*/ pCode->Reset();
-/*N*/ while ( (t = pCode->GetNextReferenceRPN()) ) // RPN -> auch in Namen
-/*N*/ if ( t->GetSingleRef().nRow > nMaxRow ||
-/*N*/ (t->GetType() == svDoubleRef &&
-/*N*/ t->GetDoubleRef().Ref2.nRow > nMaxRow) )
-/*N*/ return TRUE;
-/*N*/ return FALSE;
-/*N*/ }
-
/*N*/ ScBaseCell* ScFormulaCell::Clone( ScDocument* pDoc, const ScAddress& rPos,
/*N*/ BOOL bNoListening ) const
/*N*/ {
diff --git a/binfilter/bf_sc/source/core/data/sc_dpobject.cxx b/binfilter/bf_sc/source/core/data/sc_dpobject.cxx
index d464e90..0685206 100644
--- a/binfilter/bf_sc/source/core/data/sc_dpobject.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_dpobject.cxx
@@ -522,24 +522,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ return nOutCount;
/*N*/ }
-/*N*/ void lcl_SaveOldFieldArr( SvStream& rStream,
-/*N*/ const uno::Reference<sheet::XDimensionsSupplier>& xSource,
-/*N*/ USHORT nOrient, USHORT nColAdd, BOOL bAddData )
-/*N*/ {
-/*N*/ // PIVOT_MAXFIELD = max. number in old files
-/*N*/ PivotField aFields[PIVOT_MAXFIELD];
-/*N*/ USHORT nOutCount = lcl_FillOldFields( aFields, xSource, nOrient, nColAdd, bAddData );
-/*N*/
-/*N*/ rStream << nOutCount;
-/*N*/ for (USHORT i=0; i<nOutCount; i++)
-/*N*/ {
-/*N*/ rStream << (BYTE) 0x00
-/*N*/ << aFields[i].nCol
-/*N*/ << aFields[i].nFuncMask
-/*N*/ << aFields[i].nFuncCount;
-/*N*/ }
-/*N*/ }
-
/*N*/ BOOL ScDPObject::LoadNew(SvStream& rStream, ScMultipleReadHeader& rHdr )
/*N*/ {
/*N*/ rHdr.StartEntry();
diff --git a/binfilter/bf_sc/source/core/data/sc_pivot.cxx b/binfilter/bf_sc/source/core/data/sc_pivot.cxx
index 99c3a46..801a64d 100644
--- a/binfilter/bf_sc/source/core/data/sc_pivot.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_pivot.cxx
@@ -297,19 +297,6 @@ static const USHORT nFuncMaskArr[PIVOT_MAXFUNC+1] =
/*N*/ }
/*N*/ }
-/*N*/ void lcl_SaveFieldArr( SvStream& rStream, const PivotField* pField, USHORT nCount )
-/*N*/ {
-/*N*/ USHORT i;
-/*N*/
-/*N*/ for (i=0; i<nCount; i++)
-/*N*/ {
-/*N*/ rStream << (BYTE) 0x00
-/*N*/ << pField[i].nCol
-/*N*/ << pField[i].nFuncMask
-/*N*/ << pField[i].nFuncCount;
-/*N*/ }
-/*N*/ }
-
// nach Load muessen Daten neu berechnet werden !
/*N*/ BOOL ScPivot::Load( SvStream& rStream, ScMultipleReadHeader& rHdr )
diff --git a/binfilter/bf_sc/source/core/data/sc_table2.cxx b/binfilter/bf_sc/source/core/data/sc_table2.cxx
index 64a1de7..0545867 100644
--- a/binfilter/bf_sc/source/core/data/sc_table2.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_table2.cxx
@@ -58,9 +58,6 @@ namespace binfilter {
// STATIC DATA -----------------------------------------------------------
void lcl_LoadRange( SvStream& rStream, ScRange** ppRange );
-void lcl_SaveRange( SvStream& rStream, ScRange* pRange );
-
-
/*N*/ BOOL ScTable::SetOutlineTable( const ScOutlineTable* pNewOutline )
/*N*/ {
@@ -1703,41 +1700,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ return TRUE;
/*N*/ }
-// Speichern
-
-
-/*N*/ void lcl_SaveValue( SvStream& rStream, USHORT* pValue, USHORT nEnd )
-/*N*/ {
-/*N*/ USHORT nPos = 0;
-/*N*/ while (nPos<=nEnd)
-/*N*/ {
-/*N*/ USHORT nVal = pValue[nPos];
-/*N*/ USHORT nNextPos = nPos+1;
-/*N*/ while (nNextPos<=nEnd && pValue[nNextPos]==nVal)
-/*N*/ ++nNextPos;
-/*N*/ rStream << (USHORT)( nNextPos - nPos );
-/*N*/ rStream << nVal;
-/*N*/ nPos = nNextPos;
-/*N*/ }
-/*N*/ }
-
-
-/*N*/ void lcl_SaveFlags( SvStream& rStream, BYTE* pValue, USHORT nEnd )
-/*N*/ {
-/*N*/ USHORT nPos = 0;
-/*N*/ while (nPos<=nEnd)
-/*N*/ {
-/*N*/ BYTE nVal = pValue[nPos] & CR_SAVEMASK;
-/*N*/ USHORT nNextPos = nPos+1;
-/*N*/ while (nNextPos<=nEnd && (pValue[nNextPos] & CR_SAVEMASK)==nVal)
-/*N*/ ++nNextPos;
-/*N*/ rStream << (USHORT)( nNextPos - nPos );
-/*N*/ rStream << nVal;
-/*N*/ nPos = nNextPos;
-/*N*/ }
-/*N*/ }
-
-
/*N*/ void lcl_LoadRange( SvStream& rStream, ScRange** ppRange )
/*N*/ {
/*N*/ BOOL bIsSet = FALSE;
@@ -1753,19 +1715,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ *ppRange = NULL;
/*N*/ }
-
-/*N*/ void lcl_SaveRange( SvStream& rStream, ScRange* pRange )
-/*N*/ {
-/*N*/ if ( pRange )
-/*N*/ {
-/*N*/ rStream << (BOOL)TRUE;
-/*N*/ rStream << *pRange;
-/*N*/ }
-/*N*/ else
-/*N*/ rStream << (BOOL)FALSE;
-/*N*/ }
-
-
// Berechnen der Groesse der Tabelle und setzen der Groesse an der DrawPage
/*N*/ void ScTable::SetDrawPageSize()
diff --git a/binfilter/bf_sfx2/source/doc/sfx2_docfile.cxx b/binfilter/bf_sfx2/source/doc/sfx2_docfile.cxx
index b38e0d4..d81d286 100644
--- a/binfilter/bf_sfx2/source/doc/sfx2_docfile.cxx
+++ b/binfilter/bf_sfx2/source/doc/sfx2_docfile.cxx
@@ -1431,22 +1431,6 @@ namespace binfilter {
/*N*/ }
//------------------------------------------------------------------
-/*N*/ void SfxMedium::ReOpen()
-/*N*/ {
-/*N*/ BOOL bUseInteractionHandler = pImp->bUseInteractionHandler;
-/*N*/ pImp->bUseInteractionHandler = FALSE;
-/*N*/ DBG_ASSERT( pFilter, "Kein Filter, aber ReOpen!" );
-/*N*/ if( pFilter )
-/*N*/ {
-/*N*/ if( pFilter->UsesStorage() )
-/*N*/ GetStorage();
-/*N*/ else
-/*N*/ GetInStream();
-/*N*/ }
-/*N*/
-/*N*/ pImp->bUseInteractionHandler = bUseInteractionHandler;
-/*N*/ }
-//------------------------------------------------------------------
/*N*/ SfxMedium::SfxMedium
/*N*/ (
/*N*/ const String &rName, StreamMode nOpenMode, sal_Bool bDirectP,
@@ -1666,12 +1650,6 @@ namespace binfilter {
/*N*/ return pImp->xAttributes;
/*N*/ }
-//----------------------------------------------------------------
-/*N*/ SvCompatWeakHdl* SfxMedium::GetHdl()
-/*N*/ {
-/*N*/ return pImp->GetHdl();
-/*N*/ }
-
/*N*/ sal_Bool SfxMedium::IsDownloadDone_Impl()
/*N*/ {
/*N*/ return pImp->bDownloadDone;
diff --git a/binfilter/bf_sw/source/filter/xml/makefile.mk b/binfilter/bf_sw/source/filter/xml/makefile.mk
index a7ead53..a8f6810 100644
--- a/binfilter/bf_sw/source/filter/xml/makefile.mk
+++ b/binfilter/bf_sw/source/filter/xml/makefile.mk
@@ -46,7 +46,6 @@ CDEFS=$(CDEFS) -Dmydebug
# --- Files --------------------------------------------------------
CXXFILES = \
- sw_swxml.cxx \
sw_xmlimp.cxx \
sw_xmlexp.cxx \
sw_xmltext.cxx \
@@ -70,7 +69,6 @@ CXXFILES = \
sw_xmlexpit.cxx
SLOFILES = \
- $(SLO)$/sw_swxml.obj \
$(SLO)$/sw_xmlimp.obj \
$(SLO)$/sw_xmlexp.obj \
$(SLO)$/sw_xmltext.obj \
@@ -95,7 +93,6 @@ SLOFILES = \
$(SLO)$/sw_xmlexpit.obj
EXCEPTIONSFILES= \
- $(SLO)$/sw_swxml.obj \
$(SLO)$/sw_xmlimp.obj \
$(SLO)$/sw_xmlexp.obj \
$(SLO)$/sw_xmltext.obj \
diff --git a/binfilter/bf_sw/source/filter/xml/sw_swxml.cxx b/binfilter/bf_sw/source/filter/xml/sw_swxml.cxx
deleted file mode 100644
index 60c5d7c..0000000
--- a/binfilter/bf_sw/source/filter/xml/sw_swxml.cxx
+++ /dev/null
@@ -1,125 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org 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 version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-
-
-#ifdef _MSC_VER
-#pragma hdrstop
-#endif
-
-
-#define _SVSTDARR_STRINGS
-
-#include <rsc/rscsfx.hxx>
-
-#include <comphelper/processfactory.hxx>
-#include <com/sun/star/xml/sax/InputSource.hpp>
-#include <com/sun/star/xml/sax/XParser.hpp>
-#include <com/sun/star/io/XActiveDataControl.hpp>
-#include <com/sun/star/text/XTextRange.hpp>
-#include <com/sun/star/beans/PropertyValue.hpp>
-#include <com/sun/star/beans/PropertyAttribute.hpp>
-#include <com/sun/star/task/XStatusIndicatorFactory.hpp>
-#include <com/sun/star/io/XActiveDataSource.hpp>
-#include <com/sun/star/packages/zip/ZipIOException.hpp>
-#include <bf_svtools/svstdarr.hxx>
-
-#include <bf_sfx2/appuno.hxx>
-
-#include <bf_sfx2/docfile.hxx>
-#include <bf_svtools/sfxecode.hxx>
-#include <unotools/streamwrap.hxx>
-#include <bf_svx/xmlgrhlp.hxx>
-#include <bf_svx/xmleohlp.hxx>
-#include <comphelper/genericpropertyset.hxx>
-#include <rtl/logfile.hxx>
-
-#include <swerror.h>
-#include <osl/diagnose.h>
-
-#include "swtypes.hxx"
-
-#include <fltini.hxx>
-
-#include <horiornt.hxx>
-
-#include <doc.hxx>
-#include <docsh.hxx>
-#include <unoobj.hxx>
-#include <swmodule.hxx>
-#include <SwXMLSectionList.hxx>
-#include <xmlimp.hxx>
-
-#include <statstr.hrc>
-#include <legacysmgr/legacy_binfilters_smgr.hxx>
-#define LOGFILE_AUTHOR "mb93740"
-namespace binfilter {
-
-
-using namespace ::com::sun::star;
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::text;
-using namespace ::com::sun::star::container;
-using namespace ::com::sun::star::document;
-using namespace ::com::sun::star::lang;
-
-using rtl::OUString;
-
-
-void lcl_EnsureValidPam( SwPaM& rPam )
-{
- if( rPam.GetCntntNode() != NULL )
- {
- // set proper point content
- if( rPam.GetCntntNode() != rPam.GetPoint()->nContent.GetIdxReg() )
- {
- rPam.GetPoint()->nContent.Assign( rPam.GetCntntNode(), 0 );
- }
- // else: point was already valid
-
- // if mark is invalid, we delete it
- if( ( rPam.GetCntntNode( FALSE ) == NULL ) ||
- ( rPam.GetCntntNode( FALSE ) != rPam.GetMark()->nContent.GetIdxReg() ) )
- {
- rPam.DeleteMark();
- }
- }
- else
- {
- // point is not valid, so move it into the first content
- rPam.DeleteMark();
- rPam.GetPoint()->nNode =
- *rPam.GetDoc()->GetNodes().GetEndOfContent().StartOfSectionNode();
- ++ rPam.GetPoint()->nNode;
- rPam.Move( fnMoveForward, fnGoCntnt ); // go into content
- }
-}
-
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binfilter/inc/bf_sfx2/docfile.hxx b/binfilter/inc/bf_sfx2/docfile.hxx
index 723ae6b..63084df 100644
--- a/binfilter/inc/bf_sfx2/docfile.hxx
+++ b/binfilter/inc/bf_sfx2/docfile.hxx
@@ -181,9 +181,6 @@ class SfxMedium : public SvRefBase
#endif
public:
-
- SvCompatWeakHdl* GetHdl();
-
SfxMedium();
SfxMedium( const String &rName,
StreamMode nOpenMode,
@@ -209,7 +206,6 @@ public:
const String& GetOrigURL() const;
SfxItemSet * GetItemSet() const;
void Close();
- void ReOpen();
const String& GetName() const {return aLogicName;}
const INetURLObject& GetURLObject() const;
::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent > GetContent() const;
commit 8cc14f19cb92d2aca58864f045bdfb1fbc29e676
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jul 10 01:09:09 2011 +0100
callcatcher: remove unused CreateCache_Impl
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index cbd1b23..c3df91a 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -315,49 +315,6 @@ void Impl_OlePres::Write( SvStream & rStm )
rStm.Seek( nEndPos );
}
-Impl_OlePres * CreateCache_Impl( SotStorage * pStor )
-{
- SotStorageStreamRef xOleObjStm =pStor->OpenSotStream( String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "Ole-Object" ) ),
- STREAM_READ | STREAM_NOCREATE );
- if( xOleObjStm->GetError() )
- return NULL;
- SotStorageRef xOleObjStor = new SotStorage( *xOleObjStm );
- if( xOleObjStor->GetError() )
- return NULL;
-
- String aStreamName;
- if( xOleObjStor->IsContained( String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\002OlePres000" ) ) ) )
- aStreamName = String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\002OlePres000" ) );
- else if( xOleObjStor->IsContained( String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\1Ole10Native" ) ) ) )
- aStreamName = String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\1Ole10Native" ) );
-
- if( aStreamName.Len() == 0 )
- return NULL;
-
-
- for( sal_uInt16 i = 1; i < 10; i++ )
- {
- SotStorageStreamRef xStm = xOleObjStor->OpenSotStream( aStreamName,
- STREAM_READ | STREAM_NOCREATE );
- if( xStm->GetError() )
- break;
-
- xStm->SetBufferSize( 8192 );
- Impl_OlePres * pEle = new Impl_OlePres( 0 );
- if( pEle->Read( *xStm ) && !xStm->GetError() )
- {
- if( pEle->GetFormat() == FORMAT_GDIMETAFILE || pEle->GetFormat() == FORMAT_BITMAP )
- return pEle;
- }
- delete pEle;
- aStreamName = String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\002OlePres00" ) );
- aStreamName += String( i );
- };
- return NULL;
-}
-
-
-
//---------------------------------------------------------------------------
// Hilfs Klassen aus MSDFFDEF.HXX
//---------------------------------------------------------------------------
commit 5e1d2c771bb4e5bea496fd71f62f07368214a6af
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jul 10 01:08:16 2011 +0100
callcatcher: remove unused ColorToOUString
diff --git a/lotuswordpro/source/filter/xfilter/xfutil.cxx b/lotuswordpro/source/filter/xfilter/xfutil.cxx
index c475aa6..a1a9cd9 100644
--- a/lotuswordpro/source/filter/xfilter/xfutil.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfutil.cxx
@@ -114,33 +114,6 @@ rtl::OUString OEMToOUString(const std::string& /*str*/)
return rtl::OUString();
}
-rtl::OUString ColorToOUString( sal_uInt32 color)
-{
- unsigned int c = color&0x00ffffff;
- unsigned char r;
- unsigned char g;
- unsigned char b;
- char buf[8];
-
- unsigned int temp = c;
- r = temp&0x000000ff;
-
- temp = c;
- g = (temp&0x0000ff00)>>8;
-
- temp = c;
- b = (temp&0x00ff0000)>>16;
-
- rtl_zeroMemory(buf,8);
- sprintf(buf,"#%2x%2x%2x",r,g,b);
- for( int i=0; i<6; i++ )
- {
- if( buf[i] == ' ' )
- buf[i] = '0';
- }
- return rtl::OUString::createFromAscii(buf);
-}
-
rtl::OUString DateTimeToOUString(XFDateTime& dt)
{
rtl::OUStringBuffer buf;
diff --git a/lotuswordpro/source/filter/xfilter/xfutil.hxx b/lotuswordpro/source/filter/xfilter/xfutil.hxx
index e9a8d6f..91ef260 100644
--- a/lotuswordpro/source/filter/xfilter/xfutil.hxx
+++ b/lotuswordpro/source/filter/xfilter/xfutil.hxx
@@ -79,8 +79,6 @@ rtl::OUString DoubleToOUString(double num, sal_Int32 precision=6);
rtl::OUString OEMToOUString(const std::string& str);
-rtl::OUString ColorToOUString( sal_uInt32 color);
-
rtl::OUString DateTimeToOUString(XFDateTime& dt);
rtl::OUString GetTableColName(sal_Int32 col);
commit 0d58d00ff9c91510a306b128b08725c6cfb1b07f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jul 9 23:56:23 2011 +0100
callcatcher: unused lcl_hasChartType
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 4bb7663..fb4d013 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -377,30 +377,6 @@ sal_Int32 lcl_getSequenceLengthByRole(
return 0;
}
-bool lcl_hasChartType( const Reference< chart2::XDiagram > & xDiagram, const OUString & rChartType )
-{
- try
- {
- Reference< chart2::XCoordinateSystemContainer > xCooSysCnt( xDiagram, uno::UNO_QUERY_THROW );
- Sequence< Reference< chart2::XCoordinateSystem > > aCooSysSeq( xCooSysCnt->getCoordinateSystems());
- for( sal_Int32 nCooSysIdx=0; nCooSysIdx<aCooSysSeq.getLength(); ++nCooSysIdx )
- {
- Reference< chart2::XChartTypeContainer > xCTCnt( aCooSysSeq[nCooSysIdx], uno::UNO_QUERY_THROW );
- Sequence< Reference< chart2::XChartType > > aChartTypes( xCTCnt->getChartTypes());
- for( sal_Int32 nCTIdx=0; nCTIdx<aChartTypes.getLength(); ++nCTIdx )
- {
- if( aChartTypes[nCTIdx]->getChartType().equals( rChartType ))
- return true;
- }
- }
- }
- catch( uno::Exception & )
- {
- OSL_FAIL( "Exception while searching for chart type in diagram" );
- }
- return false;
-}
-
OUString lcl_flattenStringSequence( const Sequence< OUString > & rSequence )
{
OUStringBuffer aResult;
More information about the Libreoffice-commits
mailing list