diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-24 22:14:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-25 09:04:26 +0200 |
commit | 1b694dad643334ec1bab3f823dcd68f44a05ebe3 (patch) | |
tree | c1b6045ae9d5497e2d28642b95b2d88f9cc14d81 /include | |
parent | de2ac128da025502c533f8cede5862e054dd9c44 (diff) |
loplugin:unusedmethods
Change-Id: Iaaf9092ec4d6189492906648b84494d087fed81f
Reviewed-on: https://gerrit.libreoffice.org/41539
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/flditem.hxx | 1 | ||||
-rw-r--r-- | include/editeng/measfld.hxx | 1 | ||||
-rw-r--r-- | include/oox/core/binarycodec.hxx | 197 | ||||
-rw-r--r-- | include/svl/inettype.hxx | 6 | ||||
-rw-r--r-- | include/svl/itempool.hxx | 6 | ||||
-rw-r--r-- | include/svl/macitem.hxx | 5 | ||||
-rw-r--r-- | include/svl/metitem.hxx | 1 | ||||
-rw-r--r-- | include/svtools/calendar.hxx | 4 | ||||
-rw-r--r-- | include/svtools/ruler.hxx | 1 | ||||
-rw-r--r-- | include/svx/EnhancedCustomShape2d.hxx | 5 | ||||
-rw-r--r-- | include/svx/framelink.hxx | 44 | ||||
-rw-r--r-- | include/svx/framelinkarray.hxx | 6 | ||||
-rw-r--r-- | include/svx/searchcharmap.hxx | 1 | ||||
-rw-r--r-- | include/svx/xbtmpit.hxx | 2 | ||||
-rw-r--r-- | include/tools/pstm.hxx | 1 | ||||
-rw-r--r-- | include/tools/stream.hxx | 3 | ||||
-rw-r--r-- | include/tools/unqidx.hxx | 62 | ||||
-rw-r--r-- | include/unotools/calendarwrapper.hxx | 1 | ||||
-rw-r--r-- | include/vcl/msgbox.hxx | 3 | ||||
-rw-r--r-- | include/vcl/texteng.hxx | 1 |
20 files changed, 5 insertions, 346 deletions
diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx index afafedb69b40..d4962fb2ff9c 100644 --- a/include/editeng/flditem.hxx +++ b/include/editeng/flditem.hxx @@ -345,7 +345,6 @@ private: public: SV_DECL_PERSIST1( SvxAuthorField, css::text::textfield::Type::AUTHOR ) - SvxAuthorField(); SvxAuthorField( const OUString& rFirstName, const OUString& rLastName, diff --git a/include/editeng/measfld.hxx b/include/editeng/measfld.hxx index 844a1c90b1c1..f29ae7e9f314 100644 --- a/include/editeng/measfld.hxx +++ b/include/editeng/measfld.hxx @@ -41,7 +41,6 @@ class EDITENG_DLLPUBLIC SdrMeasureField: public SvxFieldData { SdrMeasureFieldKind eMeasureFieldKind; public: SV_DECL_PERSIST1(SdrMeasureField, css::text::textfield::Type::MEASURE) - SdrMeasureField(): eMeasureFieldKind(SDRMEASUREFIELD_VALUE) {} SdrMeasureField(SdrMeasureFieldKind eNewKind): eMeasureFieldKind(eNewKind) {} virtual ~SdrMeasureField() override; virtual SvxFieldData* Clone() const override; diff --git a/include/oox/core/binarycodec.hxx b/include/oox/core/binarycodec.hxx index bc6c12bf36f6..0d3a253ad9bf 100644 --- a/include/oox/core/binarycodec.hxx +++ b/include/oox/core/binarycodec.hxx @@ -43,203 +43,6 @@ namespace CodecHelper } -/** Encodes and decodes data from/to protected MS Office documents. - - Implements a simple XOR encoding/decoding algorithm used in MS Excel Office - versions up to MSO 95. - */ -class OOX_DLLPUBLIC BinaryCodec_XOR -{ -public: - /** Default constructor. - - Two-step construction in conjunction with the initKey() and verifyKey() - functions allows to try to initialize with different passwords (e.g. - built-in default password used for Excel workbook protection). - */ - explicit BinaryCodec_XOR(); - - ~BinaryCodec_XOR(); - - /** Initializes the algorithm with the specified password. - - @param pnPassData - Character array containing the password. Must be zero terminated, - which results in a maximum length of 15 characters. - */ - void initKey( const sal_uInt8 pnPassData[ 16 ] ); - - /** Initializes the algorithm with the encryption data. - - @param aData - The sequence contains the necessary data to initialize - the codec. - */ - bool initCodec( const css::uno::Sequence< css::beans::NamedValue >& aData ); - - /** Retrieves the encryption data - - @return - The sequence contains the necessary data to initialize - the codec. - */ - css::uno::Sequence< css::beans::NamedValue > getEncryptionData(); - - /** Verifies the validity of the password using the passed key and hash. - - @precond - The codec must be initialized with the initKey() function before - this function can be used. - - @param nKey - Password key value read from the file. - @param nHash - Password hash value read from the file. - - @return - True = test was successful. - */ - bool verifyKey( sal_uInt16 nKey, sal_uInt16 nHash ) const; - - /** Lets the cipher skip a specific amount of bytes. - - This function sets the cipher to the same state as if the specified - amount of data has been decoded with one or more calls of decode(). - - @precond - The codec must be initialized with the initKey() function before - this function can be used. - - @param nBytes - Number of bytes to be skipped (cipher "seeks" forward). - - @return - True = skip was successful (no error occurred). - */ - bool skip( sal_Int32 nBytes ); - -private: - sal_uInt8 mpnKey[ 16 ]; ///< Encryption key. - sal_Int32 mnOffset; ///< Key offset. - sal_uInt16 mnBaseKey; ///< Base key from password. - sal_uInt16 mnHash; ///< Hash value from password. -}; - - -/** Encodes and decodes data from protected MSO 97+ documents. - - This is a wrapper class around low level cryptographic functions from RTL. - Implementation is based on the wvDecrypt package by Caolan McNamara: - http://www.csn.ul.ie/~caolan/docs/wvDecrypt.html - */ -class OOX_DLLPUBLIC BinaryCodec_RCF -{ -public: - /** Default constructor. - - Two-step construction in conjunction with the initKey() and verifyKey() - functions allows to try to initialize with different passwords (e.g. - built-in default password used for Excel workbook protection). - */ - explicit BinaryCodec_RCF(); - - ~BinaryCodec_RCF(); - - /** Initializes the algorithm with the encryption data. - - @param aData - The sequence contains the necessary data to initialize - the codec. - */ - bool initCodec( const css::uno::Sequence< css::beans::NamedValue >& aData ); - - /** Retrieves the encryption data - - @return - The sequence contains the necessary data to initialize - the codec. - */ - css::uno::Sequence< css::beans::NamedValue > getEncryptionData(); - - /** Initializes the algorithm with the specified password and document ID. - - @param pnPassData - Unicode character array containing the password. Must be zero - terminated, which results in a maximum length of 15 characters. - @param pnSalt - Random salt data block read from or written to the file. - */ - void initKey( - const sal_uInt16 pnPassData[ 16 ], - const sal_uInt8 pnSalt[ 16 ] ); - - /** Verifies the validity of the password using the passed salt data. - - @precond - The codec must be initialized with the initKey() function before - this function can be used. - - @param pnVerifier - Verifier block read from the file. - @param pnVerifierHash - Verifier hash read from the file. - - @return - True = test was successful. - */ - bool verifyKey( - const sal_uInt8 pnVerifier[ 16 ], - const sal_uInt8 pnVerifierHash[ 16 ] ); - - /** Rekeys the codec using the specified counter. - - After reading a specific amount of data the cipher algorithm needs to - be rekeyed using a counter that counts the data blocks. - - The block size is for example 512 bytes for MS Word files and 1024 - bytes for MS Excel files. - - @precond - The codec must be initialized with the initKey() function before - this function can be used. - - @param nCounter - Block counter used to rekey the cipher. - */ - bool startBlock( sal_Int32 nCounter ); - - /** Decodes a block of memory. - - @see rtl_cipher_decode() - - @precond - The codec must be initialized with the initKey() function before - this function can be used. - - @param pnDestData - Destination buffer. Will contain the decrypted data afterwards. - @param pnSrcData - Encrypted data block. - @param nBytes - Size of the passed data blocks. pnDestData and pnSrcData must be of - this size. - - @return - True = decoding was successful (no error occurred). - */ - bool decode( - sal_uInt8* pnDestData, - const sal_uInt8* pnSrcData, - sal_Int32 nBytes ); - -private: - rtlCipher mhCipher; - rtlDigest mhDigest; - sal_uInt8 mpnDigestValue[ RTL_DIGEST_LENGTH_MD5 ]; - sal_uInt8 mpnUnique[16]; -}; - - } // namespace core } // namespace oox diff --git a/include/svl/inettype.hxx b/include/svl/inettype.hxx index 1fbb036b4878..41b7b9aae5e7 100644 --- a/include/svl/inettype.hxx +++ b/include/svl/inettype.hxx @@ -217,16 +217,10 @@ enum INetContentType class SVL_DLLPUBLIC INetContentTypes { public: - static INetContentType RegisterContentType(OUString const & rTypeName, - OUString const & rPresentation, - OUString const * pExtension = nullptr); - static INetContentType GetContentType(OUString const & rTypeName); static OUString GetContentType(INetContentType eTypeID); - static OUString GetPresentation(INetContentType eTypeID); - static INetContentType GetContentType4Extension(OUString const & rExtension); static INetContentType GetContentTypeFromURL(OUString const & rURL); diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx index f8d5ca32f0af..90138c93889a 100644 --- a/include/svl/itempool.hxx +++ b/include/svl/itempool.hxx @@ -83,7 +83,6 @@ protected: static inline void ClearRefCount(SfxPoolItem& rItem); static inline void AddRef(const SfxPoolItem& rItem, sal_uInt32 n = 1); static inline sal_uInt32 ReleaseRef(const SfxPoolItem& rItem, sal_uInt32 n = 1); - static inline void SetKind( SfxPoolItem& rItem, SfxItemKind nRef ); public: SfxItemPool( const SfxItemPool &rPool, @@ -206,11 +205,6 @@ inline sal_uInt32 SfxItemPool::ReleaseRef(const SfxPoolItem& rItem, sal_uInt32 n return rItem.ReleaseRef(n); } -inline void SfxItemPool::SetKind( SfxPoolItem& rItem, SfxItemKind nRef ) -{ - rItem.SetKind( nRef ); -} - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svl/macitem.hxx b/include/svl/macitem.hxx index 504a8dcaab54..9c7a71e551ac 100644 --- a/include/svl/macitem.hxx +++ b/include/svl/macitem.hxx @@ -93,11 +93,6 @@ public: static sal_uInt16 GetVersion() { return SVX_MACROTBL_AKTVERSION; } - SvxMacroTable::iterator begin() { return aSvxMacroTable.begin(); } - SvxMacroTable::const_iterator begin() const { return aSvxMacroTable.begin(); } - SvxMacroTable::iterator end() { return aSvxMacroTable.end(); } - SvxMacroTable::const_iterator end () const { return aSvxMacroTable.end(); } - SvxMacroTable::size_type size() const { return aSvxMacroTable.size(); } bool empty() const { return aSvxMacroTable.empty(); } // returns NULL if no entry exists, or a pointer to the internal value diff --git a/include/svl/metitem.hxx b/include/svl/metitem.hxx index c4a5217e050a..bcace549a956 100644 --- a/include/svl/metitem.hxx +++ b/include/svl/metitem.hxx @@ -26,7 +26,6 @@ class SVL_DLLPUBLIC SfxMetricItem: public SfxInt32Item { public: explicit SfxMetricItem( sal_uInt16 nWhich, sal_uInt32 nValue ); - SfxMetricItem( sal_uInt16 nWhich, SvStream & ); SfxMetricItem( const SfxMetricItem& ); virtual void ScaleMetrics( long lMult, long lDiv ) override; diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx index 8992d3ef4cb4..0b9d6919cf75 100644 --- a/include/svtools/calendar.hxx +++ b/include/svtools/calendar.hxx @@ -186,7 +186,6 @@ private: virtual void ApplySettings(vcl::RenderContext& rRenderContext) override; - SVT_DLLPRIVATE static void ImplGetWeekFont( vcl::Font& rFont ); SVT_DLLPRIVATE void ImplFormat(); using Window::ImplHitTest; SVT_DLLPRIVATE sal_uInt16 ImplHitTest( const Point& rPos, Date& rDate ) const; @@ -234,9 +233,6 @@ public: void Select(); - void SelectDate( const Date& rDate, bool bSelect = true ); - void SetNoSelection(); - bool IsDateSelected( const Date& rDate ) const; Date GetFirstSelectedDate() const; void EnableCallEverySelect() { mbAllSel = true; } diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx index affdebf10099..e95febf8fabd 100644 --- a/include/svtools/ruler.hxx +++ b/include/svtools/ruler.hxx @@ -773,7 +773,6 @@ public: void SetMargin2() { SetMargin2( 0, RulerMarginStyle::Invisible ); } void SetMargin2( long nPos, RulerMarginStyle nMarginStyle = RulerMarginStyle::Sizeable ); long GetMargin2() const; - long GetPageWidth() const; void SetLeftFrameMargin( long nPos ); void SetRightFrameMargin( long nPos ); diff --git a/include/svx/EnhancedCustomShape2d.hxx b/include/svx/EnhancedCustomShape2d.hxx index 83e369901bab..86ec0f082628 100644 --- a/include/svx/EnhancedCustomShape2d.hxx +++ b/include/svx/EnhancedCustomShape2d.hxx @@ -172,13 +172,12 @@ class SVX_DLLPUBLIC EnhancedCustomShape2d : public SfxItemSet SAL_DLLPRIVATE bool IsFlipVert() { return bFlipV; }; SAL_DLLPRIVATE bool IsFlipHorz() { return bFlipH; }; SAL_DLLPRIVATE sal_Int32 GetRotateAngle() { return nRotateAngle; }; - bool IsPostRotate() const; SdrObject* CreateLineGeometry(); SdrObject* CreateObject( bool bLineGeometryNeededOnly ); void ApplyGluePoints( SdrObject* pObj ); - tools::Rectangle GetTextRect() const; - const tools::Rectangle& GetLogicRect() const { return aLogicRect; } + tools::Rectangle GetTextRect() const; + const tools::Rectangle& GetLogicRect() const { return aLogicRect; } sal_uInt32 GetHdlCount() const; bool GetHandlePosition( const sal_uInt32 nIndex, Point& rReturnPosition ) const; diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx index f79b5ed84301..c53f429c3b59 100644 --- a/include/svx/framelink.hxx +++ b/include/svx/framelink.hxx @@ -155,8 +155,6 @@ public: /** Mirrors this style (exchanges primary and secondary), if it is a double frame style. */ Style& MirrorSelf(); - /** Returns this style mirrored, if it is a double frame style, otherwise a simple copy. */ - Style Mirror() const; /** return the Cell using this style (if set) */ const Cell* GetUsingCell() const { return mpUsingCell; } @@ -185,7 +183,6 @@ bool operator==( const Style& rL, const Style& rR ); SVX_DLLPUBLIC bool operator<( const Style& rL, const Style& rR ); inline bool operator>( const Style& rL, const Style& rR ) { return rR < rL; } -inline bool operator<=( const Style& rL, const Style& rR ) { return !(rR < rL); } /** Extends the Style struct with an angle for diagonal frame borders. @@ -198,18 +195,10 @@ class SAL_WARN_UNUSED DiagStyle : public Style { public: /** Constructs an invisible diagonal frame style. */ - explicit DiagStyle() : mfAngle( 0.0 ) {} + explicit DiagStyle() {} /** Constructs a diagonal frame style passed style and angle. */ - explicit DiagStyle( const Style& rStyle, double fAngle ) : - Style( rStyle ), mfAngle( fAngle ) {} - - double GetAngle() const { return mfAngle; } - - /** Returns this style mirrored, if it is a double frame style, otherwise a simple copy. */ - DiagStyle Mirror() const { return DiagStyle( Style::Mirror(), mfAngle ); } - -private: - double mfAngle; /// Angle between this and hor. or vert. border. + explicit DiagStyle( const Style& rStyle, double /*fAngle*/ ) : + Style( rStyle ) {} }; @@ -224,33 +213,6 @@ private: */ SVX_DLLPUBLIC double GetHorDiagAngle( long nWidth, long nHeight ); -/** Returns the angle between horizontal border of a rectangle and its diagonal. - - The returned values represents the inner angle between the diagonals and - horizontal borders, and is therefore in the range [0,PI/2] (inclusive). - */ -inline double GetHorDiagAngle( const tools::Rectangle& rRect ) -{ return GetHorDiagAngle( rRect.GetWidth(), rRect.GetHeight() ); } - - -/** Returns the angle between vertical border of a rectangle and its diagonal. - - The returned values represents the inner angle between the diagonals and - vertical borders, and is therefore in the range [0,PI/2] (inclusive). The - passed sizes may be negative, calculation is done with absolute values. - */ -inline double GetVerDiagAngle( long nWidth, long nHeight ) -{ return GetHorDiagAngle( nHeight, nWidth ); } - -/** Returns the angle between vertical border of a rectangle and its diagonal. - - The returned values represents the inner angle between the diagonals and - vertical borders, and is therefore in the range [0,PI/2] (inclusive). - */ -inline double GetVerDiagAngle( const tools::Rectangle& rRect ) -{ return GetVerDiagAngle( rRect.GetWidth(), rRect.GetHeight() ); } - - /** Returns an X coordinate for a diagonal frame border in the specified height. This function is for usage with the top-left end of a top-left to diff --git a/include/svx/framelinkarray.hxx b/include/svx/framelinkarray.hxx index 15d8dcf1d9cf..d272170b8bca 100644 --- a/include/svx/framelinkarray.hxx +++ b/include/svx/framelinkarray.hxx @@ -227,12 +227,6 @@ public: /** Returns true, if the cell (nCol,nRow) is part of a merged range. */ bool IsMerged( size_t nCol, size_t nRow ) const; - /** Returns true, if the left border of the cell (nCol,nRow) is overlapped by a merged range. */ - bool IsMergedOverlappedLeft( size_t nCol, size_t nRow ) const; - - /** Returns true, if the right border of the cell (nCol,nRow) is overlapped by a merged range. */ - bool IsMergedOverlappedRight( size_t nCol, size_t nRow ) const; - /** Returns the address of the top-left cell of the merged range that contains (nCol,nRow). */ void GetMergedOrigin( size_t& rnFirstCol, size_t& rnFirstRow, size_t nCol, size_t nRow ) const; diff --git a/include/svx/searchcharmap.hxx b/include/svx/searchcharmap.hxx index bf66a1cf55fa..cfb46036b5f4 100644 --- a/include/svx/searchcharmap.hxx +++ b/include/svx/searchcharmap.hxx @@ -72,7 +72,6 @@ public: virtual int LastInView() const override; virtual void SelectIndex( int index, bool bFocus = false ) override; void AppendCharToList(sal_UCS4 cChar); - void AppendCharList(std::vector<sal_UCS4> cCharList); void ClearPreviousData(); virtual sal_Int32 getMaxCharCount() const override; diff --git a/include/svx/xbtmpit.hxx b/include/svx/xbtmpit.hxx index 48e14836cd0d..7f34b0c1be71 100644 --- a/include/svx/xbtmpit.hxx +++ b/include/svx/xbtmpit.hxx @@ -41,8 +41,6 @@ class SVX_DLLPUBLIC XFillBitmapItem : public NameOrIndex private: GraphicObject maGraphicObject; - GraphicObject makeGraphicObject(SvStream& rIn, sal_uInt16 nVer) const; - public: static SfxPoolItem* CreateDefault(); XFillBitmapItem() : NameOrIndex(XATTR_FILLBITMAP, -1 ) {} diff --git a/include/tools/pstm.hxx b/include/tools/pstm.hxx index 1f55c7c0fa0f..062025891826 100644 --- a/include/tools/pstm.hxx +++ b/include/tools/pstm.hxx @@ -20,7 +20,6 @@ #define INCLUDED_TOOLS_PSTM_HXX #include <tools/toolsdllapi.h> -#include <tools/unqidx.hxx> #include <tools/ref.hxx> #include <tools/stream.hxx> #include <map> diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index 3a0b44594618..cd7f20e57e91 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -196,9 +196,6 @@ protected: std::size_t CryptAndWriteBuffer( const void* pStart, std::size_t nLen ); bool EncryptBuffer( void* pStart, std::size_t nLen ); - void SyncSvStream( std::size_t nNewStreamPos ); ///< SvStream <- Medium - void SyncSysStream(); ///< SvStream -> Medium - public: SvStream(); SvStream( SvLockBytes *pLockBytes); diff --git a/include/tools/unqidx.hxx b/include/tools/unqidx.hxx deleted file mode 100644 index 59ca4d067325..000000000000 --- a/include/tools/unqidx.hxx +++ /dev/null @@ -1,62 +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_TOOLS_UNQIDX_HXX -#define INCLUDED_TOOLS_UNQIDX_HXX - -#include <sal/types.h> -#include <tools/toolsdllapi.h> -#include <o3tl/strong_int.hxx> -#include <map> - -class SAL_WARN_UNUSED TOOLS_DLLPUBLIC UniqueIndexImpl -{ -public: - struct IndexTagType {}; - typedef o3tl::strong_int<sal_uInt32, IndexTagType> Index; - static Index const IndexNotFound;// = Index(SAL_MAX_UINT32); - -private: - std::map<Index, void*> maMap; - Index nUniqIndex; - -public: - UniqueIndexImpl( Index nStartIndex = Index(0) ) - : maMap(), nUniqIndex(nStartIndex) {} - - Index Insert( void* p ); - // insert value with key, replacing existing entry if necessary - void* Get( Index aIndex ) const; -}; - -template<typename T> -class SAL_WARN_UNUSED UniqueIndex : private UniqueIndexImpl -{ -public: - using UniqueIndexImpl::Index; - using UniqueIndexImpl::IndexNotFound; - - UniqueIndex<T>( Index _nStartIndex = Index(0) ) : UniqueIndexImpl(_nStartIndex) {} - - Index Insert(T* p) { return UniqueIndexImpl::Insert(p); } - T* Get(Index idx) const { return static_cast<T*>( UniqueIndexImpl::Get(idx) ); } -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/unotools/calendarwrapper.hxx b/include/unotools/calendarwrapper.hxx index 96e0b7c8343f..edd52d8be96a 100644 --- a/include/unotools/calendarwrapper.hxx +++ b/include/unotools/calendarwrapper.hxx @@ -70,7 +70,6 @@ public: void setValue( sal_Int16 nFieldIndex, sal_Int16 nValue ); bool isValid() const; sal_Int16 getValue( sal_Int16 nFieldIndex ) const; - void addValue( sal_Int16 nFieldIndex, sal_Int32 nAmount ); sal_Int16 getFirstDayOfWeek() const; sal_Int16 getNumberOfMonthsInYear() const; sal_Int16 getNumberOfDaysInWeek() const; diff --git a/include/vcl/msgbox.hxx b/include/vcl/msgbox.hxx index a0bfccec2919..8504c6c25ad9 100644 --- a/include/vcl/msgbox.hxx +++ b/include/vcl/msgbox.hxx @@ -88,9 +88,6 @@ public: bool GetCheckBoxState() const; virtual Size GetOptimalSize() const override; - - void SetMessBoxStyle(MessBoxStyle n) { mnMessBoxStyle = n; } - MessBoxStyle GetMessBoxStyle() { return mnMessBoxStyle; } }; class VCL_DLLPUBLIC InfoBox : public MessBox diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx index 3980f0a98452..0811882090af 100644 --- a/include/vcl/texteng.hxx +++ b/include/vcl/texteng.hxx @@ -293,7 +293,6 @@ public: tools::Rectangle PaMtoEditCursor( const TextPaM& rPaM, bool bSpecial = false ); OUString GetWord( const TextPaM& rCursorPos, TextPaM* pStartOfWord = nullptr ); - bool HasAttrib( sal_uInt16 nWhich ) const; const TextAttrib* FindAttrib( const TextPaM& rPaM, sal_uInt16 nWhich ) const; const TextCharAttrib* FindCharAttrib( const TextPaM& rPaM, sal_uInt16 nWhich ) const; |