diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-22 09:00:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-22 11:07:03 +0000 |
commit | 6c415f735bbf9201a18288e2ea16eacad4d635cd (patch) | |
tree | 8e4f15bb62d7082537e04b85e0f57268ec0cd428 /include | |
parent | 29c38bab7a69127c69f17c9a62b35faf68deb843 (diff) |
callcatcher: update unused code
Change-Id: I62e49fbf27364bd244099a9bb247452d5a691119
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/zforlist.hxx | 27 | ||||
-rw-r--r-- | include/svtools/accessibilityoptions.hxx | 2 | ||||
-rw-r--r-- | include/svx/SvxColorValueSet.hxx | 3 | ||||
-rw-r--r-- | include/vcl/button.hxx | 1 | ||||
-rw-r--r-- | include/vcl/window.hxx | 15 |
5 files changed, 18 insertions, 30 deletions
diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx index e2df52d5b4a4..ee6dbf57a619 100644 --- a/include/svl/zforlist.hxx +++ b/include/svl/zforlist.hxx @@ -245,15 +245,15 @@ private: public: - NfCurrencyEntry( const LocaleDataWrapper& rLocaleData, - LanguageType eLang ); - NfCurrencyEntry( const ::com::sun::star::i18n::Currency & rCurr, - const LocaleDataWrapper& rLocaleData, - LanguageType eLang ); - NfCurrencyEntry( const OUString& rSymbol, const OUString& rBankSymbol, LanguageType eLang, - sal_uInt16 nPositiveFmt, sal_uInt16 nNegativeFmt, sal_uInt16 nDig, - sal_Unicode cZero ); - ~NfCurrencyEntry() {} + NfCurrencyEntry( const LocaleDataWrapper& rLocaleData, + LanguageType eLang ); + NfCurrencyEntry( const ::com::sun::star::i18n::Currency & rCurr, + const LocaleDataWrapper& rLocaleData, + LanguageType eLang ); + inline NfCurrencyEntry(const OUString& rSymbol, const OUString& rBankSymbol, + LanguageType eLang, sal_uInt16 nPositiveFmt, + sal_uInt16 nNegativeFmt, sal_uInt16 nDig, sal_Unicode cZero); + ~NfCurrencyEntry() {} inline NfCurrencyEntry* Clone() const; @@ -308,6 +308,15 @@ public: * Necessary for ptr_vector on Windows. Please don't remove these, or at * least check it on Windows before attempting to remove them. */ +NfCurrencyEntry::NfCurrencyEntry(const OUString& rSymbol, const OUString& rBankSymbol, + LanguageType eLang, sal_uInt16 nPositiveFmt, + sal_uInt16 nNegativeFmt, sal_uInt16 nDig, sal_Unicode cZero) + : aSymbol(rSymbol), aBankSymbol(rBankSymbol), eLanguage(eLang) + , nPositiveFormat(nPositiveFmt), nNegativeFormat(nNegativeFmt) + , nDigits(nDig), cZeroChar(cZero) +{ +} + NfCurrencyEntry* NfCurrencyEntry::Clone() const { return new NfCurrencyEntry( diff --git a/include/svtools/accessibilityoptions.hxx b/include/svtools/accessibilityoptions.hxx index 5600008f9e1f..2254854050b6 100644 --- a/include/svtools/accessibilityoptions.hxx +++ b/include/svtools/accessibilityoptions.hxx @@ -43,7 +43,6 @@ public: bool GetIsAllowAnimatedGraphics() const; bool GetIsAllowAnimatedText() const; bool GetIsAutomaticFontColor() const; - bool GetIsSystemFont() const; sal_Int16 GetHelpTipSeconds() const; bool IsSelectionInReadonly() const; bool GetAutoDetectSystemHC() const; @@ -53,7 +52,6 @@ public: void SetIsAllowAnimatedGraphics(bool bSet); void SetIsAllowAnimatedText(bool bSet); void SetIsAutomaticFontColor(bool bSet); - void SetIsSystemFont(bool bSet); void SetHelpTipSeconds(sal_Int16 nSet); void SetSelectionInReadonly(bool bSet); void SetAutoDetectSystemHC(bool bSet); diff --git a/include/svx/SvxColorValueSet.hxx b/include/svx/SvxColorValueSet.hxx index 55a2ddbca98a..351116a01bae 100644 --- a/include/svx/SvxColorValueSet.hxx +++ b/include/svx/SvxColorValueSet.hxx @@ -26,11 +26,8 @@ class XColorList; class SVX_DLLPUBLIC SvxColorValueSet : public ValueSet { -private: -protected: public: SvxColorValueSet(vcl::Window* pParent, WinBits nWinStyle = WB_ITEMBORDER); - SvxColorValueSet(vcl::Window* pParent, const ResId& rResId); virtual void Resize() SAL_OVERRIDE; diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index 9f5142aebf3a..5fb4e13270f8 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -271,7 +271,6 @@ private: public: explicit HelpButton( vcl::Window* pParent, WinBits nStyle = 0 ); - explicit HelpButton( vcl::Window* pParent, const ResId& ); virtual void Click() SAL_OVERRIDE; }; diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index b6874997ed22..3b0c0e93864c 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -606,21 +606,6 @@ private: SAL_DLLPRIVATE bool ImplUpdatePos(); SAL_DLLPRIVATE void ImplUpdateSysObjPos(); - /** check whether a font is suitable for UI - - The font to be tested will be checked whether it could display a - localized test string. If this is not the case, then the font - is deemed unsuitable as UI font. - - @param rFont - the font to be tested - - @returns - True if the font can be used as UI font - False if the font is unsuitable as UI font - */ - SAL_DLLPRIVATE bool ImplCheckUIFont( const vcl::Font& rFont ); - SAL_DLLPRIVATE void ImplUpdateGlobalSettings( AllSettings& rSettings, bool bCallHdl = true ); SAL_DLLPRIVATE void ImplAlignChildren(); |