diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-30 23:26:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-31 09:04:17 +0200 |
commit | 938fd390a96bd8cb61f67d7318ad4fe64ade1b2d (patch) | |
tree | 03b51e1945cb3f8251e6f2291241fb43fc1de91b /extensions | |
parent | -Werror,-Wunused-private-field (Clang towards 3.2) (diff) | |
download | core-938fd390a96bd8cb61f67d7318ad4fe64ade1b2d.tar.gz core-938fd390a96bd8cb61f67d7318ad4fe64ade1b2d.zip |
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I8daed910fc552a973464ec6756f59910ddd5d0da
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/bibcont.cxx | 6 | ||||
-rw-r--r-- | extensions/source/bibliography/bibcont.hxx | 6 | ||||
-rw-r--r-- | extensions/source/bibliography/bibload.cxx | 2 | ||||
-rw-r--r-- | extensions/source/propctrlr/formcontroller.hxx | 1 | ||||
-rw-r--r-- | extensions/source/scanner/sanedlg.hxx | 1 |
5 files changed, 4 insertions, 12 deletions
diff --git a/extensions/source/bibliography/bibcont.cxx b/extensions/source/bibliography/bibcont.cxx index fc810c734910..c61ea5f3e520 100644 --- a/extensions/source/bibliography/bibcont.cxx +++ b/extensions/source/bibliography/bibcont.cxx @@ -123,12 +123,10 @@ sal_Bool BibWindowContainer::HandleShortCutKey( const KeyEvent& rKeyEvent ) } -BibBookContainer::BibBookContainer(Window* pParent,BibDataManager* pDtMn, WinBits nStyle): +BibBookContainer::BibBookContainer(Window* pParent, WinBits nStyle): BibSplitWindow(pParent,nStyle), - pDatMan(pDtMn), pTopWin(NULL), - pBottomWin(NULL), - bFirstTime(sal_True) + pBottomWin(NULL) { pBibMod = OpenBibModul(); aTimer.SetTimeoutHdl(LINK( this, BibBookContainer, SplitHdl)); diff --git a/extensions/source/bibliography/bibcont.hxx b/extensions/source/bibliography/bibcont.hxx index 710f871c9209..cb5bbee09bb1 100644 --- a/extensions/source/bibliography/bibcont.hxx +++ b/extensions/source/bibliography/bibcont.hxx @@ -30,8 +30,6 @@ #define TOP_WINDOW 1 #define BOTTOM_WINDOW 2 -class BibDataManager; - class BibWindowContainer : public BibWindow //Window { private: @@ -70,10 +68,8 @@ class BibBookContainer: public BibSplitWindow ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > xTopPeerRef; ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > xBottomPeerRef; - BibDataManager* pDatMan; BibWindowContainer* pTopWin; BibWindowContainer* pBottomWin; - sal_Bool bFirstTime; HdlBibModul pBibMod; Timer aTimer; @@ -87,7 +83,7 @@ class BibBookContainer: public BibSplitWindow public: - BibBookContainer(Window* pParent,BibDataManager*, WinBits nStyle = WB_3DLOOK ); + BibBookContainer(Window* pParent, WinBits nStyle = WB_3DLOOK ); ~BibBookContainer(); inline BibWindow* GetTopWin() {return pTopWin;} diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index 66ab4b49c9a6..5753a86f5aee 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -315,7 +315,7 @@ void BibliographyLoader::loadView(const Reference< XFrame > & rFrame, const rtl: Window* pParent = VCLUnoHelper::GetWindow( aWindow ); - BibBookContainer *pMyWindow = new BibBookContainer( pParent, m_pDatMan ); + BibBookContainer *pMyWindow = new BibBookContainer( pParent ); pMyWindow->Show(); ::bib::BibView* pView = new ::bib::BibView( pMyWindow, m_pDatMan, WB_VSCROLL | WB_HSCROLL | WB_3DLOOK ); diff --git a/extensions/source/propctrlr/formcontroller.hxx b/extensions/source/propctrlr/formcontroller.hxx index f6e6c7d6b11a..3cb2f5cdc177 100644 --- a/extensions/source/propctrlr/formcontroller.hxx +++ b/extensions/source/propctrlr/formcontroller.hxx @@ -61,7 +61,6 @@ namespace pcr ServiceDescriptor m_aServiceDescriptor; ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > m_xCurrentInspectee; - bool m_bUseFormComponentHandlers; public: FormController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext, diff --git a/extensions/source/scanner/sanedlg.hxx b/extensions/source/scanner/sanedlg.hxx index 5e1fcc947963..e1aae9e2f247 100644 --- a/extensions/source/scanner/sanedlg.hxx +++ b/extensions/source/scanner/sanedlg.hxx @@ -53,7 +53,6 @@ private: sal_Bool mbDragEnable; sal_Bool mbIsDragging; bool mbScanEnabled; - int mnDragMode; sal_Bool mbDragDrawn; DragDirection meDragDirection; |