summaryrefslogtreecommitdiff
path: root/vcl/Library_vclplug_gtk.mk
blob: 67247b73d6425ceb14c5a2fd0bde3b7932e37dcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# 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 .
#

$(eval $(call gb_Library_Library,vclplug_gtk))

$(eval $(call gb_Library_set_include,vclplug_gtk,\
    $$(INCLUDE) \
    -I$(SRCDIR)/vcl/inc \
    -I$(SRCDIR)/vcl/unx \
    -I$(SRCDIR)/vcl/unx/gtk \
))

$(eval $(call gb_Library_add_defs,vclplug_gtk,\
    -DVCLPLUG_GTK_IMPLEMENTATION \
))

$(eval $(call gb_Library_use_custom_headers,vclplug_gtk,\
	officecfg/registry \
))

$(eval $(call gb_Library_use_sdk_api,vclplug_gtk))

$(eval $(call gb_Library_use_libraries,vclplug_gtk,\
    vclplug_gen \
    vcl \
    tl \
    utl \
    sot \
    ucbhelper \
    basegfx \
    comphelper \
    cppuhelper \
    i18nlangtag \
    i18nutil \
    $(if $(ENABLE_JAVA), \
        jvmaccess) \
    cppu \
    sal \
))

$(eval $(call gb_Library_use_externals,vclplug_gtk,\
	boost_headers \
	cairo \
	dbus \
	gio \
	epoxy \
	gtk \
	gthread \
	icuuc \
))

$(eval $(call gb_Library_add_libs,vclplug_gtk,\
	-lX11 \
	-lXext \
	-lSM \
	-lICE \
))

$(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
    vcl/unx/gtk/a11y/atkaction \
    vcl/unx/gtk/a11y/atkbridge \
    vcl/unx/gtk/a11y/atkcomponent \
    vcl/unx/gtk/a11y/atkeditabletext \
    vcl/unx/gtk/a11y/atkfactory \
    vcl/unx/gtk/a11y/atkhypertext \
    vcl/unx/gtk/a11y/atkimage \
    vcl/unx/gtk/a11y/atklistener \
    vcl/unx/gtk/a11y/atkregistry \
    vcl/unx/gtk/a11y/atkselection \
    vcl/unx/gtk/a11y/atktable \
    vcl/unx/gtk/a11y/atktextattributes \
    vcl/unx/gtk/a11y/atktext \
    vcl/unx/gtk/a11y/atkutil \
    vcl/unx/gtk/a11y/atkvalue \
    vcl/unx/gtk/a11y/atkwindow \
    vcl/unx/gtk/a11y/atkwrapper \
    vcl/unx/gtk/gtkdata \
    vcl/unx/gtk/gtkinst \
    vcl/unx/gtk/gtksys \
    vcl/unx/gtk/salnativewidgets-gtk \
    vcl/unx/gtk/gtksalframe \
    vcl/unx/gtk/gtkobject \
    vcl/unx/gtk/fpicker/resourceprovider \
    vcl/unx/gtk/fpicker/SalGtkPicker \
    vcl/unx/gtk/fpicker/SalGtkFilePicker \
    vcl/unx/gtk/fpicker/SalGtkFolderPicker \
))

ifneq ($(ENABLE_DBUS),)
ifneq ($(ENABLE_GIO),)
$(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
    vcl/unx/gtk/gloactiongroup \
    vcl/unx/gtk/gtksalmenu \
    vcl/unx/gtk/glomenu \
    vcl/unx/gtk/hudawareness \
))
endif
endif

ifeq ($(ENABLE_GTK_PRINT),TRUE)
$(eval $(call gb_Library_add_exception_objects,vclplug_gtk,\
    vcl/unx/gtk/gtkprintwrapper \
    vcl/unx/gtk/salprn-gtk \
))
endif

ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_libs,vclplug_gtk,\
	-lm \
	-ldl \
	-lpthread \
))
endif

# vim: set noet sw=4 ts=4:
h: 5.6%;'/> -rw-r--r--include/vcl/layout.hxx4
-rw-r--r--include/vcl/lazydelete.hxx2
-rw-r--r--include/vcl/longcurr.hxx2
-rw-r--r--include/vcl/menu.hxx6
-rw-r--r--include/vcl/outdev.hxx10
-rw-r--r--include/vcl/print.hxx4
-rw-r--r--include/vcl/svapp.hxx8
-rw-r--r--include/vcl/syswin.hxx2
-rw-r--r--include/vcl/texteng.hxx2
-rw-r--r--include/vcl/textview.hxx4
-rw-r--r--include/vcl/toolbox.hxx4
-rw-r--r--include/vcl/uitest/logger.hxx4
-rw-r--r--include/vcl/window.hxx18
-rw-r--r--include/vcl/wmf.hxx2
26 files changed, 60 insertions, 60 deletions
diff --git a/include/vcl/GraphicNativeMetadata.hxx b/include/vcl/GraphicNativeMetadata.hxx
index 7f249bcc4913..4ae29276205a 100644
--- a/include/vcl/GraphicNativeMetadata.hxx
+++ b/include/vcl/GraphicNativeMetadata.hxx
@@ -30,7 +30,7 @@ public:
GraphicNativeMetadata();
~GraphicNativeMetadata();
- bool read(Graphic& rGraphic);
+ bool read(Graphic const & rGraphic);
sal_uInt16 getRotation() { return mRotation;}
};
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index 80b58ca509cc..115f47664aa7 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -664,7 +664,7 @@ public:
SAL_DLLPRIVATE bool ImplConvolutionPass(
Bitmap& aNewBitmap,
- BitmapReadAccess* pReadAcc,
+ BitmapReadAccess const * pReadAcc,
int aNumberOfContributions,
const double* pWeights,
int* pPixels,
@@ -672,8 +672,8 @@ public:
SAL_DLLPRIVATE bool ImplMakeMono( sal_uInt8 cThreshold );
SAL_DLLPRIVATE bool ImplMakeGreyscales( sal_uInt16 nGreyscales );
- SAL_DLLPRIVATE bool ImplConvertUp( sal_uInt16 nBitCount, Color* pExtColor = nullptr );
- SAL_DLLPRIVATE bool ImplConvertDown( sal_uInt16 nBitCount, Color* pExtColor = nullptr );
+ SAL_DLLPRIVATE bool ImplConvertUp( sal_uInt16 nBitCount, Color const * pExtColor = nullptr );
+ SAL_DLLPRIVATE bool ImplConvertDown( sal_uInt16 nBitCount, Color const * pExtColor = nullptr );
SAL_DLLPRIVATE bool ImplConvertGhosted();
SAL_DLLPRIVATE bool ImplDitherMatrix();
SAL_DLLPRIVATE bool ImplDitherFloyd();
diff --git a/include/vcl/bitmapaccess.hxx b/include/vcl/bitmapaccess.hxx
index d61d172e2166..b7995f46943e 100644
--- a/include/vcl/bitmapaccess.hxx
+++ b/include/vcl/bitmapaccess.hxx
@@ -238,7 +238,7 @@ protected:
FncGetPixel mFncGetPixel;
FncSetPixel mFncSetPixel;
- SAL_DLLPRIVATE void ImplInitScanBuffer( Bitmap& rBitmap );
+ SAL_DLLPRIVATE void ImplInitScanBuffer( Bitmap const & rBitmap );
SAL_DLLPRIVATE bool ImplSetAccessPointers( ScanlineFormat nFormat );
public:
diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx
index 58395fe7d0e4..705109e2203a 100644
--- a/include/vcl/bitmapex.hxx
+++ b/include/vcl/bitmapex.hxx
@@ -419,7 +419,7 @@ public:
*/
BitmapEx ModifyBitmapEx( const basegfx::BColorModifierStack& rBColorModifierStack) const;
- static BitmapEx AutoScaleBitmap( BitmapEx & aBitmap, const long aStandardSize );
+ static BitmapEx AutoScaleBitmap( BitmapEx const & aBitmap, const long aStandardSize );
/// populate from a canvas implementation
bool Create(
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index c1e433edae14..b469060661bf 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -119,7 +119,7 @@ class VCL_DLLPUBLIC PushButton : public Button
public:
SAL_DLLPRIVATE void ImplSetDefButton( bool bSet );
SAL_DLLPRIVATE void ImplDrawPushButtonFrame(vcl::RenderContext& rRenderContext, tools::Rectangle& rRect, DrawButtonFlags nStyle);
- SAL_DLLPRIVATE static bool ImplHitTestPushButton(vcl::Window* pDev, const Point& rPos);
+ SAL_DLLPRIVATE static bool ImplHitTestPushButton(vcl::Window const * pDev, const Point& rPos);
SAL_DLLPRIVATE bool ImplIsDefButton() const;
explicit PushButton( vcl::Window* pParent, WinBits nStyle = 0 );
diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx
index 8c63e57c7415..49737fdc6057 100644
--- a/include/vcl/dialog.hxx
+++ b/include/vcl/dialog.hxx
@@ -129,7 +129,7 @@ public:
void EndDialog( long nResult = 0 );
- static void EndAllDialogs( vcl::Window* pParent );
+ static void EndAllDialogs( vcl::Window const * pParent );
void GetDrawWindowBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const;
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx
index a3e60b7f433f..98cded028533 100644
--- a/include/vcl/dockwin.hxx
+++ b/include/vcl/dockwin.hxx
@@ -119,7 +119,7 @@ public:
bool ImplStartDocking( const Point& rPos );
// those methods actually call the corresponding handlers
- void StartDocking( const Point& rPos, tools::Rectangle& rRect );
+ void StartDocking( const Point& rPos, tools::Rectangle const & rRect );
bool Docking( const Point& rPos, tools::Rectangle& rRect );
void EndDocking( const tools::Rectangle& rRect, bool bFloatMode );
bool PrepareToggleFloatingMode();
@@ -191,7 +191,7 @@ public:
// required because those methods are not virtual in Window (!!!) and must
// be availbale from the toolkit
- void SetPosSizePixel( vcl::Window *pWin, long nX, long nY,
+ void SetPosSizePixel( vcl::Window const *pWin, long nX, long nY,
long nWidth, long nHeight,
PosSizeFlags nFlags );
tools::Rectangle GetPosSizePixel( const vcl::Window *pWin );
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx
index caf94fbee1fe..632e9b751ee7 100644
--- a/include/vcl/edit.hxx
+++ b/include/vcl/edit.hxx
@@ -110,7 +110,7 @@ private:
SAL_DLLPRIVATE void ImplInsertText( const OUString& rStr, const Selection* pNewSelection = nullptr, bool bIsUserInput = false );
SAL_DLLPRIVATE static OUString ImplGetValidString( const OUString& rString );
SAL_DLLPRIVATE void ImplClearBackground(vcl::RenderContext& rRenderContext, const tools::Rectangle& rRectangle, long nXStart, long nXEnd);
- SAL_DLLPRIVATE void ImplPaintBorder(vcl::RenderContext& rRenderContext, long nXStart, long nXEnd);
+ SAL_DLLPRIVATE void ImplPaintBorder(vcl::RenderContext const & rRenderContext, long nXStart, long nXEnd);
SAL_DLLPRIVATE void ImplShowCursor( bool bOnlyIfVisible = true );
SAL_DLLPRIVATE void ImplAlign();
SAL_DLLPRIVATE void ImplAlignAndPaint();
@@ -120,8 +120,8 @@ private:
SAL_DLLPRIVATE void ImplHideDDCursor();
SAL_DLLPRIVATE bool ImplHandleKeyEvent( const KeyEvent& rKEvt );
SAL_DLLPRIVATE void ImplCopyToSelectionClipboard();
- SAL_DLLPRIVATE void ImplCopy(css::uno::Reference<css::datatransfer::clipboard::XClipboard>& rxClipboard);
- SAL_DLLPRIVATE void ImplPaste(css::uno::Reference<css::datatransfer::clipboard::XClipboard>& rxClipboard);
+ SAL_DLLPRIVATE void ImplCopy(css::uno::Reference<css::datatransfer::clipboard::XClipboard> const & rxClipboard);
+ SAL_DLLPRIVATE void ImplPaste(css::uno::Reference<css::datatransfer::clipboard::XClipboard> const & rxClipboard);
SAL_DLLPRIVATE long ImplGetTextYPosition() const;
SAL_DLLPRIVATE css::uno::Reference<css::i18n::XExtendedInputSequenceChecker > const & ImplGetInputSequenceChecker();
SAL_DLLPRIVATE static css::uno::Reference<css::i18n::XBreakIterator > ImplGetBreakIterator();
@@ -157,7 +157,7 @@ protected:
virtual void ApplySettings(vcl::RenderContext& rRenderContext) override;
public:
// public because needed in button.cxx
- SAL_DLLPRIVATE bool ImplUseNativeBorder(vcl::RenderContext& rRenderContext, WinBits nStyle);
+ SAL_DLLPRIVATE bool ImplUseNativeBorder(vcl::RenderContext const & rRenderContext, WinBits nStyle);
Edit( vcl::Window* pParent, WinBits nStyle = WB_BORDER );
virtual ~Edit() override;
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index 9a0b32d435fd..3fb0633fe3a6 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -49,7 +49,7 @@ private:
bool mbDefaultLocale;
protected:
- SAL_DLLPRIVATE void ImplSetText( const OUString& rText, Selection* pNewSel = nullptr );
+ SAL_DLLPRIVATE void ImplSetText( const OUString& rText, Selection const * pNewSel = nullptr );
SAL_DLLPRIVATE bool ImplGetEmptyFieldValue() const { return mbEmptyFieldValue; }
void SetEmptyFieldValueData( bool bValue ) { mbEmptyFieldValue = bValue; }
@@ -182,7 +182,7 @@ protected:
SAL_DLLPRIVATE bool ImplNumericReformat( const OUString& rStr, sal_Int64& rValue, OUString& rOutStr );
SAL_DLLPRIVATE void ImplNewFieldValue( sal_Int64 nNewValue );
- SAL_DLLPRIVATE void ImplSetUserValue( sal_Int64 nNewValue, Selection* pNewSelection = nullptr );
+ SAL_DLLPRIVATE void ImplSetUserValue( sal_Int64 nNewValue, Selection const * pNewSelection = nullptr );
private:
SAL_DLLPRIVATE void ImplInit();
@@ -286,7 +286,7 @@ protected:
SAL_DLLPRIVATE const Date& ImplGetFieldDate() const { return maFieldDate; }
SAL_DLLPRIVATE bool ImplDateReformat( const OUString& rStr, OUString& rOutStr );
SAL_DLLPRIVATE void ImplSetUserDate( const Date& rNewDate,
- Selection* pNewSelection = nullptr );
+ Selection const * pNewSelection = nullptr );
SAL_DLLPRIVATE OUString ImplGetDateAsText( const Date& rDate ) const;
SAL_DLLPRIVATE void ImplNewFieldValue( const Date& rDate );
CalendarWrapper& GetCalendarWrapper() const;
@@ -374,7 +374,7 @@ protected:
SAL_DLLPRIVATE bool ImplTimeReformat( const OUString& rStr, OUString& rOutStr );
SAL_DLLPRIVATE void ImplNewFieldValue( const tools::Time& rTime );
- SAL_DLLPRIVATE void ImplSetUserTime( const tools::Time& rNewTime, Selection* pNewSelection = nullptr );
+ SAL_DLLPRIVATE void ImplSetUserTime( const tools::Time& rNewTime, Selection const * pNewSelection = nullptr );
SAL_DLLPRIVATE bool ImplAllowMalformedInput() const;
public:
diff --git a/include/vcl/filter/pdfdocument.hxx b/include/vcl/filter/pdfdocument.hxx
index 09288326e921..16c4edc81f30 100644
--- a/include/vcl/filter/pdfdocument.hxx
+++ b/include/vcl/filter/pdfdocument.hxx
@@ -322,13 +322,13 @@ class VCL_DLLPUBLIC PDFDocument
/// Write the appearance object as part of signing.
sal_Int32 WriteAppearanceObject();
/// Write the annot object as part of signing.
- sal_Int32 WriteAnnotObject(PDFObjectElement& rFirstPage, sal_Int32 nSignatureId, sal_Int32 nAppearanceId);
+ sal_Int32 WriteAnnotObject(PDFObjectElement const & rFirstPage, sal_Int32 nSignatureId, sal_Int32 nAppearanceId);
/// Write the updated Page object as part of signing.
bool WritePageObject(PDFObjectElement& rFirstPage, sal_Int32 nAnnotId);
/// Write the updated Catalog object as part of signing.
bool WriteCatalogObject(sal_Int32 nAnnotId, PDFReferenceElement*& pRoot);
/// Write the updated cross-references as part of signing.
- void WriteXRef(sal_uInt64 nXRefOffset, PDFReferenceElement* pRoot);
+ void WriteXRef(sal_uInt64 nXRefOffset, PDFReferenceElement const * pRoot);
public:
PDFDocument();
@@ -337,7 +337,7 @@ public:
/// @name Low-level functions, to be used by PDFElement subclasses.
//@{
/// Decode a hex dump.
- static std::vector<unsigned char> DecodeHexString(PDFHexStringElement* pElement);
+ static std::vector<unsigned char> DecodeHexString(PDFHexStringElement const * pElement);
static OString ReadKeyword(SvStream& rStream);
static size_t FindStartXRef(SvStream& rStream);
void ReadXRef(SvStream& rStream);
diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx
index deed307298cf..e41583f899f8 100644
--- a/include/vcl/graphicfilter.hxx
+++ b/include/vcl/graphicfilter.hxx
@@ -279,7 +279,7 @@ public:
SvStream& rStream,
sal_uInt16 nFormat = GRFILTER_FORMAT_DONTKNOW,
sal_uInt16 * pDeterminedFormat = nullptr, GraphicFilterImportFlags nImportFlags = GraphicFilterImportFlags::NONE,
- WmfExternal *pExtHeader = nullptr );
+ WmfExternal const *pExtHeader = nullptr );
/// Imports multiple graphics.
///
@@ -291,7 +291,7 @@ public:
sal_uInt16 nFormat,
sal_uInt16 * pDeterminedFormat, GraphicFilterImportFlags nImportFlags,
css::uno::Sequence< css::beans::PropertyValue >* pFilterData,
- WmfExternal *pExtHeader = nullptr );
+ WmfExternal const *pExtHeader = nullptr );
const FilterErrorEx& GetLastError() const { return *pErrorEx;}
void ResetLastError();
diff --git a/include/vcl/help.hxx b/include/vcl/help.hxx
index cd64b4f669db..cb1c297e9379 100644
--- a/include/vcl/help.hxx
+++ b/include/vcl/help.hxx
@@ -108,7 +108,7 @@ public:
vcl::Window* pParent,
const tools::Rectangle& rScreenRect,
const OUString& rText);
- static void HidePopover(vcl::Window* pParent, sal_uLong nId);
+ static void HidePopover(vcl::Window const * pParent, sal_uLong nId);
};
#endif // INCLUDED_VCL_HELP_HXX
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx
index 8e9b0e02e381..e9475b3d4630 100644
--- a/include/vcl/layout.hxx
+++ b/include/vcl/layout.hxx
@@ -644,7 +644,7 @@ private:
OUString m_sPrimaryString;
OUString m_sSecondaryString;
DECL_DLLPRIVATE_LINK(ButtonHdl, Button *, void);
- void setButtonHandlers(VclButtonBox *pButtonBox);
+ void setButtonHandlers(VclButtonBox const *pButtonBox);
short get_response(const vcl::Window *pWindow) const;
void create_owned_areas();
@@ -668,7 +668,7 @@ public:
virtual ~MessageDialog() override;
virtual void dispose() override;
- static void SetMessagesWidths(vcl::Window *pParent, VclMultiLineEdit *pPrimaryMessage,
+ static void SetMessagesWidths(vcl::Window const *pParent, VclMultiLineEdit *pPrimaryMessage,
VclMultiLineEdit *pSecondaryMessage);
};
diff --git a/include/vcl/lazydelete.hxx b/include/vcl/lazydelete.hxx
index 63196185701a..4bc122457279 100644
--- a/include/vcl/lazydelete.hxx
+++ b/include/vcl/lazydelete.hxx
@@ -115,7 +115,7 @@ namespace vcl
/** strict weak ordering function to bring objects to be destroyed lazily
in correct order, e.g. for Window objects children before parents
*/
- static bool is_less( vcl::Window* left, vcl::Window* right );
+ static bool is_less( vcl::Window const * left, vcl::Window const * right );
LazyDeletor() { LazyDelete::addDeletor( this ); }
virtual ~LazyDeletor() override
diff --git a/include/vcl/longcurr.hxx b/include/vcl/longcurr.hxx
index 9bcbe3085e40..b7687ae32ce9 100644
--- a/include/vcl/longcurr.hxx
+++ b/include/vcl/longcurr.hxx
@@ -59,7 +59,7 @@ protected:
LongCurrencyFormatter();
private:
- friend bool ImplLongCurrencyReformat( const OUString&, BigInt const &, BigInt const &, sal_uInt16, const LocaleDataWrapper&, OUString&, LongCurrencyFormatter& );
+ friend bool ImplLongCurrencyReformat( const OUString&, BigInt const &, BigInt const &, sal_uInt16, const LocaleDataWrapper&, OUString&, LongCurrencyFormatter const & );
SAL_DLLPRIVATE void ImpInit();
BigInt mnFieldValue;
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index ddf12f629c99..10c708f830b5 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -179,7 +179,7 @@ protected:
SAL_DLLPRIVATE sal_uInt16 ImplGetPrevVisible( sal_uInt16 nPos ) const;
SAL_DLLPRIVATE sal_uInt16 ImplGetNextVisible( sal_uInt16 nPos ) const;
SAL_DLLPRIVATE void ImplPaint(vcl::RenderContext& rRenderContext,
- sal_uInt16 nBorder, long nOffY = 0, MenuItemData* pThisDataOnly = nullptr,
+ sal_uInt16 nBorder, long nOffY = 0, MenuItemData const * pThisDataOnly = nullptr,
bool bHighlighted = false, bool bLayout = false, bool bRollover = false ) const;
SAL_DLLPRIVATE void ImplPaintMenuTitle(vcl::RenderContext&, const tools::Rectangle& rRect) const;
SAL_DLLPRIVATE void ImplSelect();
@@ -194,11 +194,11 @@ protected:
// returns native check and option menu symbol height in rCheckHeight and rRadioHeight
// return value is maximum width and height of checkboxes and radiobuttons
- SAL_DLLPRIVATE Size ImplGetNativeCheckAndRadioSize(vcl::RenderContext& rRenderContext, long& rCheckHeight, long& rRadioHeight) const;
+ SAL_DLLPRIVATE Size ImplGetNativeCheckAndRadioSize(vcl::RenderContext const & rRenderContext, long& rCheckHeight, long& rRadioHeight) const;
// returns native submenu arrow size and spacing from right border
// return value is whether it's supported natively
- SAL_DLLPRIVATE static bool ImplGetNativeSubmenuArrowSize(vcl::RenderContext& rRenderContext, Size& rArrowSize, long& rArrowSpacing);
+ SAL_DLLPRIVATE static bool ImplGetNativeSubmenuArrowSize(vcl::RenderContext const & rRenderContext, Size& rArrowSize, long& rArrowSpacing);
SAL_DLLPRIVATE void ImplAddDel( ImplMenuDelData &rDel );
SAL_DLLPRIVATE void ImplRemoveDel( ImplMenuDelData &rDel );
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 8f02b1928887..2bb258f95213 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -1179,7 +1179,7 @@ private:
SAL_DLLPRIVATE void ImplDrawSpecialText( SalLayout& );
SAL_DLLPRIVATE void ImplDrawTextRect( long nBaseX, long nBaseY, long nX, long nY, long nWidth, long nHeight );
- SAL_DLLPRIVATE static void ImplDrawWavePixel( long nOriginX, long nOriginY, long nCurX, long nCurY, short nOrientation, SalGraphics* pGraphics, OutputDevice* pOutDev,
+ SAL_DLLPRIVATE static void ImplDrawWavePixel( long nOriginX, long nOriginY, long nCurX, long nCurY, short nOrientation, SalGraphics* pGraphics, OutputDevice const * pOutDev,
bool bDrawPixAsRect, long nPixWidth, long nPixHeight );
SAL_DLLPRIVATE void ImplDrawWaveLine( long nBaseX, long nBaseY, long nStartX, long nStartY, long nWidth, long nHeight, long nLineWidth, short nOrientation, const Color& rColor );
SAL_DLLPRIVATE void ImplDrawWaveTextLine( long nBaseX, long nBaseY, long nX, long nY, long nWidth, FontLineStyle eTextLine, Color aColor, bool bIsAbove );
@@ -1516,8 +1516,8 @@ private:
SAL_DLLPRIVATE Bitmap BlendBitmap(
Bitmap& aBmp,
- BitmapReadAccess* pP,
- BitmapReadAccess* pA,
+ BitmapReadAccess const * pP,
+ BitmapReadAccess const * pA,
const sal_Int32 nOffY,
const sal_Int32 nDstHeight,
const sal_Int32 nOffX,
@@ -1531,8 +1531,8 @@ private:
SAL_DLLPRIVATE Bitmap BlendBitmapWithAlpha(
Bitmap& aBmp,
- BitmapReadAccess* pP,
- BitmapReadAccess* pA,
+ BitmapReadAccess const * pP,
+ BitmapReadAccess const * pA,
const tools::Rectangle& aDstRect,
const sal_Int32 nOffY,
const sal_Int32 nDstHeight,
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index 4de18652f0a8..94e5b9dd6ba0 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -213,7 +213,7 @@ private:
SAL_DLLPRIVATE void ImplUpdateFontList();
SAL_DLLPRIVATE void ImplFindPaperFormatForUserSize( JobSetup&, bool bMatchNearest );
- SAL_DLLPRIVATE bool StartJob( const OUString& rJobName, std::shared_ptr<vcl::PrinterController>& );
+ SAL_DLLPRIVATE bool StartJob( const OUString& rJobName, std::shared_ptr<vcl::PrinterController> const & );
static SAL_DLLPRIVATE ErrCode
ImplSalPrinterErrorCodeToVCL( sal_uLong nError );
@@ -559,7 +559,7 @@ public:
SAL_DLLPRIVATE css::uno::Sequence< css::beans::PropertyValue >
getPageParametersProtected( int i_nPage ) const;
- SAL_DLLPRIVATE DrawModeFlags removeTransparencies( GDIMetaFile& i_rIn, GDIMetaFile& o_rOut );
+ SAL_DLLPRIVATE DrawModeFlags removeTransparencies( GDIMetaFile const & i_rIn, GDIMetaFile& o_rOut );
SAL_DLLPRIVATE void resetPrinterOptions( bool i_bFileOutput );
};
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx
index c108d4b6d992..eddce0abf324 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -758,7 +758,7 @@ public:
@see HandleKey
*/
- static ImplSVEvent * PostKeyEvent( VclEventId nEvent, vcl::Window *pWin, KeyEvent* pKeyEvent );
+ static ImplSVEvent * PostKeyEvent( VclEventId nEvent, vcl::Window *pWin, KeyEvent const * pKeyEvent );
/** Send mouse event
@@ -766,7 +766,7 @@ public:
@param pWin Pointer to window to which the event is sent
@param pMouseEvent Mouse event to send
*/
- static ImplSVEvent * PostMouseEvent( VclEventId nEvent, vcl::Window *pWin, MouseEvent* pMouseEvent );
+ static ImplSVEvent * PostMouseEvent( VclEventId nEvent, vcl::Window *pWin, MouseEvent const * pMouseEvent );
/** Remove mouse and keypress events from a window... any also zoom and scroll events
if the platform supports it.
@@ -874,7 +874,7 @@ public:
@returns Pointer to next top window.
*/
- static vcl::Window* GetNextTopLevelWindow( vcl::Window* pWindow );
+ static vcl::Window* GetNextTopLevelWindow( vcl::Window const * pWindow );
/** Return the number of top-level windows being used by the application
@@ -1064,7 +1064,7 @@ public:
@see InsertAccel
*/
- static void RemoveAccel( Accelerator* pAccel );
+ static void RemoveAccel( Accelerator const * pAccel );
/** Get the number of reserved key codes used by the application.
diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx
index 57624b659c58..b0528c8f8e4a 100644
--- a/include/vcl/syswin.hxx
+++ b/include/vcl/syswin.hxx