-Werror,-Wunused-private-field (Clang towards 3.2)

Change-Id: Ifff80c025d9e3309190330931e1eb49e8ea7f9e4
This commit is contained in:
Stephan Bergmann
2012-08-16 11:07:42 +02:00
parent d8d7bd68ab
commit 751eca72f1
6 changed files with 5 additions and 18 deletions

View File

@@ -46,7 +46,6 @@ class SvxBrushItem;
class Font;
class Graphic;
class SvxNodeNum;
class BitmapEx;
namespace com{namespace sun{ namespace star{
namespace text{
class XNumberingFormatter;
@@ -161,8 +160,6 @@ private:
String sCharStyleName; // Character Style
BitmapEx* pScaledImageCache; // Image scaled to aGraphicSize, only cached for WINDOW/VDEV
DECL_STATIC_LINK( SvxNumberFormat, GraphicArrived, void * );
virtual void NotifyGraphicArrived();
public:

View File

@@ -163,7 +163,6 @@ class EDITENG_DLLPUBLIC SvxAutoCorrectLanguageLists
Date aModifiedDate;
Time aModifiedTime, aLastCheckTime;
LanguageType eLanguage; //LANGUAGE_DONTKNOW use for all languages
SvStringsISortDtor* pCplStt_ExcptLst;
SvStringsISortDtor* pWrdStt_ExcptLst;
SvxAutocorrWordList* pAutocorr_List;
@@ -187,8 +186,7 @@ class EDITENG_DLLPUBLIC SvxAutoCorrectLanguageLists
public:
SvxAutoCorrectLanguageLists( SvxAutoCorrect& rParent,
const String& rShareAutoCorrectFile,
const String& rUserAutoCorrectFile,
LanguageType eLang);
const String& rUserAutoCorrectFile);
~SvxAutoCorrectLanguageLists();
// Load, Set, Get - the replacement list

View File

@@ -61,9 +61,7 @@ EditHTMLParser::EditHTMLParser( SvStream& rIn, const String& rBaseURL, SvKeyValu
bInTitle(false),
nInTable(0),
nInCell(0),
nDefListLevel(0),
nBulletLevel(0),
nNumberingLevel(0)
nDefListLevel(0)
{
DBG_ASSERT( RTL_TEXTENCODING_DONTKNOW == GetSrcEncoding( ), "EditHTMLParser::EditHTMLParser: Where does the encoding come from?" );
DBG_ASSERT( !IsSwitchToUCS2(), "EditHTMLParser::::EditHTMLParser: Switch to UCS2?" );

View File

@@ -58,8 +58,6 @@ private:
sal_uInt8 nInTable;
sal_uInt8 nInCell;
sal_uInt8 nDefListLevel;
sal_uInt8 nBulletLevel;
sal_uInt8 nNumberingLevel;
void StartPara( bool bReal );
void EndPara( bool bReal );

View File

@@ -1569,7 +1569,7 @@ sal_Bool SvxAutoCorrect::CreateLanguageFile( LanguageType eLang, sal_Bool bNewFi
{
sShareDirFile = sUserDirFile;
pLists = new SvxAutoCorrectLanguageLists( *this, sShareDirFile,
sUserDirFile, eLang );
sUserDirFile );
pLangTable->insert(eLang, pLists);
aLastFileTable.erase(nFndPos);
}
@@ -1580,7 +1580,7 @@ sal_Bool SvxAutoCorrect::CreateLanguageFile( LanguageType eLang, sal_Bool bNewFi
( sShareDirFile = sUserDirFile, bNewFile ))
{
pLists = new SvxAutoCorrectLanguageLists( *this, sShareDirFile,
sUserDirFile, eLang );
sUserDirFile );
pLangTable->insert(eLang, pLists);
if (nFndPos != aLastFileTable.end())
aLastFileTable.erase(nFndPos);
@@ -1894,14 +1894,12 @@ String SvxAutoCorrect::GetAutoCorrFileName( LanguageType eLang,
SvxAutoCorrectLanguageLists::SvxAutoCorrectLanguageLists(
SvxAutoCorrect& rParent,
const String& rShareAutoCorrectFile,
const String& rUserAutoCorrectFile,
LanguageType eLang)
const String& rUserAutoCorrectFile)
: sShareAutoCorrFile( rShareAutoCorrectFile ),
sUserAutoCorrFile( rUserAutoCorrectFile ),
aModifiedDate( Date::EMPTY ),
aModifiedTime( Time::EMPTY ),
aLastCheckTime( Time::EMPTY ),
eLanguage(eLang),
pCplStt_ExcptLst( 0 ),
pWrdStt_ExcptLst( 0 ),
pAutocorr_List( 0 ),

View File

@@ -371,7 +371,6 @@ public:
private:
com::sun::star::uno::Reference< com::sun::star::text::XText > mxText;
EditEngine* mpEditEngine;
ESelection maSelection;
};
@@ -384,7 +383,6 @@ SvxXMLTextExportComponent::SvxXMLTextExportComponent(
const ::rtl::OUString& rFileName,
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler > & xHandler)
: SvXMLExport( xServiceFactory, rFileName, xHandler, ((frame::XModel*)new SvxSimpleUnoModel()), MAP_CM ),
mpEditEngine( pEditEngine ),
maSelection( rSel )
{
SvxEditEngineSource aEditSource( pEditEngine );