diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-29 12:40:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-29 15:08:43 +0200 |
commit | 34180700b2686c97cdce0b52ca9578a41a153035 (patch) | |
tree | 073f3753e4483f30efa3c7c769f23971e6a046d5 /include | |
parent | e710170d906fcb248a5e4ff5a3a90cbf0e20003d (diff) |
loplugin:removeunusedmethods, remove unused stuff
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
Diffstat (limited to 'include')
32 files changed, 0 insertions, 247 deletions
diff --git a/include/basebmp/colortraits.hxx b/include/basebmp/colortraits.hxx index 0b0c4921f234..d9b43320a58b 100644 --- a/include/basebmp/colortraits.hxx +++ b/include/basebmp/colortraits.hxx @@ -119,13 +119,6 @@ template< typename ColorType > struct ColorTraits /// Type of a color component (i.e. the type of an individual channel) typedef ColorType component_type; - /// Calculate normalized distance between color c1 and c2 - static inline vigra::NormTraits<ColorType> distance( ColorType c1, - ColorType c2 ) - { - return vigra::norm(c1 - c2); - } - static inline component_type toGreyscale( ColorType c ) { return c; diff --git a/include/comphelper/configuration.hxx b/include/comphelper/configuration.hxx index 226462fad992..8ca6bd7eccfd 100644 --- a/include/comphelper/configuration.hxx +++ b/include/comphelper/configuration.hxx @@ -242,14 +242,6 @@ private: /// to access each given localized configuration property. template< typename T, typename U > struct ConfigurationLocalizedProperty { - /// Get the read-only status of the given localized configuration property. - static bool isReadOnly( - css::uno::Reference<css::uno::XComponentContext> const & context - = comphelper::getProcessComponentContext()) - { - return detail::ConfigurationWrapper::get(context).isReadOnly(T::path()); - } - /// Get the value of the given localized configuration property, for the /// locale currently set at the /// com.sun.star.configuration.theDefaultProvider. diff --git a/include/comphelper/optional.hxx b/include/comphelper/optional.hxx index a1ffba09cdf9..5ea8bb7ba242 100644 --- a/include/comphelper/optional.hxx +++ b/include/comphelper/optional.hxx @@ -42,38 +42,6 @@ inline ::boost::optional<T> make_optional( return ::boost::optional<T>(); } -template <typename T> -inline ::com::sun::star::beans::Optional<T> makeOptional( T const& v ) -{ -// CPPU_IS_CPP_MAPPING_OF_NON_VOID_UNO_TYPE(T); - return ::com::sun::star::beans::Optional<T>(true, v); -} - -template <typename T> -inline ::com::sun::star::beans::Optional<T> makeOptional( - ::boost::optional<T> const& o ) -{ -// CPPU_IS_CPP_MAPPING_OF_NON_VOID_UNO_TYPE(T); - if (o) - return ::com::sun::star::beans::Optional<T>(true, *o); - else - return ::com::sun::star::beans::Optional<T>(); -} - -inline ::com::sun::star::beans::Optional<sal_Bool> makeOptional( - ::boost::optional<bool> const& o ) -{ - if (o) - return ::com::sun::star::beans::Optional<sal_Bool>(true, *o); - else - return ::com::sun::star::beans::Optional<sal_Bool>(); -} - -inline ::com::sun::star::beans::Optional<sal_Bool> makeOptional( bool v ) -{ - return ::com::sun::star::beans::Optional<sal_Bool>(true, v); -} - } // namespace comphelper #endif // ! defined(INCLUDED_COMPHELPER_OPTIONAL_HXX) diff --git a/include/dbaccess/ToolBoxHelper.hxx b/include/dbaccess/ToolBoxHelper.hxx index 3c6ed20e4802..a7ad8375e00b 100644 --- a/include/dbaccess/ToolBoxHelper.hxx +++ b/include/dbaccess/ToolBoxHelper.hxx @@ -64,8 +64,6 @@ namespace dbaui */ void setToolBox(ToolBox* _pTB); - inline ToolBox* getToolBox() const { return m_pToolBox; } - /** checks if the toolbox needs a new imagelist. */ void checkImageList(); diff --git a/include/editeng/adjustitem.hxx b/include/editeng/adjustitem.hxx index b6142e6627ca..15403a2fe299 100644 --- a/include/editeng/adjustitem.hxx +++ b/include/editeng/adjustitem.hxx @@ -46,7 +46,6 @@ class EDITENG_DLLPUBLIC SvxAdjustItem : public SfxEnumItemInterface bool bLastCenter : 1; bool bLastBlock : 1; - friend SvStream& WriteSvxAdjustItem( SvStream&, SvxAdjustItem& ); //$ ostream public: TYPEINFO_OVERRIDE(); diff --git a/include/editeng/hyphenzoneitem.hxx b/include/editeng/hyphenzoneitem.hxx index e3b8b05787e1..d26946e9d23b 100644 --- a/include/editeng/hyphenzoneitem.hxx +++ b/include/editeng/hyphenzoneitem.hxx @@ -40,8 +40,6 @@ class EDITENG_DLLPUBLIC SvxHyphenZoneItem : public SfxPoolItem sal_uInt8 nMinTrail; sal_uInt8 nMaxHyphens; - friend SvStream & WriteSvxHyphenZoneItem( SvStream & aS, SvxHyphenZoneItem & ); - public: TYPEINFO_OVERRIDE(); diff --git a/include/editeng/lspcitem.hxx b/include/editeng/lspcitem.hxx index b493a6f1b6df..61ba35bf2a7e 100644 --- a/include/editeng/lspcitem.hxx +++ b/include/editeng/lspcitem.hxx @@ -34,8 +34,6 @@ class SvXMLUnitConverter; #define LINE_SPACE_DEFAULT_HEIGHT 200 class EDITENG_DLLPUBLIC SvxLineSpacingItem : public SfxEnumItemInterface { - friend SvStream& WriteSvxLineSpacingItem( SvStream&, SvxLineSpacingItem& ); //$ ostream - short nInterLineSpace; sal_uInt16 nLineHeight; sal_uInt16 nPropLineSpace; diff --git a/include/editeng/orphitem.hxx b/include/editeng/orphitem.hxx index ff523a3134a3..da731daabf71 100644 --- a/include/editeng/orphitem.hxx +++ b/include/editeng/orphitem.hxx @@ -33,7 +33,6 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxOrphansItem: public SfxByteItem { - friend SvStream & WriteSvxOrphansItem( SvStream & aS, SvxOrphansItem & ); public: TYPEINFO_OVERRIDE(); diff --git a/include/editeng/tstpitem.hxx b/include/editeng/tstpitem.hxx index 41b4d56de32f..ae57bd581373 100644 --- a/include/editeng/tstpitem.hxx +++ b/include/editeng/tstpitem.hxx @@ -41,8 +41,6 @@ private: mutable sal_Unicode m_cDecimal; sal_Unicode cFill; - EDITENG_DLLPRIVATE friend SvStream& WriteSvxTabStop( SvStream&, SvxTabStop& ); - void fillDecimal() const; public: diff --git a/include/editeng/widwitem.hxx b/include/editeng/widwitem.hxx index b6d3bffce230..6ff21382407c 100644 --- a/include/editeng/widwitem.hxx +++ b/include/editeng/widwitem.hxx @@ -33,7 +33,6 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxWidowsItem: public SfxByteItem { - friend SvStream & WriteSvxWidowsItem( SvStream & aS, SvxWidowsItem & ); public: TYPEINFO_OVERRIDE(); diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx index 42328e01127c..566527506b23 100644 --- a/include/filter/msfilter/msdffimp.hxx +++ b/include/filter/msfilter/msdffimp.hxx @@ -181,7 +181,6 @@ struct SvxMSDffConnectorRule , pCObj( NULL ) {}; - friend SvStream& ReadSvxMSDffConnectorRule( SvStream& rIn, SvxMSDffConnectorRule& rAtom ); }; struct MSFILTER_DLLPUBLIC SvxMSDffSolverContainer diff --git a/include/oox/helper/containerhelper.hxx b/include/oox/helper/containerhelper.hxx index e0a09895a0c5..a1a8d541fe27 100644 --- a/include/oox/helper/containerhelper.hxx +++ b/include/oox/helper/containerhelper.hxx @@ -283,17 +283,6 @@ public: static ::com::sun::star::uno::Sequence< typename VectorType::value_type > vectorToSequence( const VectorType& rVector ); - /** Creates a UNO sequence from a std::map with copies of all elements. - - @param rMap The map to be converted to a sequence. - - @return A com.sun.star.uno.Sequence object with copies of all objects - contained in the passed map. - */ - template< typename MapType > - static ::com::sun::star::uno::Sequence< typename MapType::mapped_type > - mapToSequence( const MapType& rMap ); - /** Creates a UNO sequence of sequences from a matrix with copies of all elements. @param rMatrix The matrix to be converted to a sequence of sequences. @@ -370,19 +359,6 @@ template< typename VectorType > return ::com::sun::star::uno::Sequence< ValueType >( &rVector.front(), static_cast< sal_Int32 >( rVector.size() ) ); } -template< typename MapType > -/*static*/ ::com::sun::star::uno::Sequence< typename MapType::mapped_type > ContainerHelper::mapToSequence( const MapType& rMap ) -{ - typedef typename MapType::mapped_type ValueType; - if( rMap.empty() ) - return ::com::sun::star::uno::Sequence< ValueType >(); - ::com::sun::star::uno::Sequence< ValueType > aSeq( static_cast< sal_Int32 >( rMap.size() ) ); - sal_Int32 nIndex = 0; - for( typename MapType::const_iterator aIt = rMap.begin(), aEnd = rMap.end(); aIt != aEnd; ++aIt, ++nIndex ) - aSeq[ nIndex ] = *aIt; - return aSeq; -} - template< typename MatrixType > /*static*/ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< typename MatrixType::value_type > > ContainerHelper::matrixToSequenceSequence( const MatrixType& rMatrix ) { diff --git a/include/oox/helper/refvector.hxx b/include/oox/helper/refvector.hxx index c5b13d5c9a2e..b98d961e203f 100644 --- a/include/oox/helper/refvector.hxx +++ b/include/oox/helper/refvector.hxx @@ -46,13 +46,6 @@ public: typedef typename container_type::size_type size_type; public: - /** Returns true, if the object with the passed index exists. Returns - false, if the vector element exists but is an empty reference. */ - bool has( sal_Int32 nIndex ) const - { - const value_type* pxRef = getRef( nIndex ); - return pxRef && pxRef->get(); - } /** Returns a reference to the object with the passed index, or 0 on error. */ value_type get( sal_Int32 nIndex ) const diff --git a/include/sot/filelist.hxx b/include/sot/filelist.hxx index a91f9dbd41b6..10502c12c7e6 100644 --- a/include/sot/filelist.hxx +++ b/include/sot/filelist.hxx @@ -42,7 +42,6 @@ public: FileList& operator=( const FileList& rFileList ); // Im-/Export - SOT_DLLPUBLIC friend SvStream& WriteFileList( SvStream& rOStm, const FileList& rFileList ); SOT_DLLPUBLIC friend SvStream& ReadFileList( SvStream& rIStm, FileList& rFileList ); // Liste fuellen/abfragen diff --git a/include/store/store.hxx b/include/store/store.hxx index 943b73ccd570..d9edcf371a6a 100644 --- a/include/store/store.hxx +++ b/include/store/store.hxx @@ -86,14 +86,6 @@ public: return m_hImpl; } - /** Check for a valid Stream Handle. - @return sal_True if valid, sal_False otherwise. - */ - inline bool isValid() const - { - return (m_hImpl != 0); - } - /** Open the stream. @see store_openStream() */ @@ -251,14 +243,6 @@ public: return m_hImpl; } - /** Check for a valid Directory Handle. - @return sal_True if valid, sal_False otherwise. - */ - inline bool isValid() const - { - return (m_hImpl != 0); - } - /** Open the directory. @see store_openDirectory() */ diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx index 7e73dc86a009..c1b79e0ddf58 100644 --- a/include/svl/zforlist.hxx +++ b/include/svl/zforlist.hxx @@ -236,8 +236,6 @@ public: sal_uInt16 nNegativeFmt, sal_uInt16 nDig, sal_Unicode cZero); ~NfCurrencyEntry() {} - inline NfCurrencyEntry* Clone() const; - /// Symbols and language identical bool operator==( const NfCurrencyEntry& r ) const; @@ -297,17 +295,6 @@ NfCurrencyEntry::NfCurrencyEntry(const OUString& rSymbol, const OUString& rBankS { } -NfCurrencyEntry* NfCurrencyEntry::Clone() const -{ - return new NfCurrencyEntry( - aSymbol, aBankSymbol, eLanguage, nPositiveFormat, nNegativeFormat, nDigits, cZeroChar); -} - -inline NfCurrencyEntry* new_clone( const NfCurrencyEntry& r ) -{ - return r.Clone(); -} - typedef std::vector< OUString > NfWSStringsDtor; class SvNumberFormatterRegistry_Impl; diff --git a/include/svtools/accessibilityoptions.hxx b/include/svtools/accessibilityoptions.hxx index 66ddf499b229..15484c717cdc 100644 --- a/include/svtools/accessibilityoptions.hxx +++ b/include/svtools/accessibilityoptions.hxx @@ -39,7 +39,6 @@ public: // get & set config entries bool GetIsForPagePreviews() const; - bool GetIsHelpTipsDisappear() const; bool GetIsAllowAnimatedGraphics() const; bool GetIsAllowAnimatedText() const; bool GetIsAutomaticFontColor() const; diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx index c72e0ee522a9..6e4999a03c3a 100644 --- a/include/svtools/grfmgr.hxx +++ b/include/svtools/grfmgr.hxx @@ -488,9 +488,6 @@ public: void StopAnimation( OutputDevice* pOut = NULL, long nExtraData = 0L ); - friend SvStream& WriteGraphicObject( SvStream& rOStm, const GraphicObject& rGraphicObj ); - friend SvStream& ReadGraphicObject( SvStream& rIStm, GraphicObject& rGraphicObj ); - static GraphicObject CreateGraphicObjectFromURL( const OUString &rURL ); // will inspect an object ( e.g. a control ) for any 'ImageURL' // properties and return these in a vector. Note: this implementation diff --git a/include/svx/sdr/attribute/sdrtextattribute.hxx b/include/svx/sdr/attribute/sdrtextattribute.hxx index 7d5de1d7bc04..1d8aebc06d6c 100644 --- a/include/svx/sdr/attribute/sdrtextattribute.hxx +++ b/include/svx/sdr/attribute/sdrtextattribute.hxx @@ -110,7 +110,6 @@ namespace drawinglayer SdrTextHorzAdjust getSdrTextHorzAdjust() const; SdrTextVertAdjust getSdrTextVertAdjust() const; - bool isToBeChained() const; bool isChainable() const; diff --git a/include/svx/svdsob.hxx b/include/svx/svdsob.hxx index c417c4980e21..3652b59b4e0c 100644 --- a/include/svx/svdsob.hxx +++ b/include/svx/svdsob.hxx @@ -90,9 +90,6 @@ public: void operator&=(const SetOfByte& r2ndSet); void operator|=(const SetOfByte& r2ndSet); - friend inline SvStream& WriteSetOfByte(SvStream& rOut, const SetOfByte& rSet); - friend inline SvStream& ReadSetOfByte(SvStream& rIn, SetOfByte& rSet); - // initialize this set with a uno sequence of sal_Int8 void PutValue(const com::sun::star::uno::Any & rAny); @@ -100,18 +97,6 @@ public: void QueryValue(com::sun::star::uno::Any & rAny) const; }; -inline SvStream& WriteSetOfByte(SvStream& rOut, const SetOfByte& rSet) -{ - rOut.Write(rSet.aData, 32); - return rOut; -} - -inline SvStream& ReadSetOfByte(SvStream& rIn, SetOfByte& rSet) -{ - rIn.Read(rSet.aData, 32); - return rIn; -} - #endif // INCLUDED_SVX_SVDSOB_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/svdtypes.hxx b/include/svx/svdtypes.hxx index c6845e51976c..53351d1da354 100644 --- a/include/svx/svdtypes.hxx +++ b/include/svx/svdtypes.hxx @@ -85,8 +85,6 @@ enum SdrObjListKind {SDROBJLIST_UNKNOWN =0x00, // Here is space for 8 more types of pages }; // reserved for Surrogate -inline bool SdrIsPageKind(SdrObjListKind eK) { return eK>=SDROBJLIST_DRAWPAGE && eK<=0x1A; } - /* * Repeat */ diff --git a/include/svx/textchainflow.hxx b/include/svx/textchainflow.hxx index f0b8f5b33eff..ddb651a8516e 100644 --- a/include/svx/textchainflow.hxx +++ b/include/svx/textchainflow.hxx @@ -49,10 +49,6 @@ public: bool IsUnderflow() const; SdrTextObj *GetLinkTarget() const; - SdrTextObj *GetNextLink() const; - - OFlowChainedText *GetOverflowChainedText() const; - UFlowChainedText *GetUnderflowChainedText() const; protected: // Cursor related diff --git a/include/svx/unoapi.hxx b/include/svx/unoapi.hxx index 1d4fd75efe23..4ea4549f7c8b 100644 --- a/include/svx/unoapi.hxx +++ b/include/svx/unoapi.hxx @@ -55,11 +55,6 @@ SVX_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDraw SVX_DLLPUBLIC SdrPage* GetSdrPageFromXDrawPage( ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > xDrawPage ) throw() ; /** - * Returns the SvxNumBulletItem with the given name from the pool or a null if there is no item with that name - */ -SvxNumBulletItem* SvxGetNumBulletItemByName( SfxItemPool* pPool, const OUString& aName ) throw(); - -/** * Maps the vcl MapUnit enum to a API constant MeasureUnit. * Returns false if conversion is not supported. */ diff --git a/include/tools/pstm.hxx b/include/tools/pstm.hxx index 4bf6dbd71ff1..9d22c4234c39 100644 --- a/include/tools/pstm.hxx +++ b/include/tools/pstm.hxx @@ -178,7 +178,6 @@ public: // Objects maintain their IDs while storing and loading to/from stream friend SvStream& operator >> ( SvStream &, SvPersistStream & ); - friend SvStream& WriteSvPersistStream( SvStream &, SvPersistStream & ); }; #endif diff --git a/include/unotools/sharedunocomponent.hxx b/include/unotools/sharedunocomponent.hxx index 9a39134f6d26..04df770fbaf8 100644 --- a/include/unotools/sharedunocomponent.hxx +++ b/include/unotools/sharedunocomponent.hxx @@ -193,9 +193,7 @@ namespace utl */ void reset( const ::com::sun::star::uno::Reference< INTERFACE >& _rxComponent, AssignmentMode _eMode = TakeOwnership ); - inline bool set( ::com::sun::star::uno::XInterface* _pInterface, ::com::sun::star::uno::UnoReference_Query _query ); inline bool set( const ::com::sun::star::uno::BaseReference& _rRef, ::com::sun::star::uno::UnoReference_Query _query ); - inline bool set( const ::com::sun::star::uno::Any& _rAny, ::com::sun::star::uno::UnoReference_Query _query ); inline void set( const ::com::sun::star::uno::XInterface* _pInterface, ::com::sun::star::uno::UnoReference_QueryThrow _queryThrow ); inline void set( const ::com::sun::star::uno::BaseReference & _rRef, ::com::sun::star::uno::UnoReference_QueryThrow _queryThrow ); @@ -308,26 +306,12 @@ namespace utl } template < class INTERFACE, class COMPONENT > - bool SharedUNOComponent< INTERFACE, COMPONENT >::set( ::com::sun::star::uno::XInterface* _pInterface, ::com::sun::star::uno::UnoReference_Query _query ) - { - reset( ::com::sun::star::uno::Reference< INTERFACE >( _pInterface, _query ) ); - return is(); - } - - template < class INTERFACE, class COMPONENT > bool SharedUNOComponent< INTERFACE, COMPONENT >::set( const ::com::sun::star::uno::BaseReference& _rRef, ::com::sun::star::uno::UnoReference_Query _query ) { reset( ::com::sun::star::uno::Reference< INTERFACE >( _rRef, _query ) ); return is(); } - template < class INTERFACE, class COMPONENT > - bool SharedUNOComponent< INTERFACE, COMPONENT >::set( const ::com::sun::star::uno::Any& _rAny, ::com::sun::star::uno::UnoReference_Query _query ) - { - reset( ::com::sun::star::uno::Reference< INTERFACE >( _rAny, _query ) ); - return is(); - } - } // namespace utl #endif // INCLUDED_UNOTOOLS_SHAREDUNOCOMPONENT_HXX diff --git a/include/vcl/dibtools.hxx b/include/vcl/dibtools.hxx index ddd7c87a2bc7..079ff9e4e1a2 100644 --- a/include/vcl/dibtools.hxx +++ b/include/vcl/dibtools.hxx @@ -66,13 +66,6 @@ bool VCL_DLLPUBLIC WriteDIBBitmapEx( const BitmapEx& rSource, SvStream& rOStm); -bool VCL_DLLPUBLIC WriteDIBV5( - const Bitmap& rSource, - const Bitmap& rSourceAlpha, - SvStream& rOStm); - - - #endif // INCLUDED_VCL_DIBTOOLS_HXX diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx index 9809ca60e58e..6f5c46ecbc39 100644 --- a/include/vcl/gdimtf.hxx +++ b/include/vcl/gdimtf.hxx @@ -210,30 +210,6 @@ public: bool GetUseCanvas() const { return bUseCanvas; } }; -/** Create a special metaaction that delegates rendering to specified - service. - - This factory function creates a MetaCommentAction that delegates - rendering to the specified services, once played back in the - metafile. - - @param rRendererServiceName - Renderer service. Gets an awt::XGraphic on instantiation - - @param rGraphicServiceName - Graphic service. Gets the raw data on instantiation - - @param pData - Raw data. Gets copied - - @param nDataSize - Length, in byte, of raw data - */ -MetaCommentAction* makePluggableRendererAction( const OUString& rRendererServiceName, - const OUString& rGraphicServiceName, - const void* pData, - sal_uInt32 nDataSize ); - #endif // INCLUDED_VCL_GDIMTF_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx index 005c146ef14b..318064bbf3b0 100644 --- a/include/vcl/graphicfilter.hxx +++ b/include/vcl/graphicfilter.hxx @@ -172,7 +172,6 @@ class VCL_DLLPUBLIC GraphicDescriptor bool ImpDetectSGV( SvStream& rStm, bool bExtendedInfo ); bool ImpDetectEMF( SvStream& rStm, bool bExtendedInfo ); bool ImpDetectSVG( SvStream& rStm, bool bExtendedInfo ); - bool ImpDetectMOV( SvStream& rStm, bool bExtendedInfo ); GraphicDescriptor( const GraphicDescriptor& ) SAL_DELETED_FUNCTION; GraphicDescriptor& operator=( const GraphicDescriptor& ) SAL_DELETED_FUNCTION; @@ -216,9 +215,6 @@ public: /** return number of planes or 0 */ sal_uInt16 GetPlanes() const { return nPlanes; } - /** @return true if the graphic is compressed */ - bool IsCompressed() const { return bCompressed; } - /** @return filter number that is needed by the GraphFilter to read this format */ static OUString GetImportFormatShortName( GraphicFileFormat nFormat ); }; @@ -270,7 +266,6 @@ public: OUString GetImportFormatShortName( sal_uInt16 nFormat ); static OUString GetImportOSFileType( sal_uInt16 nFormat ); OUString GetImportWildcard( sal_uInt16 nFormat, sal_Int32 nEntry = 0 ); - bool IsImportPixelFormat( sal_uInt16 nFormat ); sal_uInt16 GetExportFormatCount(); sal_uInt16 GetExportFormatNumber( const OUString& rFormatName ); diff --git a/include/vcl/helper.hxx b/include/vcl/helper.hxx index 49c4197958a2..34271cae690e 100644 --- a/include/vcl/helper.hxx +++ b/include/vcl/helper.hxx @@ -56,7 +56,6 @@ OUString VCL_DLLPUBLIC getOfficePath( enum whichOfficePath ePath ); } // namespace -bool VCL_DLLPUBLIC GetMenuInvalidateListeners(); #endif // INCLUDED_VCL_HELPER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index 4f4f223018ec..d382f12cafe7 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -99,9 +99,6 @@ public: sal_uInt32 GetJobs() const { return mnJobs; } bool operator==( const QueueInfo& rInfo ) const; - - friend VCL_DLLPUBLIC SvStream& ReadQueueInfo( SvStream& rIStream, QueueInfo& rInfo ); - friend VCL_DLLPUBLIC SvStream& WriteQueueInfo( SvStream& rOStream, const QueueInfo& rInfo ); }; diff --git a/include/vcl/threadex.hxx b/include/vcl/threadex.hxx index 939b9de2aaaa..837d7d2e1136 100644 --- a/include/vcl/threadex.hxx +++ b/include/vcl/threadex.hxx @@ -52,9 +52,6 @@ namespace vcl // doIt() completed long execute( const TimeValue& _rTimeout ) { return impl_execute( &_rTimeout ); } - public: - bool didTimeout() const { return m_bTimeout; } - private: long impl_execute( const TimeValue* _pTimeout ); }; diff --git a/include/xmloff/xmlreg.hxx b/include/xmloff/xmlreg.hxx deleted file mode 100644 index 73b97dad469f..000000000000 --- a/include/xmloff/xmlreg.hxx +++ /dev/null @@ -1,36 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef INCLUDED_XMLOFF_XMLREG_HXX -#define INCLUDED_XMLOFF_XMLREG_HXX - -#include <rtl/ref.hxx> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> - -/** - * Register subset of UNO services from XML Office library. This is necessary when - * linking against the static "xol.lib". - * - * @return returns false if at least one component could not be registered. - */ -bool XMLRegisterServices( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > ); /// [all] ServiceProvider to register in. - -#endif // INCLUDED_XMLOFF_XMLREG_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |