diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/BitmapGaussianSeparableBlurFilter.hxx | 6 | ||||
-rw-r--r-- | include/vcl/button.hxx | 2 | ||||
-rw-r--r-- | include/vcl/settings.hxx | 27 | ||||
-rw-r--r-- | include/vcl/weld.hxx | 4 |
4 files changed, 20 insertions, 19 deletions
diff --git a/include/vcl/BitmapGaussianSeparableBlurFilter.hxx b/include/vcl/BitmapGaussianSeparableBlurFilter.hxx index b3388cd0990d..51e4b934fdb9 100644 --- a/include/vcl/BitmapGaussianSeparableBlurFilter.hxx +++ b/include/vcl/BitmapGaussianSeparableBlurFilter.hxx @@ -36,9 +36,9 @@ public: private: double const mfRadius; - bool convolutionPass(Bitmap& rBitmap, Bitmap& aNewBitmap, BitmapReadAccess const* pReadAcc, - int aNumberOfContributions, const double* pWeights, int const* pPixels, - const int* pCount) const; + static bool convolutionPass(Bitmap& rBitmap, Bitmap& aNewBitmap, + BitmapReadAccess const* pReadAcc, int aNumberOfContributions, + const double* pWeights, int const* pPixels, const int* pCount); static std::vector<double> makeBlurKernel(const double radius, int& rows); static void blurContributions(const int aSize, const int aNumberOfContributions, diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index 76e16bf6dfb5..e4edc323a93b 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -291,7 +291,7 @@ private: bool mbStateChanged; Link<RadioButton&,void> maToggleHdl; SAL_DLLPRIVATE void ImplInitRadioButtonData(); - SAL_DLLPRIVATE WinBits ImplInitStyle( const vcl::Window* pPrevWindow, WinBits nStyle ); + static SAL_DLLPRIVATE WinBits ImplInitStyle( const vcl::Window* pPrevWindow, WinBits nStyle ); SAL_DLLPRIVATE void ImplInitSettings( bool bBackground ); SAL_DLLPRIVATE void ImplDrawRadioButtonState(vcl::RenderContext& rRenderContext); SAL_DLLPRIVATE void ImplDraw( OutputDevice* pDev, DrawFlags nDrawFlags, diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx index 6eb7be25d438..c70da34cb993 100644 --- a/include/vcl/settings.hxx +++ b/include/vcl/settings.hxx @@ -114,20 +114,20 @@ public: void SetStartDragHeight( long nDragHeight ); long GetStartDragHeight() const; - sal_uInt16 GetStartDragCode() const; + static sal_uInt16 GetStartDragCode(); - sal_uInt16 GetContextMenuCode() const; + static sal_uInt16 GetContextMenuCode(); - sal_uInt16 GetContextMenuClicks() const; + static sal_uInt16 GetContextMenuClicks(); - sal_uLong GetScrollRepeat() const; + static sal_uLong GetScrollRepeat(); - sal_uLong GetButtonStartRepeat() const; + static sal_uLong GetButtonStartRepeat(); void SetButtonRepeat( sal_uLong nRepeat ); sal_uLong GetButtonRepeat() const; - sal_uLong GetActionDelay() const; + static sal_uLong GetActionDelay(); void SetMenuDelay( sal_uLong nDelay ); sal_uLong GetMenuDelay() const; @@ -478,7 +478,7 @@ public: void SetTabFont( const vcl::Font& rFont ); const vcl::Font& GetTabFont() const; - long GetBorderSize() const; + static long GetBorderSize(); void SetTitleHeight( long nSize ); long GetTitleHeight() const; @@ -495,7 +495,7 @@ public: void SetSpinSize( long nSize ); long GetSpinSize() const; - long GetSplitSize() const; + static long GetSplitSize(); void SetCursorSize( long nSize ); long GetCursorSize() const; @@ -592,12 +592,12 @@ public: // maximum row/line count for the ColorValueSet control. If more lines would be needed, a scrollbar will // be used. - sal_uInt16 GetColorValueSetMaximumRowCount() const; + static sal_uInt16 GetColorValueSetMaximumRowCount(); const Size& GetListBoxPreviewDefaultPixelSize() const; // the default LineWidth for ListBox UI previews (LineStyle, LineDash, LineStartEnd). Default is 1. - sal_uInt16 GetListBoxPreviewDefaultLineWidth() const; + static sal_uInt16 GetListBoxPreviewDefaultLineWidth(); // defines if previews which contain potentially transparent objects (e.g. the dash/line/LineStartEnd previews and others) // use the default transparent visualization background (checkered background) as it has got standard in graphic programs nowadays @@ -645,10 +645,10 @@ class VCL_DLLPUBLIC HelpSettings public: HelpSettings(); - sal_uLong GetTipDelay() const; + static sal_uLong GetTipDelay(); void SetTipTimeout( sal_uLong nTipTimeout ); sal_uLong GetTipTimeout() const; - sal_uLong GetBalloonDelay() const; + static sal_uLong GetBalloonDelay(); bool operator ==( const HelpSettings& rSet ) const; bool operator !=( const HelpSettings& rSet ) const; @@ -699,7 +699,8 @@ public: const vcl::I18nHelper& GetLocaleI18nHelper() const; const vcl::I18nHelper& GetUILocaleI18nHelper() const; - AllSettingsFlags GetWindowUpdate() const; + static AllSettingsFlags GetWindowUpdate() + { return AllSettingsFlags::MOUSE | AllSettingsFlags::STYLE | AllSettingsFlags::MISC | AllSettingsFlags::LOCALE; } AllSettingsFlags Update( AllSettingsFlags nFlags, const AllSettings& rSettings ); AllSettingsFlags GetChangeFlags( const AllSettings& rSettings ) const; diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 14b06007c3f1..13b127c9138a 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -969,8 +969,8 @@ protected: void signal_value_changed() { m_aValueChangedHdl.Call(*this); } - tools::Time ConvertValue(int nValue) const; - int ConvertValue(const tools::Time& rTime) const; + static tools::Time ConvertValue(int nValue); + static int ConvertValue(const tools::Time& rTime); OUString format_number(int nValue) const; void update_width_chars(); |