diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2013-08-31 13:10:23 -0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-01 09:15:44 +0000 |
commit | 1d3483ed279982278b2f9fb1bab63485523e48c5 (patch) | |
tree | 449e6a4b8999e0ba54359b4b8d26a32e819942ad /include | |
parent | 92ce8daf21f2081eca9b4f4294115b904c168a46 (diff) |
Remove some unused code from unusedcode.easy
Change-Id: Ic3e96eebbb914c5b905a8c58532ead9cb01dd41d
Reviewed-on: https://gerrit.libreoffice.org/5721
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/connectivity/dbconversion.hxx | 6 | ||||
-rw-r--r-- | include/svx/AffineMatrixItem.hxx | 2 | ||||
-rw-r--r-- | include/tools/stream.hxx | 4 | ||||
-rw-r--r-- | include/vcl/menu.hxx | 5 | ||||
-rw-r--r-- | include/vcl/status.hxx | 3 |
5 files changed, 1 insertions, 19 deletions
diff --git a/include/connectivity/dbconversion.hxx b/include/connectivity/dbconversion.hxx index 4bc0ed722422..d579d0e61a80 100644 --- a/include/connectivity/dbconversion.hxx +++ b/include/connectivity/dbconversion.hxx @@ -110,9 +110,6 @@ namespace dbtools static ::com::sun::star::util::DateTime toDateTime(double dVal, const ::com::sun::star::util::Date& _rNullDate = getStandardDate()); static ::com::sun::star::util::DateTime toDateTime(const OUString& _sSQLDate); - - // TODO: consider removing getMsFromTime - static sal_Int32 getMsFromTime(const ::com::sun::star::util::Time& rVal); static sal_Int64 getNsFromTime(const ::com::sun::star::util::Time& rVal); static sal_Int32 toDays(const ::com::sun::star::util::Date& _rVal, const ::com::sun::star::util::Date& _rNullDate = getStandardDate()); @@ -121,9 +118,6 @@ namespace dbtools static double toDouble(const ::com::sun::star::util::Time& rVal); static double toDouble(const ::com::sun::star::util::DateTime& rVal, const ::com::sun::star::util::Date& _rNullDate = getStandardDate()); - static sal_Int32 toINT32(const ::com::sun::star::util::Date& rVal); - static sal_Int64 toINT64(const ::com::sun::star::util::Time& rVal); - static ::com::sun::star::util::Date toDate(sal_Int32 _nVal); static ::com::sun::star::util::Time toTime(sal_Int64 _nVal); diff --git a/include/svx/AffineMatrixItem.hxx b/include/svx/AffineMatrixItem.hxx index 20fa4ae8f15b..e37d71d1741a 100644 --- a/include/svx/AffineMatrixItem.hxx +++ b/include/svx/AffineMatrixItem.hxx @@ -45,8 +45,6 @@ public: virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); - - const com::sun::star::geometry::AffineMatrix2D& GetAffineMatrix2D() const; }; #endif // _SVX_AFFINEMATRIXITEM_HXX diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index d71f1587d18c..b051e9a7e7a0 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -658,9 +658,7 @@ private: OUString aFilename; sal_uInt16 nLockCounter; bool bIsOpen; -#ifdef UNX - sal_uInt32 GetFileHandle() const; -#endif + // Forbidden and not implemented. SvFileStream (const SvFileStream&); SvFileStream & operator= (const SvFileStream&); diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx index 54bb0a66726b..78a1644cc51d 100644 --- a/include/vcl/menu.hxx +++ b/include/vcl/menu.hxx @@ -273,9 +273,7 @@ public: void SetItemImage( sal_uInt16 nItemId, const Image& rImage ); Image GetItemImage( sal_uInt16 nItemId ) const; void SetItemImageAngle( sal_uInt16 nItemId, long nAngle10 ); - long GetItemImageAngle( sal_uInt16 nItemId ) const; void SetItemImageMirrorMode( sal_uInt16 nItemId, sal_Bool bMirror ); - sal_Bool GetItemImageMirrorMode( sal_uInt16 ) const; void SetItemCommand( sal_uInt16 nItemId, const OUString& rCommand ); OUString GetItemCommand( sal_uInt16 nItemId ) const; @@ -304,10 +302,7 @@ public: void SetSelectHdl( const Link& rLink ) { aSelectHdl = rLink; } const Link& GetSelectHdl() const { return aSelectHdl; } - void SetLogo( const MenuLogo& rLogo ); - void SetLogo(); sal_Bool HasLogo() const { return pLogo ? sal_True : sal_False; } - MenuLogo GetLogo() const; void AddEventListener( const Link& rEventListener ); void RemoveEventListener( const Link& rEventListener ); diff --git a/include/vcl/status.hxx b/include/vcl/status.hxx index a1a53fd86214..e8a2305bb13d 100644 --- a/include/vcl/status.hxx +++ b/include/vcl/status.hxx @@ -136,13 +136,10 @@ public: void HideItem( sal_uInt16 nItemId ); sal_Bool IsItemVisible( sal_uInt16 nItemId ) const; - void ShowItems(); - void HideItems(); sal_Bool AreItemsVisible() const { return mbVisibleItems; } void RedrawItem( sal_uInt16 nItemId ); - void CopyItems( const StatusBar& rStatusBar ); void Clear(); sal_uInt16 GetItemCount() const; |