diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-28 08:39:57 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-30 06:23:00 +0000 |
commit | a45827b2308febc7369db27fb489a6d1389534e1 (patch) | |
tree | 0b697341738010da35bd0a6a6189ef6761e5db0a /include | |
parent | 2387c2a46e15995686d28dccdfd455012072b4cf (diff) |
loplugin:unusedmethods
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971
Reviewed-on: https://gerrit.libreoffice.org/17378
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
27 files changed, 4 insertions, 192 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index 66abc62852f4..11e81cd235d0 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -436,8 +436,6 @@ public: void ClearSpellErrors(); bool HasText( const SvxSearchItem& rSearchItem ); - //initialize sentence spelling - void StartSpelling(EditView& rEditView, bool bMultipleDoc); //spell and return a sentence bool SpellSentence(EditView& rEditView, svx::SpellPortions& rToFill, bool bIsGrammarChecking ); // put spell position to start of current sentence diff --git a/include/formula/token.hxx b/include/formula/token.hxx index 97213d723e17..c87a3c525ef9 100644 --- a/include/formula/token.hxx +++ b/include/formula/token.hxx @@ -191,9 +191,6 @@ public: /** This is dirty and only the compiler should use it! */ struct PrivateAccess { friend class FormulaCompiler; private: PrivateAccess() { } }; inline void NewOpCode( OpCode e, const PrivateAccess& ) { eOp = e; } - - static sal_Int32 GetStrLenBytes( sal_Int32 nLen ) - { return nLen * sizeof(sal_Unicode); } }; inline void intrusive_ptr_add_ref(const FormulaToken* p) diff --git a/include/i18nutil/unicode.hxx b/include/i18nutil/unicode.hxx index 64aa2a9bc096..6561da039f6b 100644 --- a/include/i18nutil/unicode.hxx +++ b/include/i18nutil/unicode.hxx @@ -41,15 +41,10 @@ public: static sal_Unicode SAL_CALL getUnicodeScriptStart(com::sun::star::i18n::UnicodeScript type); static sal_Unicode SAL_CALL getUnicodeScriptEnd(com::sun::star::i18n::UnicodeScript type); static sal_uInt8 SAL_CALL getUnicodeDirection( const sal_Unicode ch ); - static bool SAL_CALL isUpper( const sal_Unicode ch); - static bool SAL_CALL isLower( const sal_Unicode ch); - static bool SAL_CALL isDigit( const sal_Unicode ch); static bool SAL_CALL isControl( const sal_Unicode ch); - static bool SAL_CALL isPrint( const sal_Unicode ch); static bool SAL_CALL isAlpha( const sal_Unicode ch); static bool SAL_CALL isSpace( const sal_Unicode ch); static bool SAL_CALL isWhiteSpace( const sal_Unicode ch); - static bool SAL_CALL isAlphaDigit( const sal_Unicode ch); //Map an ISO 15924 script code to Latin/Asian/Complex/Weak static sal_Int16 SAL_CALL getScriptClassFromUScriptCode(UScriptCode eScript); diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx index 15e7f620971c..e12e64e5f476 100644 --- a/include/registry/registry.hxx +++ b/include/registry/registry.hxx @@ -218,8 +218,6 @@ protected: @param length specifies the length of the array specified by phKeys. */ inline void setKeyHandles(Registry& registry, RegKeyHandle* phKeys, sal_uInt32 length); - /// close all subkeys - inline RegError closeKeyHandles(); /// stores the number of open subkeys, the number of elements. sal_uInt32 m_length; @@ -640,22 +638,6 @@ inline void RegistryKeyArray::setKeyHandles(Registry& registry, m_registry = registry; } -inline RegError RegistryKeyArray::closeKeyHandles() -{ - if (m_registry.isValid() && m_phKeys) - { - RegError ret; - ret = m_registry.m_pApi->closeSubKeys(m_phKeys, m_length); - m_registry = Registry(); - m_length = 0; - m_phKeys = NULL; - return ret; - } else - return RegError::INVALID_KEY; -} - - - inline RegistryKeyNames::RegistryKeyNames() : m_length(0) , m_pKeyNames(NULL) diff --git a/include/sot/factory.hxx b/include/sot/factory.hxx index 7314e3ae68e9..18f093b77446 100644 --- a/include/sot/factory.hxx +++ b/include/sot/factory.hxx @@ -36,13 +36,11 @@ typedef void * (*CreateInstanceType)( SotObject ** ); //==================class SotFactory======================================= class SOT_DLLPUBLIC SotFactory : public SvGlobalName { - sal_uInt16 nSuperCount; // Anzahl der Superklassen + sal_uInt16 nSuperCount; // Anzahl der Superklassen const SotFactory ** pSuperClasses; // Superklassen - CreateInstanceType pCreateFunc; OUString aClassName; - static bool ExistTest( const SvGlobalName & ); protected: virtual ~SotFactory(); public: @@ -54,7 +52,7 @@ public: #endif SotFactory( const SvGlobalName &, - const OUString & rClassName, CreateInstanceType ); + const OUString & rClassName ); void PutSuperClass( const SotFactory * ); diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx index bfb5702e5d29..2e3c629950d0 100644 --- a/include/sot/stg.hxx +++ b/include/sot/stg.hxx @@ -119,7 +119,6 @@ public: virtual bool IsStorage( const OUString& rEleName ) const = 0; virtual bool IsContained( const OUString& rEleName ) const = 0; virtual bool Remove( const OUString & rEleName ) = 0; - virtual bool Rename( const OUString & rEleName, const OUString & rNewName ) = 0; virtual bool CopyTo( const OUString & rEleName, BaseStorage * pDest, const OUString & rNewName ) = 0; virtual bool ValidateFAT() = 0; virtual bool Equals( const BaseStorage& rStream ) const = 0; @@ -135,8 +134,6 @@ protected: ~OLEStorageBase(); bool Validate_Impl( bool=false ) const; static bool ValidateMode_Impl( StreamMode, StgDirEntry* p = NULL ); - const SvStream* GetSvStream_Impl() const; -public: }; class StorageStream : public BaseStorageStream, public OLEStorageBase @@ -212,7 +209,6 @@ public: virtual bool IsStorage( const OUString& rEleName ) const SAL_OVERRIDE; virtual bool IsContained( const OUString& rEleName ) const SAL_OVERRIDE; virtual bool Remove( const OUString & rEleName ) SAL_OVERRIDE; - virtual bool Rename( const OUString & rEleName, const OUString & rNewName ) SAL_OVERRIDE; virtual bool CopyTo( const OUString & rEleName, BaseStorage * pDest, const OUString & rNewName ) SAL_OVERRIDE; virtual bool ValidateFAT() SAL_OVERRIDE; virtual bool Validate( bool=false ) const SAL_OVERRIDE; @@ -318,7 +314,6 @@ public: virtual bool IsStorage( const OUString& rEleName ) const SAL_OVERRIDE; virtual bool IsContained( const OUString& rEleName ) const SAL_OVERRIDE; virtual bool Remove( const OUString & rEleName ) SAL_OVERRIDE; - virtual bool Rename( const OUString & rEleName, const OUString & rNewName ) SAL_OVERRIDE; virtual bool CopyTo( const OUString & rEleName, BaseStorage * pDest, const OUString & rNewName ) SAL_OVERRIDE; virtual bool ValidateFAT() SAL_OVERRIDE; virtual bool Validate( bool=false ) const SAL_OVERRIDE; diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx index ca356d45ce26..997dcb58c756 100644 --- a/include/svtools/brwbox.hxx +++ b/include/svtools/brwbox.hxx @@ -403,8 +403,6 @@ protected: bool IsDropFormatSupported( SotClipboardFormatId nFormat ); // need this because the base class' IsDropFormatSupported is not const ... - bool IsDropFormatSupported( const css::datatransfer::DataFlavor& _rFlavor ); // need this because the base class' IsDropFormatSupported is not const ... - private: void* implGetDataFlavors() const; // with this we can make GetDataFlavors() inline, which is strongly needed as SVTOOLS does not export diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index d2294f4ad074..5d11cf3fe855 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -497,8 +497,6 @@ namespace svt protected: VclPtr<BrowserHeader> pHeader; - void cancelGetCellFocus() { if (nStartEvent) Application::RemoveUserEvent(nStartEvent); nStartEvent = 0; } - BrowserMouseEventPtr& getMouseEvent() { return aMouseEvent; } protected: diff --git a/include/svx/EnhancedCustomShape2d.hxx b/include/svx/EnhancedCustomShape2d.hxx index 0811a67fef61..26b7adcf98db 100644 --- a/include/svx/EnhancedCustomShape2d.hxx +++ b/include/svx/EnhancedCustomShape2d.hxx @@ -225,8 +225,6 @@ class SVX_DLLPUBLIC EnhancedCustomShape2d : public SfxItemSet SAL_DLLPRIVATE static void AppendEnhancedCustomShapeEquationParameter( OUString& rParameter, const sal_Int32 nPara, const bool bIsSpecialValue ); - SAL_DLLPRIVATE static void SetEnhancedCustomShapeEquationParameter( com::sun::star::drawing::EnhancedCustomShapeParameter& - rParameter, const sal_Int16 nPara, const bool bIsSpecialValue ); static void SetEnhancedCustomShapeParameter( com::sun::star::drawing::EnhancedCustomShapeParameter& rParameter, const sal_Int32 nValue ); static void SetEnhancedCustomShapeHandleParameter( com::sun::star::drawing::EnhancedCustomShapeParameter& diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx index 1983468ddc2e..e64f1ce5e985 100644 --- a/include/svx/framelink.hxx +++ b/include/svx/framelink.hxx @@ -149,7 +149,6 @@ public: /** Sets a new color, does not modify other settings. */ inline void SetColorPrim( const Color& rColor ) { maColorPrim = rColor; } inline void SetColorSecn( const Color& rColor ) { maColorSecn = rColor; } - inline void SetColorGap( bool bUseIt, const Color& rColor ) { maColorGap = rColor; mbUseGapColor = bUseIt; } /** Sets whether to use dotted style for single hair lines. */ inline void SetType( editeng::SvxBorderStyle nType ) { mnType = nType; } diff --git a/include/svx/sdr/overlay/overlayobjectlist.hxx b/include/svx/sdr/overlay/overlayobjectlist.hxx index f807e8c96e3a..459b9ab1ce82 100644 --- a/include/svx/sdr/overlay/overlayobjectlist.hxx +++ b/include/svx/sdr/overlay/overlayobjectlist.hxx @@ -43,9 +43,6 @@ namespace sdr // the vector of OverlayObjects OverlayObjectVector maVector; - // default value for HiTestPixel - static sal_uInt32 getDefaultValueForHitTestPixel() { return 4; } - public: OverlayObjectList() {} ~OverlayObjectList(); diff --git a/include/svx/svdedtv.hxx b/include/svx/svdedtv.hxx index b97f8eb3c618..ae10b8231677 100644 --- a/include/svx/svdedtv.hxx +++ b/include/svx/svdedtv.hxx @@ -203,8 +203,6 @@ public: void ForceMarkedObjToAnotherPage(); void ForceMarkedToAnotherPage() { ForceMarkedObjToAnotherPage(); } - bool IsReadOnly() const { ForcePossibilities(); return bReadOnly; } - // delete all marked objects void DeleteMarkedObj(); diff --git a/include/svx/svdhlpln.hxx b/include/svx/svdhlpln.hxx index 03b59aeb02a3..024124d464c0 100644 --- a/include/svx/svdhlpln.hxx +++ b/include/svx/svdhlpln.hxx @@ -84,12 +84,6 @@ public: delete p; aList.erase(aList.begin() + nPos); } - void Move(sal_uInt16 nPos, sal_uInt16 nNewPos) - { - SdrHelpLine* p = aList[nPos]; - aList.erase(aList.begin() + nPos); - aList.insert(aList.begin() + nNewPos, p); - } SdrHelpLine& operator[](sal_uInt16 nPos) { return *GetObject(nPos); } const SdrHelpLine& operator[](sal_uInt16 nPos) const { return *GetObject(nPos); } sal_uInt16 HitTest(const Point& rPnt, sal_uInt16 nTolLog, const OutputDevice& rOut) const; diff --git a/include/svx/svdmrkv.hxx b/include/svx/svdmrkv.hxx index 5e0b0b1c67ea..966c7c56b9a9 100644 --- a/include/svx/svdmrkv.hxx +++ b/include/svx/svdmrkv.hxx @@ -390,7 +390,6 @@ public: // Get the Hdl (handle) of a marked GluePoint. Non-marked // GluePoints don`t have handles SdrHdl* GetGluePointHdl(const SdrObject* pObj, sal_uInt16 nId) const; - static bool IsGluePoint(const SdrHdl& rHdl) { return rHdl.GetKind()==HDL_GLUE; } // Mark all points within this rectangular (View coordinates) bool MarkAllGluePoints() { return MarkGluePoints(NULL,false); } diff --git a/include/svx/svdopath.hxx b/include/svx/svdopath.hxx index f625668498c9..948b4f3d28ac 100644 --- a/include/svx/svdopath.hxx +++ b/include/svx/svdopath.hxx @@ -58,7 +58,6 @@ protected: // brightness - used in EnhancedCustomShapes2d.cxx for DARKEN[LESS] and LIGHTEN[LESS] segments implementation double mdBrightness; -protected: // helper functions for GET, SET, INS etc. PNT void ImpSetClosed(bool bClose); void ImpForceKind(); @@ -67,11 +66,9 @@ protected: void impDeleteDAC() const; public: - static bool ImpFindPolyPnt(const basegfx::B2DPolyPolygon& rPoly, sal_uInt32 nAbsPnt, sal_uInt32& rPolyNum, sal_uInt32& rPointNum); virtual void SetRectsDirty(bool bNotMyself = false) SAL_OVERRIDE; double GetBrightness() { return mdBrightness; } -public: TYPEINFO_OVERRIDE(); SdrPathObj(SdrObjKind eNewKind); SdrPathObj(SdrObjKind eNewKind, const basegfx::B2DPolyPolygon& rPathPoly, double dBrightness = 1.0); diff --git a/include/svx/svdtrans.hxx b/include/svx/svdtrans.hxx index e54c74511cb0..daee84531fe1 100644 --- a/include/svx/svdtrans.hxx +++ b/include/svx/svdtrans.hxx @@ -320,7 +320,6 @@ public: void TakeStr(long nVal, OUString& rStr) const; static void TakeUnitStr(MapUnit eUnit, OUString& rStr); static void TakeUnitStr(FieldUnit eUnit, OUString& rStr); - static OUString GetUnitStr(MapUnit eUnit) { OUString aStr; TakeUnitStr(eUnit,aStr); return aStr; } static OUString GetUnitStr(FieldUnit eUnit) { OUString aStr; TakeUnitStr(eUnit,aStr); return aStr; } }; diff --git a/include/tools/inetmime.hxx b/include/tools/inetmime.hxx index 11d5ee748a2e..23b86f1a5739 100644 --- a/include/tools/inetmime.hxx +++ b/include/tools/inetmime.hxx @@ -220,23 +220,6 @@ public: HEADER_FIELD_ADDRESS }; - /** Check for ISO 8859-1 character. - - @param nChar Some UCS-4 character. - - @return True if nChar is a ISO 8859-1 character (0x00--0xFF). - */ - static inline bool isISO88591(sal_uInt32 nChar); - - /** Check for US-ASCII control character. - - @param nChar Some UCS-4 character. - - @return True if nChar is a US-ASCII control character (US-ASCII - 0x00--0x1F or 0x7F). - */ - static inline bool isControl(sal_uInt32 nChar); - /** Check for US-ASCII white space character. @param nChar Some UCS-4 character. @@ -255,15 +238,6 @@ public: */ static inline bool isVisible(sal_uInt32 nChar); - /** Check for US-ASCII Base 64 digit character. - - @param nChar Some UCS-4 character. - - @return True if nChar is a US-ASCII Base 64 digit character (US-ASCII - 'A'--'Z', 'a'--'z', '0'--'9', '+', or '/'). - */ - static inline bool isBase64Digit(sal_uInt32 nChar); - /** Check whether some character is valid within an RFC 822 <atom>. @param nChar Some UCS-4 character. @@ -381,9 +355,6 @@ public: const sal_Unicode * pEnd1, const sal_Char * pString2); - static inline bool startsWithLineBreak(const sal_Char * pBegin, - const sal_Char * pEnd); - static inline bool startsWithLineBreak(const sal_Unicode * pBegin, const sal_Unicode * pEnd); @@ -393,9 +364,6 @@ public: static inline bool startsWithLineFolding(const sal_Unicode * pBegin, const sal_Unicode * pEnd); - static bool startsWithLinearWhiteSpace(const sal_Char * pBegin, - const sal_Char * pEnd); - static const sal_Unicode * skipLinearWhiteSpace(const sal_Unicode * pBegin, const sal_Unicode * pEnd); @@ -551,18 +519,6 @@ public: }; // static -inline bool INetMIME::isISO88591(sal_uInt32 nChar) -{ - return nChar <= 0xFF; -} - -// static -inline bool INetMIME::isControl(sal_uInt32 nChar) -{ - return nChar <= 0x1F || nChar == 0x7F; -} - -// static inline bool INetMIME::isWhiteSpace(sal_uInt32 nChar) { return nChar == '\t' || nChar == ' '; @@ -575,13 +531,6 @@ inline bool INetMIME::isVisible(sal_uInt32 nChar) } // static -inline bool INetMIME::isBase64Digit(sal_uInt32 nChar) -{ - return rtl::isAsciiUpperCase(nChar) || rtl::isAsciiLowerCase(nChar) || rtl::isAsciiDigit(nChar) - || nChar == '+' || nChar == '/'; -} - -// static inline int INetMIME::getWeight(sal_uInt32 nChar) { return rtl::isAsciiDigit(nChar) ? int(nChar - '0') : -1; @@ -607,15 +556,7 @@ inline int INetMIME::getBase64Weight(sal_uInt32 nChar) } // static -inline bool INetMIME::startsWithLineBreak(const sal_Char * pBegin, - const sal_Char * pEnd) -{ - DBG_ASSERT(pBegin && pBegin <= pEnd, - "INetMIME::startsWithLineBreak(): Bad sequence"); - return pEnd - pBegin >= 2 && pBegin[0] == 0x0D && pBegin[1] == 0x0A; - // CR, LF -} // static inline bool INetMIME::startsWithLineBreak(const sal_Unicode * pBegin, @@ -651,15 +592,7 @@ inline bool INetMIME::startsWithLineFolding(const sal_Unicode * pBegin, } // static -inline bool INetMIME::startsWithLinearWhiteSpace(const sal_Char * pBegin, - const sal_Char * pEnd) -{ - DBG_ASSERT(pBegin && pBegin <= pEnd, - "INetMIME::startsWithLinearWhiteSpace(): Bad sequence"); - return pBegin != pEnd - && (isWhiteSpace(*pBegin) || startsWithLineFolding(pBegin, pEnd)); -} // static inline bool INetMIME::needsQuotedStringEscape(sal_uInt32 nChar) diff --git a/include/tools/poly.hxx b/include/tools/poly.hxx index 559b8d88b086..ad8ff402426d 100644 --- a/include/tools/poly.hxx +++ b/include/tools/poly.hxx @@ -269,8 +269,6 @@ public: bool operator!=( const tools::PolyPolygon& rPolyPoly ) const { return !(PolyPolygon::operator==( rPolyPoly )); } - bool IsEqual( const tools::PolyPolygon& rPolyPoly ) const; - TOOLS_DLLPUBLIC friend SvStream& ReadPolyPolygon( SvStream& rIStream, tools::PolyPolygon& rPolyPoly ); TOOLS_DLLPUBLIC friend SvStream& WritePolyPolygon( SvStream& rOStream, const tools::PolyPolygon& rPolyPoly ); diff --git a/include/tools/rc.hxx b/include/tools/rc.hxx index 7b8a175348ad..b26711dda949 100644 --- a/include/tools/rc.hxx +++ b/include/tools/rc.hxx @@ -54,9 +54,6 @@ protected: // get a 32bit value from Resource data static sal_Int32 GetLongRes( void * pLong ) { return ResMgr::GetLong( pLong ); } - // get a 16bit value from Resource data - static sal_Int16 GetShortRes( void * pShort ) - { return ResMgr::GetShort( pShort ); } // read a 32bit value from resource data and increment pointer sal_Int32 ReadLongRes() diff --git a/include/tools/resmgr.hxx b/include/tools/resmgr.hxx index 1c521d56c0d2..b9935488365c 100644 --- a/include/tools/resmgr.hxx +++ b/include/tools/resmgr.hxx @@ -127,8 +127,6 @@ private: // like ReadString but doesn't call the string hook TOOLS_DLLPRIVATE OUString ReadStringWithoutHook(); - static ResMgr* ImplCreateResMgr( InternalResMgr* pImpl ) { return new ResMgr( pImpl ); } - ResMgr(const ResMgr&) SAL_DELETED_FUNCTION; ResMgr& operator=(const ResMgr&) SAL_DELETED_FUNCTION; diff --git a/include/unotest/bootstrapfixturebase.hxx b/include/unotest/bootstrapfixturebase.hxx index 477fa1c275c6..f769d01190eb 100644 --- a/include/unotest/bootstrapfixturebase.hxx +++ b/include/unotest/bootstrapfixturebase.hxx @@ -66,8 +66,10 @@ public: // return a URL to a given c-str path from the workdir directory OUString getURLFromWorkdir( const char *pPath ); +#ifdef _WIN32 // return a Path to a given c-str path from the workdir directory OUString getPathFromWorkdir( const char *pPath ); +#endif virtual void setUp() SAL_OVERRIDE; virtual void tearDown() SAL_OVERRIDE; diff --git a/include/unotools/charclass.hxx b/include/unotools/charclass.hxx index 629700c585f9..cff4f869a02d 100644 --- a/include/unotools/charclass.hxx +++ b/include/unotools/charclass.hxx @@ -96,16 +96,6 @@ public: /// isalpha() on ascii values of entire string static bool isAsciiAlpha( const OUString& rStr ); - /// isalnum() on ascii values of entire string - static bool isAsciiAlphaNumeric( const OUString& rStr ); - - /// whether type is pure alpha or not, e.g. return of getStringType - static inline bool isAlphaType( sal_Int32 nType ) - { - return ((nType & nCharClassAlphaType) != 0) && - ((nType & ~(nCharClassAlphaTypeMask)) == 0); - } - /// whether type is pure numeric or not, e.g. return of getStringType static inline bool isNumericType( sal_Int32 nType ) { diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx index d0189d5a6aaf..76526240d77c 100644 --- a/include/vcl/combobox.hxx +++ b/include/vcl/combobox.hxx @@ -121,7 +121,6 @@ public: void EnableMultiSelection( bool bMulti ); bool IsMultiSelectionEnabled() const; - void SetMultiSelectionSeparator( sal_Unicode cSep ); sal_Unicode GetMultiSelectionSeparator() const; void SetSelectHdl(const Link<>& rLink); @@ -177,7 +176,6 @@ public: using Control::GetIndexForPoint; long GetIndexForPoint( const Point& rPoint, sal_Int32 & rPos ) const; - sal_Int32 getMaxWidthChars() const; void setMaxWidthChars(sal_Int32 nWidth); virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE; diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx index 1197e686bff7..21b78bc7d39e 100644 --- a/include/vcl/lstbox.hxx +++ b/include/vcl/lstbox.hxx @@ -231,7 +231,6 @@ public: using Control::GetIndexForPoint; long GetIndexForPoint( const Point& rPoint, sal_Int32 & rPos ) const; - sal_Int32 getMaxWidthChars() const { return m_nMaxWidthChars; } void setMaxWidthChars(sal_Int32 nWidth); virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE; @@ -249,13 +248,7 @@ public: using ListBox::SaveValue; using ListBox::GetSavedValue; using ListBox::IsValueChangedFromSaved; -private: - // Bei MultiListBox nicht erlaubt... - void SaveValue(); - sal_Int32 GetSavedValue(); - bool IsValueChangedFromSaved() const; -public: explicit MultiListBox( vcl::Window* pParent, WinBits nStyle = 0 ); }; diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 325291b516e6..3dab4e0b75af 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -1784,9 +1784,6 @@ public: static basegfx::B2DPolygon LogicToLogic( const basegfx::B2DPolygon& rPoly, const MapMode& rMapModeSource, const MapMode& rMapModeDest ); - static basegfx::B2DPolyPolygon LogicToLogic( const basegfx::B2DPolyPolygon& rPolyPoly, - const MapMode& rMapModeSource, - const MapMode& rMapModeDest ); // create a mapping transformation from rMapModeSource to rMapModeDest (the above methods // for B2DPoly/Polygons use this internally anyway to transform the B2DPolygon) diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx index 36468167bdf1..49dbd6768ea6 100644 --- a/include/vcl/svapp.hxx +++ b/include/vcl/svapp.hxx @@ -834,28 +834,6 @@ public: */ static ImplSVEvent * PostMouseEvent( sal_uLong nEvent, vcl::Window *pWin, MouseEvent* pMouseEvent ); - /** Send zoom event - - Experimental work in progress. Available only for iOS and Android, and unclear whether actually - is needed now with tiled rendering. - - @param nEvent Event ID for zoom event - @param pWin Pointer to window to which the event is sent - @param pZoomEvent Zoom event to send - */ - static ImplSVEvent * PostZoomEvent( sal_uLong nEvent, vcl::Window *pWin, ZoomEvent* pZoomEvent ); - - /* Send scroll event - - Experimental work in progress. Available only for iOS and Android, and unclear whether actually - is needed now with tiled rendering. - - @param nEvent Event ID for scroll event - @param pWin Pointer to window to which the event is sent - @param pScrollEvent Scroll event to send - */ - static ImplSVEvent * PostScrollEvent( sal_uLong nEvent, vcl::Window *pWin, ScrollEvent* pScrollEvent ); - /** Remove mouse and keypress events from a window... any also zoom and scroll events if the platform supports it. @@ -1368,12 +1346,6 @@ public: */ static void SetFilterHdl( const Link<>& rLink ); - /*** Get a new graphics filter - - @return Const reference to the Link object (the filter) - */ - static const Link<>& GetFilterHdl(); - ///@} /** @name Headless Mode diff --git a/include/xmlscript/xml_helper.hxx b/include/xmlscript/xml_helper.hxx index f4dad80fa534..62b46996d5e5 100644 --- a/include/xmlscript/xml_helper.hxx +++ b/include/xmlscript/xml_helper.hxx @@ -66,14 +66,6 @@ public: */ void SAL_CALL addAttribute( OUString const & rAttrName, OUString const & rValue ); - /** Gets the tag name (qname) of element. - - @return - qname of element - */ - inline OUString SAL_CALL getName() - { return _name; } - /** Dumps out element (and all sub elements). @param xOut document handler to be written to |