Kaydet (Commit) 2fffaf6f authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedmethods

Change-Id: Ia874baf21257e5fe41e104211068a2bcc50446eb
Reviewed-on: https://gerrit.libreoffice.org/40391Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst f74da131
......@@ -150,10 +150,6 @@ OOO_DLLPUBLIC_CHARTTOOLS bool hasAttributedDataPointDifferentValue(
const OUString& rPropertyName,
const css::uno::Any& rPropertyValue );
OOO_DLLPUBLIC_CHARTTOOLS bool areAllSeriesAttachedToSameAxis(
const css::uno::Reference< css::chart2::XChartType >& xChartType,
sal_Int32 & rOutAxisIndex );
OOO_DLLPUBLIC_CHARTTOOLS bool hasUnhiddenData( const css::uno::Reference<
css::chart2::XDataSeries >& xSeries );
......
......@@ -633,44 +633,6 @@ bool hasAttributedDataPointDifferentValue( const Reference< chart2::XDataSeries
return false;
}
bool areAllSeriesAttachedToSameAxis( const uno::Reference< chart2::XChartType >& xChartType, sal_Int32 & rOutAxisIndex )
{
try
{
uno::Reference< chart2::XDataSeriesContainer > xDataSeriesContainer( xChartType, uno::UNO_QUERY_THROW );
uno::Sequence< uno::Reference< chart2::XDataSeries > > aSeriesSeq( xDataSeriesContainer->getDataSeries());
const sal_Int32 nSeriesCount( aSeriesSeq.getLength());
// AxisIndex can only be 0 or 1
sal_Int32 nSeriesAtFirstAxis = 0;
sal_Int32 nSeriesAtSecondAxis = 0;
for( sal_Int32 nI = 0; nI < nSeriesCount; ++nI )
{
uno::Reference< chart2::XDataSeries > xSeries( aSeriesSeq[nI], uno::UNO_QUERY );
sal_Int32 nAxisIndex = DataSeriesHelper::getAttachedAxisIndex( xSeries );
if( nAxisIndex == 0 )
++nSeriesAtFirstAxis;
else if( nAxisIndex == 1 )
++nSeriesAtSecondAxis;
}
OSL_ENSURE( nSeriesAtFirstAxis + nSeriesAtSecondAxis == nSeriesCount, "Invalid axis index found" );
if( nSeriesAtFirstAxis == nSeriesCount )
rOutAxisIndex = 0;
else if( nSeriesAtSecondAxis == nSeriesCount )
rOutAxisIndex = 1;
return ( nSeriesAtFirstAxis == nSeriesCount ||
nSeriesAtSecondAxis == nSeriesCount );
}
catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
return false;
}
}
namespace
{
......
......@@ -28,20 +28,10 @@ chart2/source/view/main/OpenGLRender.hxx:104
int OpenGLRender::RenderSymbol2DShape(float,float,int)
chart2/source/view/main/OpenGLRender.hxx:121
int OpenGLRender::Create2DCircle(int)
compilerplugins/clang/test/externvar.hxx:23
int f(int)
compilerplugins/clang/test/redundantinline.hxx:35
int S3::operator int()
compilerplugins/clang/test/redundantinline.hxx:64
int S4::operator int()
compilerplugins/clang/test/redundantinline.hxx:68
int S4::f5()
compilerplugins/clang/test/redundantinline.hxx:70
int S4::f6()
compilerplugins/clang/test/redundantinline.hxx:73
int f5()
compilerplugins/clang/test/redundantinline.hxx:75
int f6()
connectivity/source/drivers/evoab2/NResultSet.hxx:125
class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> connectivity::evoab::OEvoabResultSet::operator*()
connectivity/source/drivers/evoab2/NResultSetMetaData.hxx:53
class com::sun::star::uno::Reference<class com::sun::star::sdbc::XResultSetMetaData> connectivity::evoab::OEvoabResultSetMetaData::operator Reference()
connectivity/source/inc/java/lang/Object.hxx:118
int connectivity::java_lang_Object::callIntMethodWithIntArg_ThrowRuntime(const char *,struct _jmethodID *&,int) const
connectivity/source/inc/OColumn.hxx:131
......@@ -50,7 +40,7 @@ connectivity/source/inc/OColumn.hxx:133
const class rtl::OUString & connectivity::OColumn::getCatalogName() const
connectivity/source/inc/odbc/OConnection.hxx:82
short connectivity::odbc::OConnection::Construct(const class rtl::OUString &,const class com::sun::star::uno::Sequence<struct com::sun::star::beans::PropertyValue> &)
dbaccess/source/ui/browser/genericcontroller.cxx:1267
dbaccess/source/ui/browser/genericcontroller.cxx:1266
const type-parameter-?-? & dbaui::(anonymous namespace)::SGI_identity::operator()(const type-parameter-?-? &) const
i18nlangtag/source/languagetag/languagetag.cxx:275
const class rtl::OUString & LanguageTagImpl::getBcp47() const
......@@ -142,14 +132,16 @@ include/canvas/rendering/isurfaceproxymanager.hxx:58
class std::shared_ptr<struct canvas::ISurfaceProxy> canvas::ISurfaceProxyManager::createSurfaceProxy(const class std::shared_ptr<struct canvas::IColorBuffer> &) const
include/canvas/rendering/isurfaceproxymanager.hxx:64
class std::shared_ptr<struct canvas::ISurfaceProxyManager> createSurfaceProxyManager(const class std::shared_ptr<struct canvas::IRenderModule> &)
include/canvas/vclwrapper.hxx:135
include/canvas/vclwrapper.hxx:134
type-parameter-?-? & canvas::vcltools::VCLObject::get()
include/canvas/vclwrapper.hxx:136
include/canvas/vclwrapper.hxx:135
const type-parameter-?-? & canvas::vcltools::VCLObject::get() const
include/comphelper/unique_disposing_ptr.hxx:46
include/comphelper/unique_disposing_ptr.hxx:45
type-parameter-?-? & comphelper::unique_disposing_ptr::operator*() const
include/connectivity/FValue.hxx:327
unsigned short connectivity::ORowSetValue::operator unsigned short() const
include/editeng/editview.hxx:191
class ErrCode EditView::Read(class SvStream &,enum EETextFormat,class SvKeyValueIterator *)
include/LibreOfficeKit/LibreOfficeKit.hxx:63
struct _LibreOfficeKitDocument * lok::Document::get()
include/LibreOfficeKit/LibreOfficeKit.hxx:71
......@@ -178,6 +170,8 @@ include/LibreOfficeKit/LibreOfficeKit.hxx:543
char * lok::Office::getFilterTypes()
include/LibreOfficeKit/LibreOfficeKit.hxx:593
char * lok::Office::getVersionInfo()
include/o3tl/array_view.hxx:158
unsigned long std::hash::operator()(array_view<type-parameter-?-?>)
include/o3tl/enumarray.hxx:100
typename type-parameter-?-?::value_type * o3tl::enumarray_iterator::operator->()
include/o3tl/string_view.hxx:844
......@@ -188,6 +182,8 @@ include/o3tl/string_view.hxx:854
unsigned long std::hash::operator()(class o3tl::basic_string_view<char32_t, struct std::char_traits<char32_t> >)
include/o3tl/string_view.hxx:859
unsigned long std::hash::operator()(class o3tl::basic_string_view<wchar_t, struct std::char_traits<wchar_t> >)
include/oox/dump/dumperbase.hxx:637
long oox::dump::FlagsList::getIgnoreFlags() const
include/oox/dump/dumperbase.hxx:1392
type-parameter-?-? oox::dump::InputObjectBase::dumpName(const class oox::dump::String &,const class oox::dump::NameListWrapper &)
include/oox/dump/dumperbase.hxx:1398
......@@ -244,12 +240,14 @@ include/oox/helper/binaryoutputstream.hxx:79
class oox::BinaryOutputStream & oox::BinaryOutputStream::WriteUInt16(unsigned short)
include/oox/helper/containerhelper.hxx:113
typename vector<type-parameter-?-?, allocator<type-parameter-?-?> >::reference oox::Matrix::operator()(typename vector<type-parameter-?-?, allocator<type-parameter-?-?> >::size_type,typename vector<type-parameter-?-?, allocator<type-parameter-?-?> >::size_type)
include/sax/fshelper.hxx:127
include/sax/fshelper.hxx:205
class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(int)
include/sax/fshelper.hxx:128
include/sax/fshelper.hxx:206
class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(long)
include/sax/fshelper.hxx:131
include/sax/fshelper.hxx:209
class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::writeEscaped(const char *)
include/svtools/treelistbox.hxx:536
short SvTreeListBox::GetHeightOffset(const class Image &,class Size &)
include/test/sheet/xnamedrange.hxx:22
class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> apitest::XNamedRange::init()
include/test/sheet/xsheetannotation.hxx:36
......@@ -270,10 +268,8 @@ include/vcl/fontcharmap.hxx:48
class tools::SvRef<class FontCharMap> FontCharMap::GetDefaultMap(_Bool)
include/vcl/gdimtf.hxx:185
class SvStream & GDIMetaFile::Read(class SvStream &)
include/vcl/graphicfilter.hxx:261
unsigned short GraphicFilter::ExportGraphic(const class Graphic &,const class INetURLObject &,unsigned short,const class com::sun::star::uno::Sequence<struct com::sun::star::beans::PropertyValue> *)
include/vcl/menu.hxx:468
unsigned short MenuBar::AddMenuBarButton(const class Image &,const class Link<struct MenuBar::MenuBarButtonCallbackArg &, _Bool> &,const class rtl::OUString &)
include/vcl/graphicfilter.hxx:259
class ErrCode GraphicFilter::ExportGraphic(const class Graphic &,const class INetURLObject &,unsigned short,const class com::sun::star::uno::Sequence<struct com::sun::star::beans::PropertyValue> *)
lotuswordpro/source/filter/lwpsvstream.hxx:76
class LwpSvStream & LwpSvStream::ReadUInt8(unsigned char &)
lotuswordpro/source/filter/lwpsvstream.hxx:77
......@@ -284,9 +280,9 @@ sc/source/core/opencl/formulagroupcl.cxx:968
unsigned long sc::opencl::DynamicKernelSlidingArgument::GenReductionLoopHeader(class std::basic_stringstream<char> &,_Bool &)
sc/source/core/opencl/formulagroupcl.cxx:1413
unsigned long sc::opencl::ParallelReductionVectorRef::GenReductionLoopHeader(class std::basic_stringstream<char> &,int,_Bool &)
sc/source/core/tool/scmatrix.cxx:2209
sc/source/core/tool/scmatrix.cxx:2213
type-parameter-?-? * wrapped_iterator::operator->() const
sc/source/core/tool/scmatrix.cxx:3175
sc/source/core/tool/scmatrix.cxx:3179
const class svl::SharedString & matop::COp::operator()(char,type-parameter-?-?,double,double,const class svl::SharedString &) const
sc/source/ui/vba/vbaformat.hxx:69
class com::sun::star::uno::Any ScVbaFormat::getAddIndent()
......@@ -320,17 +316,23 @@ sc/source/ui/vba/vbaformat.hxx:145
class com::sun::star::uno::Any ScVbaFormat::getMergeCells()
sc/source/ui/vba/vbaformat.hxx:151
class com::sun::star::uno::Any ScVbaFormat::getReadingOrder()
sd/source/filter/eppt/pptx-epptooxml.cxx:118
sd/source/filter/eppt/pptx-epptooxml.cxx:126
class oox::drawingml::ShapeExport & oox::core::PowerPointShapeExport::WritePageShape(const class com::sun::star::uno::Reference<class com::sun::star::drawing::XShape> &,enum PageType,_Bool)
sd/source/ui/inc/OutlineViewShell.hxx:114
class ErrCode sd::OutlineViewShell::ReadRtf(class SvStream &)
sd/source/ui/remotecontrol/IBluetoothSocket.hxx:37
int sd::IBluetoothSocket::write(const void *,unsigned int)
sw/inc/calc.hxx:111
sfx2/source/inc/childwinimpl.hxx:75
class SfxFrame * SfxFrameArr_Impl::operator[](unsigned long)
sw/inc/calc.hxx:112
class SwSbxValue & SwSbxValue::MakeDouble()
sw/inc/editsh.hxx:617
const class GraphicAttr * SwEditShell::GetGraphicAttr(class GraphicAttr &) const
sw/source/uibase/inc/fldmgr.hxx:114
const class com::sun::star::uno::Reference<class com::sun::star::text::XNumberingTypeInfo> & SwFieldMgr::GetNumberingInfo() const
vcl/inc/PhysicalFontFace.hxx:79
int PhysicalFontFace::GetWidth() const
vcl/inc/unx/gtk/gtkdata.hxx:155
vcl/inc/unx/gtk/gtkdata.hxx:153
int GtkSalDisplay::CaptureMouse(class SalFrame *)
vcl/source/filter/FilterConfigCache.hxx:89
class rtl::OUString FilterConfigCache::GetImportFormatMediaType(unsigned short)
......@@ -85,8 +85,6 @@ namespace connectivity
virtual ~OEvoabDatabaseMetaData() override;
public:
OEvoabConnection* getOwnConnection() const { return m_pConnection; }
explicit OEvoabDatabaseMetaData(OEvoabConnection* _pCon);
// as I mentioned before this interface is really BIG
......
......@@ -47,8 +47,6 @@ namespace connectivity
void setEvoabFields(const ::rtl::Reference<connectivity::OSQLColumns> &xColumns);
sal_uInt32 fieldAtColumn(sal_Int32 columnIndex) const
{ return m_aEvoabFields[columnIndex - 1]; }
sal_Int32 getFieldSize() const
{return m_aEvoabFields.size();}
/// Avoid ambiguous cast error from the compiler.
operator css::uno::Reference< css::sdbc::XResultSetMetaData > () throw()
{ return this; }
......
......@@ -57,7 +57,6 @@ namespace connectivity
sal_Int32 nField;
bool bAscending;
FieldSort() : nField(0), bAscending( true ) { }
FieldSort( const sal_Int32 _nField, const bool _bAscending ) : nField( _nField ), bAscending( _bAscending ) { }
};
typedef std::vector< FieldSort > SortDescriptor;
......
......@@ -274,23 +274,6 @@ void SvxHyphenWordDialog::ContinueHyph_Impl( sal_Int32 nInsPos )
}
sal_uInt16 SvxHyphenWordDialog::GetHyphIndex_Impl()
{
sal_uInt16 nPos = 0;
const OUString aTxt( m_pWordEdit->GetText() );
for ( sal_Int32 i=0; i < aTxt.getLength(); ++i )
{
sal_Unicode cChar = aTxt[ i ];
if ( cChar == CUR_HYPH_POS_CHAR )
break;
if ( cChar != HYPH_POS_CHAR )
nPos++;
}
return nPos;
}
void SvxHyphenWordDialog::SelLeft()
{
DBG_ASSERT( m_nOldPos > 0, "invalid hyphenation position" );
......
......@@ -67,7 +67,6 @@ class SvxHyphenWordDialog : public SfxModalDialog
void InitControls_Impl();
void ContinueHyph_Impl( sal_Int32 nInsPos = -1 ); // continue by default
sal_uInt16 GetHyphIndex_Impl();
DECL_LINK(Left_Impl, Button*, void);
DECL_LINK(Right_Impl, Button*, void);
......
......@@ -70,31 +70,6 @@ void setMsLangIdFallback(OUString const & locale) {
}
OUString getEmergencyLocale() {
if (!foundLocale.isEmpty()) {
return foundLocale;
}
try {
css::uno::Sequence<OUString> inst(
officecfg::Setup::Office::InstalledLocales::get()->
getElementNames());
OUString locale(
getInstalledLocaleForLanguage(
inst,
officecfg::Office::Linguistic::General::UILocale::get()));
if (!locale.isEmpty()) {
return locale;
}
locale = getInstalledLocaleForSystemUILanguage(inst);
if (!locale.isEmpty()) {
return locale;
}
} catch (css::uno::Exception & e) {
SAL_WARN("desktop.app", "ignoring Exception \"" << e.Message << "\"");
}
return OUString();
}
bool prepareLocale() {
// #i42730# Get the windows 16Bit locale, it should be preferred over the UI
// locale:
......
......@@ -26,8 +26,6 @@
namespace desktop { namespace langselect {
OUString getEmergencyLocale();
bool prepareLocale();
} }
......
......@@ -481,16 +481,6 @@ namespace drawinglayer
}
}
PolyPolygonGraphicPrimitive2D::PolyPolygonGraphicPrimitive2D(
const basegfx::B2DPolyPolygon& rPolyPolygon,
const attribute::FillGraphicAttribute& rFillGraphic)
: BufferedDecompositionPrimitive2D(),
maPolyPolygon(rPolyPolygon),
maDefinitionRange(rPolyPolygon.getB2DRange()),
maFillGraphic(rFillGraphic)
{
}
PolyPolygonGraphicPrimitive2D::PolyPolygonGraphicPrimitive2D(
const basegfx::B2DPolyPolygon& rPolyPolygon,
const basegfx::B2DRange& rDefinitionRange,
......
......@@ -633,103 +633,6 @@ util::DateTime SvxRTFParser::GetDateTimeStamp( )
return aDT;
}
void SvxRTFParser::ReadInfo()
{
int _nOpenBrakets = 1; // the first was already detected earlier!!
DBG_ASSERT(m_xDocProps.is(),
"SvxRTFParser::ReadInfo: no DocumentProperties");
OUString sStr, sComment;
while( _nOpenBrakets && IsParserWorking() )
{
int nToken = GetNextToken();
switch( nToken )
{
case '}': --_nOpenBrakets; break;
case '{':
{
if( RTF_IGNOREFLAG != GetNextToken() )
SkipToken();
else if( RTF_UNKNOWNCONTROL != GetNextToken() )
SkipToken( -2 );
else
{
// filter out at once
ReadUnknownData();
nToken = GetNextToken();
if( '}' != nToken )
eState = SvParserState::Error;
break;
}
++_nOpenBrakets;
}
break;
case RTF_TITLE:
m_xDocProps->setTitle( GetTextToEndGroup( sStr ) );
break;
case RTF_SUBJECT:
m_xDocProps->setSubject( GetTextToEndGroup( sStr ) );
break;
case RTF_AUTHOR:
m_xDocProps->setAuthor( GetTextToEndGroup( sStr ) );
break;
case RTF_OPERATOR:
m_xDocProps->setModifiedBy( GetTextToEndGroup( sStr ) );
break;
case RTF_KEYWORDS:
{
OUString sTemp = GetTextToEndGroup( sStr );
m_xDocProps->setKeywords(
::comphelper::string::convertCommaSeparated(sTemp) );
break;
}
case RTF_DOCCOMM:
m_xDocProps->setDescription( GetTextToEndGroup( sStr ) );
break;
case RTF_HLINKBASE:
sBaseURL = GetTextToEndGroup( sStr ) ;
break;
case RTF_CREATIM:
m_xDocProps->setCreationDate( GetDateTimeStamp() );
break;
case RTF_REVTIM:
m_xDocProps->setModificationDate( GetDateTimeStamp() );
break;
case RTF_PRINTIM:
m_xDocProps->setPrintDate( GetDateTimeStamp() );
break;
case RTF_COMMENT:
GetTextToEndGroup( sComment );
break;
case RTF_BUPTIM:
SkipGroup();
break;
case RTF_VERN:
break;
case RTF_EDMINS:
case RTF_ID:
case RTF_VERSION:
case RTF_NOFPAGES:
case RTF_NOFWORDS:
case RTF_NOFCHARS:
NextToken( nToken );
break;
}
}
SkipToken(); // the closing brace is evaluated "above"
}
void SvxRTFParser::ClearColorTbl()
{
while ( !aColorTbl.empty() )
......
......@@ -378,10 +378,6 @@ namespace drawinglayer
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& rViewInformation) const override;
public:
/// constructors. The one without definition range will use output range as definition range
PolyPolygonGraphicPrimitive2D(
const basegfx::B2DPolyPolygon& rPolyPolygon,
const attribute::FillGraphicAttribute& rFillGraphic);
PolyPolygonGraphicPrimitive2D(
const basegfx::B2DPolyPolygon& rPolyPolygon,
const basegfx::B2DRange& rDefinitionRange,
......
......@@ -254,7 +254,6 @@ protected:
// Read Document-Info
css::util::DateTime GetDateTimeStamp( );
OUString& GetTextToEndGroup( OUString& rStr );
void ReadInfo();
inline SfxItemSet& GetAttrSet();
// no text yet inserted? (SttPos from the top stack entry!)
......
......@@ -40,7 +40,6 @@ public:
sal_uInt16 GetMode() const { return nMode; }
sal_Int32 GetFStart() const { return nFStart; }
sal_uInt16 GetOffset() const { return nOffset; }
sal_uInt16 GetEdFocus() const { return nEdFocus; }
const OUString& GetUndoStr() const { return aUndoStr; }
bool GetMatrixFlag()const{ return bMatrix;}
const VclPtr<vcl::Window>& GetFocusWindow()const { return xFocusWin; }
......
......@@ -158,11 +158,6 @@ public:
RTL_TEXTENCODING_UTF8);
}
const char* toCString() const
{
assert(mnIdx < mrList.maAttributeTokens.size());
return mrList.getFastAttributeValue(mnIdx);
}
bool isString(const char *str) const
{
assert(mnIdx < mrList.maAttributeTokens.size());
......
......@@ -133,9 +133,6 @@ public:
static SfxApplication* GetOrCreate();
static SfxApplication* Get();
// Resource Locale
static std::locale* GetSfxResLocale();
// DDE
#if defined(_WIN32)
static long DdeExecute( const OUString& rCmd );
......
......@@ -63,7 +63,6 @@ protected:
OUString& GetExtraData() { return aExtraData; }
sal_uInt32 GetUniqId() const { return nUniqId; }
void SetUniqId(sal_uInt32 nSettingsId) { nUniqId = nSettingsId; }
SfxItemSet* GetItemSet() { return pOutputSet; }
void CreateOutputItemSet( SfxItemPool& rPool );
void CreateOutputItemSet( const SfxItemSet& rInput );
void SetInputSet( const SfxItemSet* pInSet ) { pInputSet = pInSet; }
......
......@@ -36,7 +36,6 @@ public:
virtual Size GetOptimalSize() const override;
void setInsertCharHdl(const Link<SvxCharView*,void> &rLink);
void setMouseClickHdl(const Link<SvxCharView*,void> &rLink);
protected:
......
......@@ -170,7 +170,6 @@ public:
{ return pWindow->GetSizePixel(); }
virtual void Hide();
virtual void Show( ShowFlags nFlags );
bool CanGetFocus() const;
sal_uInt16 GetPosition();
sal_uInt16 GetType()
{ return nType; }
......
......@@ -22,7 +22,6 @@ namespace vcl { class Font; }
SVT_DLLPUBLIC UScriptCode otCoverageToScript(vcl::UnicodeCoverage::UnicodeCoverageEnum eOTCoverage);
SVT_DLLPUBLIC bool isSymbolFont(const vcl::Font &rFont);
SVT_DLLPUBLIC bool isOpenSymbolFont(const vcl::Font &rFont);
SVT_DLLPUBLIC bool canRenderNameOfSelectedFont(OutputDevice const &rDevice);
......
......@@ -76,13 +76,9 @@ public:
// Compound object
const Color& GetDefaultAmbientColor() { return aDefaultAmbientColor; }
bool GetDefaultCreateNormals() const { return bDefaultCreateNormals; }
bool GetDefaultCreateTexture() const { return bDefaultCreateTexture; }
// Cube object
const basegfx::B3DPoint& GetDefaultCubePos() { return aDefaultCubePos; }
const basegfx::B3DVector& GetDefaultCubeSize() { return aDefaultCubeSize; }
CubeFaces GetDefaultCubeSideFlags() const { return nDefaultCubeSideFlags; }
bool GetDefaultCubePosIsCenter() const { return bDefaultCubePosIsCenter; }
// Sphere object
......
......@@ -23,16 +23,6 @@
#include <svx/svxdllapi.h>
#include <vector>
// class SvxStringArray -------------------------------------------------
class SVX_DLLPUBLIC SvxStringArray
{
std::vector<OUString> m_aTranslations;
public:
SvxStringArray(const char** pResId, size_t nLength);
const OUString GetString(sal_uInt32 nPos) const;
};
class SVX_DLLPUBLIC SvxFieldUnitTable
{
public:
......@@ -55,7 +45,6 @@ class SVX_DLLPUBLIC SvxAttrNameTable
public:
static OUString GetString(sal_uInt32 i);
static sal_uInt32 Count();
static sal_uInt16 GetValue(sal_uInt32 i);
static sal_uInt32 FindIndex(int nValue);
};
......
......@@ -141,7 +141,6 @@ public:
void getCellBounds( const sdr::table::CellPos& rPos, ::tools::Rectangle& rCellRect );
const SfxItemSet& GetActiveCellItemSet() const;
void SetMergedItemSetAndBroadcastOnActiveCell(const SfxItemSet& rSet);
void setTableStyle( const css::uno::Reference< css::container::XIndexAccess >& xAutoFormatStyle );
const css::uno::Reference< css::container::XIndexAccess >& getTableStyle() const;
......
......@@ -45,9 +45,6 @@ public:
void* Get( Index aIndex ) const;
Index GetIndexOf( void const* p ) const;
Index FirstIndex() const;
Index LastIndex() const;
Index NextIndex( Index aCurrIndex ) const;
};
template<typename T>
......@@ -61,12 +58,6 @@ public:
Index Insert(T* p) { return UniqueIndexImpl::Insert(p); }
T* Get(Index idx) const { return static_cast<T*>( UniqueIndexImpl::Get(idx) ); }
T* Remove(Index idx) { return static_cast<T*>( UniqueIndexImpl::Remove(idx) ); }
Index GetIndexOf(T* p) const { return UniqueIndexImpl::GetIndexOf(p); }
using UniqueIndexImpl::FirstIndex;
using UniqueIndexImpl::LastIndex;
using UniqueIndexImpl::NextIndex;
};
#endif
......
......@@ -32,9 +32,6 @@ class VCL_DLLPUBLIC Scheduler final
friend class Task;
Scheduler() = delete;
static inline bool HasPendingTasks( const ImplSchedulerContext &rSchedCtx,
const sal_uInt64 nTime );
static inline void UpdateSystemTimer( ImplSchedulerContext &rSchedCtx,
sal_uInt64 nMinPeriod,
bool bForce, sal_uInt64 nTime );
......
......@@ -378,7 +378,6 @@ public:
static const OUString getNameFromToken( sal_Int32 nToken );
static const OUString getNamespacePrefixFromToken( sal_Int32 nToken );
static const OUString getNamespaceURIFromToken( sal_Int32 nToken );
SvXMLNamespaceMap& GetNamespaceMap() { return *mpNamespaceMap; }
const SvXMLNamespaceMap& GetNamespaceMap() const { return *mpNamespaceMap; }
......
......@@ -3300,10 +3300,6 @@ namespace xmloff { namespace token {
const OUString& rString,
enum XMLTokenEnum eToken );
XMLOFF_DLLPUBLIC bool IsXMLToken(
const char* pCString,
enum XMLTokenEnum eToken );
XMLOFF_DLLPUBLIC bool IsXMLToken(
const sax_fastparser::FastAttributeList::FastAttributeIter& aIter,
enum XMLTokenEnum eToken );
......
......@@ -38,8 +38,6 @@ namespace xmlreader {
class OOO_DLLPUBLIC_XMLREADER XmlReader {
public:
XmlReader(char const *sStr, size_t nLength);
explicit XmlReader(OUString const & fileUrl);
~XmlReader();
......
......@@ -70,7 +70,6 @@ class ResData
public:
ResData( const OString &rGId );
ResData( const OString &rGId , const OString &rFilename );
bool SetId(const OString &rId, IdLevel nLevel);
OString sResTyp;
OString sId;
......@@ -96,51 +95,6 @@ enum class StringType {
typedef ::std::vector< ResData* > ResStack;
class ParserQueue;
/// Purpose: syntax check and export of *.src, called from lexer
class Export
{
private:
bool bError; // any errors while export?
ParserQueue* pParseQueue;
void WriteData( ResData *pResData, bool bCreateNew = false ); ///< called before dest. cur ResData
void WriteExportList( ResData *pResData, ExportList& rExportList, const ExportListType nTyp );
OString FullId(); ///< creates cur. GID
static OString GetPairedListID(const OString & rText);
static OString GetPairedListString(const OString& rText);
static OString StripList(const OString& rText);
void InsertListEntry(const OString &rLine);
static void CleanValue( OString &rValue );
static OString GetText(const OString &rSource, int nToken);
void ResData2Output( MergeEntrys *pEntry, StringType nType, const OString& rTextType );
void MergeRest( ResData *pResData );
static void ConvertMergeContent( OString &rText );
static void ConvertExportContent( OString &rText );
void WriteToMerged(const OString &rText , bool bSDFContent);
void SetChildWithText();
static void CutComment( OString &rText );
public:
Export( const OString &rOutput );
Export(const OString &rMergeSource, const OString &rOutput, bool bUTF8BOM);
~Export();
void Init();
void Execute( int nToken, const char * pToken ); ///< called from lexer
void SetError() { bError = true; }
bool GetError() { return bError; }
ParserQueue* GetParseQueue() { return pParseQueue; }
};
// class MergeEntrys
......@@ -220,9 +174,6 @@ class MergeDataHashMap
iterator begin() {return m_aHashMap.begin();}
iterator end() {return m_aHashMap.end();}
const_iterator begin() const {return m_aHashMap.begin();}
const_iterator end() const {return m_aHashMap.end();}
private: