cui/source/options/optsave.cxx | 2 +- cui/source/tabpages/macroass.cxx | 2 +- cui/source/tabpages/swpossizetabpage.cxx | 8 ++++---- include/svx/UnoNamespaceMap.hxx | 2 +- include/svx/nbdtmg.hxx | 4 ++-- sd/source/ui/unoidl/unomodel.cxx | 2 +- sfx2/source/dialog/printopt.cxx | 2 +- sfx2/source/doc/doctemplates.cxx | 2 +- svx/source/sidebar/nbdtmg.cxx | 4 ++-- svx/source/unodraw/UnoNamespaceMap.cxx | 14 +++++++------- vcl/inc/unx/x11_cursors/ase_curs.h | 2 +- vcl/inc/unx/x11_cursors/ase_mask.h | 2 +- vcl/inc/unx/x11_cursors/asn_curs.h | 2 +- vcl/inc/unx/x11_cursors/asn_mask.h | 2 +- vcl/inc/unx/x11_cursors/asne_curs.h | 2 +- vcl/inc/unx/x11_cursors/asne_mask.h | 2 +- vcl/inc/unx/x11_cursors/asns_curs.h | 2 +- vcl/inc/unx/x11_cursors/asns_mask.h | 2 +- vcl/inc/unx/x11_cursors/asnswe_curs.h | 2 +- vcl/inc/unx/x11_cursors/asnswe_mask.h | 2 +- vcl/inc/unx/x11_cursors/asnw_curs.h | 2 +- vcl/inc/unx/x11_cursors/asnw_mask.h | 2 +- vcl/inc/unx/x11_cursors/ass_curs.h | 2 +- vcl/inc/unx/x11_cursors/ass_mask.h | 2 +- vcl/inc/unx/x11_cursors/asse_curs.h | 2 +- vcl/inc/unx/x11_cursors/asse_mask.h | 2 +- vcl/inc/unx/x11_cursors/assw_curs.h | 2 +- vcl/inc/unx/x11_cursors/assw_mask.h | 2 +- vcl/inc/unx/x11_cursors/asw_curs.h | 2 +- vcl/inc/unx/x11_cursors/asw_mask.h | 2 +- vcl/inc/unx/x11_cursors/aswe_curs.h | 2 +- vcl/inc/unx/x11_cursors/aswe_mask.h | 2 +- vcl/inc/unx/x11_cursors/chain_curs.h | 2 +- vcl/inc/unx/x11_cursors/chain_mask.h | 2 +- vcl/inc/unx/x11_cursors/chainnot_curs.h | 2 +- vcl/inc/unx/x11_cursors/chainnot_mask.h | 2 +- vcl/inc/unx/x11_cursors/chart_curs.h | 2 +- vcl/inc/unx/x11_cursors/chart_mask.h | 2 +- vcl/inc/unx/x11_cursors/copydata_curs.h | 2 +- vcl/inc/unx/x11_cursors/copydata_mask.h | 2 +- vcl/inc/unx/x11_cursors/copydlnk_curs.h | 2 +- vcl/inc/unx/x11_cursors/copydlnk_mask.h | 2 +- vcl/inc/unx/x11_cursors/copyfile_curs.h | 2 +- vcl/inc/unx/x11_cursors/copyfile_mask.h | 2 +- vcl/inc/unx/x11_cursors/copyfiles_curs.h | 2 +- vcl/inc/unx/x11_cursors/copyfiles_mask.h | 2 +- vcl/inc/unx/x11_cursors/copyflnk_curs.h | 2 +- vcl/inc/unx/x11_cursors/copyflnk_mask.h | 2 +- vcl/inc/unx/x11_cursors/crook_curs.h | 2 +- vcl/inc/unx/x11_cursors/crook_mask.h | 2 +- vcl/inc/unx/x11_cursors/crop_curs.h | 2 +- vcl/inc/unx/x11_cursors/crop_mask.h | 2 +- vcl/inc/unx/x11_cursors/detective_curs.h | 2 +- vcl/inc/unx/x11_cursors/detective_mask.h | 2 +- vcl/inc/unx/x11_cursors/drawarc_curs.h | 2 +- vcl/inc/unx/x11_cursors/drawarc_mask.h | 2 +- vcl/inc/unx/x11_cursors/drawbezier_curs.h | 2 +- vcl/inc/unx/x11_cursors/drawbezier_mask.h | 2 +- vcl/inc/unx/x11_cursors/drawcaption_curs.h | 2 +- vcl/inc/unx/x11_cursors/drawcaption_mask.h | 2 +- vcl/inc/unx/x11_cursors/drawcirclecut_curs.h | 2 +- vcl/inc/unx/x11_cursors/drawcirclecut_mask.h | 2 +- vcl/inc/unx/x11_cursors/drawconnect_curs.h | 2 +- vcl/inc/unx/x11_cursors/drawconnect_mask.h | 2 +- vcl/inc/unx/x11_cursors/drawellipse_curs.h | 2 +- vcl/inc/unx/x11_cursors/drawellipse_mask.h | 2 +- vcl/inc/unx/x11_cursors/drawfreehand_curs.h | 2 +- vcl/inc/unx/x11_cursors/drawfreehand_mask.h | 2 +- vcl/inc/unx/x11_cursors/drawline_curs.h | 2 +- vcl/inc/unx/x11_cursors/drawline_mask.h | 2 +- vcl/inc/unx/x11_cursors/drawpie_curs.h | 2 +- vcl/inc/unx/x11_cursors/drawpie_mask.h | 2 +- vcl/inc/unx/x11_cursors/drawpolygon_curs.h | 2 +- vcl/inc/unx/x11_cursors/drawpolygon_mask.h | 2 +- vcl/inc/unx/x11_cursors/drawrect_curs.h | 2 +- vcl/inc/unx/x11_cursors/drawrect_mask.h | 2 +- vcl/inc/unx/x11_cursors/drawtext_curs.h | 2 +- vcl/inc/unx/x11_cursors/drawtext_mask.h | 2 +- vcl/inc/unx/x11_cursors/fatcross_curs.h | 2 +- vcl/inc/unx/x11_cursors/fatcross_mask.h | 2 +- vcl/inc/unx/x11_cursors/fill_curs.h | 2 +- vcl/inc/unx/x11_cursors/fill_mask.h | 2 +- vcl/inc/unx/x11_cursors/hshear_curs.h | 2 +- vcl/inc/unx/x11_cursors/hshear_mask.h | 2 +- vcl/inc/unx/x11_cursors/invert50.h | 2 +- vcl/inc/unx/x11_cursors/linkdata_curs.h | 2 +- vcl/inc/unx/x11_cursors/linkdata_mask.h | 2 +- vcl/inc/unx/x11_cursors/linkfile_curs.h | 2 +- vcl/inc/unx/x11_cursors/linkfile_mask.h | 2 +- vcl/inc/unx/x11_cursors/magnify_curs.h | 2 +- vcl/inc/unx/x11_cursors/magnify_mask.h | 2 +- vcl/inc/unx/x11_cursors/mirror_curs.h | 2 +- vcl/inc/unx/x11_cursors/mirror_mask.h | 2 +- vcl/inc/unx/x11_cursors/movebezierweight_curs.h | 2 +- vcl/inc/unx/x11_cursors/movebezierweight_mask.h | 2 +- vcl/inc/unx/x11_cursors/movedata_curs.h | 2 +- vcl/inc/unx/x11_cursors/movedata_mask.h | 2 +- vcl/inc/unx/x11_cursors/movedlnk_curs.h | 2 +- vcl/inc/unx/x11_cursors/movedlnk_mask.h | 2 +- vcl/inc/unx/x11_cursors/movefile_curs.h | 2 +- vcl/inc/unx/x11_cursors/movefile_mask.h | 2 +- vcl/inc/unx/x11_cursors/movefiles_curs.h | 2 +- vcl/inc/unx/x11_cursors/movefiles_mask.h | 2 +- vcl/inc/unx/x11_cursors/moveflnk_curs.h | 2 +- vcl/inc/unx/x11_cursors/moveflnk_mask.h | 2 +- vcl/inc/unx/x11_cursors/movepoint_curs.h | 2 +- vcl/inc/unx/x11_cursors/movepoint_mask.h | 2 +- vcl/inc/unx/x11_cursors/nodrop_curs.h | 2 +- vcl/inc/unx/x11_cursors/nodrop_mask.h | 2 +- vcl/inc/unx/x11_cursors/pivotcol_curs.h | 2 +- vcl/inc/unx/x11_cursors/pivotcol_mask.h | 2 +- vcl/inc/unx/x11_cursors/pivotdel_curs.h | 2 +- vcl/inc/unx/x11_cursors/pivotdel_mask.h | 2 +- vcl/inc/unx/x11_cursors/pivotfld_curs.h | 2 +- vcl/inc/unx/x11_cursors/pivotfld_mask.h | 2 +- vcl/inc/unx/x11_cursors/pivotrow_curs.h | 2 +- vcl/inc/unx/x11_cursors/pivotrow_mask.h | 2 +- vcl/inc/unx/x11_cursors/rotate_curs.h | 2 +- vcl/inc/unx/x11_cursors/rotate_mask.h | 2 +- vcl/inc/unx/x11_cursors/tblsele_curs.h | 2 +- vcl/inc/unx/x11_cursors/tblsele_mask.h | 2 +- vcl/inc/unx/x11_cursors/tblsels_curs.h | 2 +- vcl/inc/unx/x11_cursors/tblsels_mask.h | 2 +- vcl/inc/unx/x11_cursors/tblselse_curs.h | 2 +- vcl/inc/unx/x11_cursors/tblselse_mask.h | 2 +- vcl/inc/unx/x11_cursors/tblselsw_curs.h | 2 +- vcl/inc/unx/x11_cursors/tblselsw_mask.h | 2 +- vcl/inc/unx/x11_cursors/tblselw_curs.h | 2 +- vcl/inc/unx/x11_cursors/tblselw_mask.h | 2 +- vcl/inc/unx/x11_cursors/vertcurs_curs.h | 2 +- vcl/inc/unx/x11_cursors/vertcurs_mask.h | 2 +- vcl/inc/unx/x11_cursors/vshear_curs.h | 2 +- vcl/inc/unx/x11_cursors/vshear_mask.h | 2 +- vcl/inc/unx/x11_cursors/wshide_curs.h | 2 +- vcl/inc/unx/x11_cursors/wshide_mask.h | 2 +- vcl/inc/unx/x11_cursors/wsshow_curs.h | 2 +- vcl/inc/unx/x11_cursors/wsshow_mask.h | 2 +- vcl/unx/generic/dtrans/copydata_curs.h | 2 +- vcl/unx/generic/dtrans/copydata_mask.h | 2 +- vcl/unx/generic/dtrans/linkdata_curs.h | 2 +- vcl/unx/generic/dtrans/linkdata_mask.h | 2 +- vcl/unx/generic/dtrans/movedata_curs.h | 2 +- vcl/unx/generic/dtrans/movedata_mask.h | 2 +- vcl/unx/generic/dtrans/nodrop_curs.h | 2 +- vcl/unx/generic/dtrans/nodrop_mask.h | 2 +- vcl/unx/gtk3/a11y/atktextattributes.cxx | 10 +++++----- writerperfect/source/common/DocumentHandler.cxx | 2 +- xmloff/source/style/xmlexppr.cxx | 2 +- xmloff/source/text/XMLSectionExport.cxx | 2 +- 149 files changed, 164 insertions(+), 164 deletions(-)
New commits: commit 0656c2b4c8a164e8f7ebb3e9da1bddd09de9cc19 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Thu Jul 10 11:07:51 2025 +0100 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Mon Jul 14 14:25:25 2025 +0200 const some more things Change-Id: Iebd34475da0d005fe3e5fee8554133b448f46cca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187664 Reviewed-by: Miklos Vajna <vmik...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx index effa144bd761..b95f468c4bd0 100644 --- a/cui/source/options/optsave.cxx +++ b/cui/source/options/optsave.cxx @@ -363,7 +363,7 @@ bool SvxSaveTabPage::FillItemSet( SfxItemSet* rSet ) static bool isODFFormat( std::u16string_view sFilter ) { - static const char* aODFFormats[] = + static const char* const aODFFormats[] = { "writer8", "writer8_template", diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx index c0442e7fceaa..2cefdd936266 100644 --- a/cui/source/tabpages/macroass.cxx +++ b/cui/source/tabpages/macroass.cxx @@ -57,7 +57,7 @@ SfxMacroTabPage_Impl::SfxMacroTabPage_Impl() { } -static sal_uInt16 aPageRg[] = { +const sal_uInt16 aPageRg[] = { SID_ATTR_MACROITEM, SID_ATTR_MACROITEM, 0 }; diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx index d84fb7131a91..72a2f2ab60b3 100644 --- a/cui/source/tabpages/swpossizetabpage.cxx +++ b/cui/source/tabpages/swpossizetabpage.cxx @@ -289,7 +289,7 @@ constexpr auto HORI_CHAR_REL = LB::Frame|LB::PrintArea|LB::RelPageLeft|LB::RelPa LB::RelPageFrame|LB::RelPagePrintArea|LB::RelFrameLeft| LB::RelFrameRight|LB::RelChar; -static FrmMap aHCharMap[] = +const FrmMap aHCharMap[] = { {SvxSwFramePosString::LEFT, SvxSwFramePosString::MIR_LEFT, HoriOrientation::LEFT, HORI_CHAR_REL}, {SvxSwFramePosString::RIGHT, SvxSwFramePosString::MIR_RIGHT, HoriOrientation::RIGHT, HORI_CHAR_REL}, @@ -299,13 +299,13 @@ static FrmMap aHCharMap[] = #define HTML_HORI_CHAR_REL (LB::Frame|LB::PrintArea|LB::RelChar) -static FrmMap aHCharHtmlMap[] = +const FrmMap aHCharHtmlMap[] = { {SvxSwFramePosString::LEFT, SvxSwFramePosString::LEFT, HoriOrientation::LEFT, HTML_HORI_CHAR_REL}, {SvxSwFramePosString::RIGHT, SvxSwFramePosString::RIGHT, HoriOrientation::RIGHT, HTML_HORI_CHAR_REL} }; -static FrmMap aHCharHtmlAbsMap[] = +const FrmMap aHCharHtmlAbsMap[] = { {SvxSwFramePosString::LEFT, SvxSwFramePosString::MIR_LEFT, HoriOrientation::LEFT, LB::PrintArea|LB::RelChar}, {SvxSwFramePosString::RIGHT, SvxSwFramePosString::MIR_RIGHT, HoriOrientation::RIGHT, LB::PrintArea}, @@ -317,7 +317,7 @@ static FrmMap aHCharHtmlAbsMap[] = constexpr auto VERT_CHAR_REL = LB::VertFrame|LB::VertPrintArea| LB::RelPageFrame|LB::RelPagePrintArea|LB::RelPagePrintAreaBottom; -static FrmMap aVCharMap[] = +const FrmMap aVCharMap[] = { // #i22341# // introduce mappings for new vertical alignment at top of line <LB::VertLine> diff --git a/include/svx/UnoNamespaceMap.hxx b/include/svx/UnoNamespaceMap.hxx index b20cf44a6fcd..5b333feb0449 100644 --- a/include/svx/UnoNamespaceMap.hxx +++ b/include/svx/UnoNamespaceMap.hxx @@ -28,7 +28,7 @@ class SfxItemPool; namespace svx { SVX_DLLPUBLIC css::uno::Reference<css::uno::XInterface> -NamespaceMap_createInstance(sal_uInt16* pWhichIds, SfxItemPool* pPool); +NamespaceMap_createInstance(const sal_uInt16* pWhichIds, SfxItemPool* pPool); } #endif // INCLUDED_SVX_UNONAMESPACEMAP_HXX diff --git a/include/svx/nbdtmg.hxx b/include/svx/nbdtmg.hxx index bccb905a21a2..40eaf5d4819d 100644 --- a/include/svx/nbdtmg.hxx +++ b/include/svx/nbdtmg.hxx @@ -152,8 +152,8 @@ class SVX_DLLPUBLIC BulletsTypeMgr final : public NBOTypeMgrBase private: BulletsTypeMgr(const BulletsTypeMgr&) = delete; public: - static sal_Unicode aDynamicBulletTypes[DEFAULT_BULLET_TYPES]; - static sal_Unicode aDynamicRTLBulletTypes[DEFAULT_BULLET_TYPES]; + static const sal_Unicode aDynamicBulletTypes[DEFAULT_BULLET_TYPES]; + static const sal_Unicode aDynamicRTLBulletTypes[DEFAULT_BULLET_TYPES]; static BulletsSettings* pActualBullets[DEFAULT_BULLET_TYPES]; public: BulletsTypeMgr(); diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 0cbcf36b74ff..d89f6b39797c 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -2532,7 +2532,7 @@ css::uno::Reference<css::uno::XInterface> SdXImpressDocument::create( if( aServiceSpecifier == "com.sun.star.xml.NamespaceMap" ) { - static sal_uInt16 aWhichIds[] = { SDRATTR_XMLATTRIBUTES, EE_CHAR_XMLATTRIBS, EE_PARA_XMLATTRIBS, 0 }; + static const sal_uInt16 aWhichIds[] = { SDRATTR_XMLATTRIBUTES, EE_CHAR_XMLATTRIBS, EE_PARA_XMLATTRIBS, 0 }; return svx::NamespaceMap_createInstance( aWhichIds, &mpDoc->GetItemPool() ); } diff --git a/sfx2/source/dialog/printopt.cxx b/sfx2/source/dialog/printopt.cxx index 1d374eb94d6f..e43c6064744f 100644 --- a/sfx2/source/dialog/printopt.cxx +++ b/sfx2/source/dialog/printopt.cxx @@ -27,7 +27,7 @@ #include <sfx2/printopt.hxx> -static sal_uInt16 aDPIArray[] = { 72, 96, 150, 200, 300, 600 }; +const sal_uInt16 aDPIArray[] = { 72, 96, 150, 200, 300, 600 }; static bool bOutputForPrinter = true; #define DPI_COUNT SAL_N_ELEMENTS(aDPIArray) diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index 153870f483f0..8ec12d9119a1 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -500,7 +500,7 @@ void SfxDocTplService::getDefaultLocale() } } -const char* TEMPLATE_SHORT_NAMES_ARY[] = +const char* const TEMPLATE_SHORT_NAMES_ARY[] = { "standard", "styles", diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx index a2eb811c4ffd..3993e68014aa 100644 --- a/svx/source/sidebar/nbdtmg.cxx +++ b/svx/source/sidebar/nbdtmg.cxx @@ -233,8 +233,8 @@ void NBOTypeMgrBase::ImplStore(std::u16string_view filename) // Character Bullet Type lib BulletsSettings* BulletsTypeMgr::pActualBullets[] ={nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr}; -sal_Unicode BulletsTypeMgr::aDynamicBulletTypes[]={' ',' ',' ',' ',' ',' ',' ',' '}; -sal_Unicode BulletsTypeMgr::aDynamicRTLBulletTypes[]={' ',' ',' ',' ',' ',' ',' ',' '}; +const sal_Unicode BulletsTypeMgr::aDynamicBulletTypes[]={' ',' ',' ',' ',' ',' ',' ',' '}; +const sal_Unicode BulletsTypeMgr::aDynamicRTLBulletTypes[]={' ',' ',' ',' ',' ',' ',' ',' '}; BulletsTypeMgr::BulletsTypeMgr() { diff --git a/svx/source/unodraw/UnoNamespaceMap.cxx b/svx/source/unodraw/UnoNamespaceMap.cxx index 85e92438039e..b48f7a9fd110 100644 --- a/svx/source/unodraw/UnoNamespaceMap.cxx +++ b/svx/source/unodraw/UnoNamespaceMap.cxx @@ -47,11 +47,11 @@ namespace svx class NamespaceMap : public WeakImplHelper< XNameAccess, XServiceInfo > { private: - sal_uInt16* mpWhichIds; + const sal_uInt16* mpWhichIds; SfxItemPool* mpPool; public: - NamespaceMap( sal_uInt16* pWhichIds, SfxItemPool* pPool ); + NamespaceMap( const sal_uInt16* pWhichIds, SfxItemPool* pPool ); // XNameAccess virtual Any SAL_CALL getByName( const OUString& aName ) override; @@ -70,7 +70,7 @@ namespace svx } - Reference< XInterface > NamespaceMap_createInstance( sal_uInt16* pWhichIds, SfxItemPool* pPool ) + Reference< XInterface > NamespaceMap_createInstance( const sal_uInt16* pWhichIds, SfxItemPool* pPool ) { return getXWeak(new NamespaceMap( pWhichIds, pPool )); } @@ -95,7 +95,7 @@ namespace svx private: SfxItemPool* mpPool; - sal_uInt16* mpWhichId; + const sal_uInt16* mpWhichId; std::vector<const SvXMLAttrContainerItem*> mvItems; sal_Int32 mnItem; @@ -105,7 +105,7 @@ namespace svx public: - NamespaceIteratorImpl( sal_uInt16* pWhichIds, SfxItemPool* pPool ); + NamespaceIteratorImpl( const sal_uInt16* pWhichIds, SfxItemPool* pPool ); bool next( OUString& rPrefix, OUString& rURL ); }; @@ -116,7 +116,7 @@ namespace svx using namespace ::svx; -NamespaceIteratorImpl::NamespaceIteratorImpl( sal_uInt16* pWhichIds, SfxItemPool* pPool ) +NamespaceIteratorImpl::NamespaceIteratorImpl( const sal_uInt16* pWhichIds, SfxItemPool* pPool ) { mpPool = pPool; mpCurrentAttr = nullptr; @@ -184,7 +184,7 @@ bool NamespaceIteratorImpl::next( OUString& rPrefix, OUString& rURL ) } -NamespaceMap::NamespaceMap( sal_uInt16* pWhichIds, SfxItemPool* pPool ) +NamespaceMap::NamespaceMap( const sal_uInt16* pWhichIds, SfxItemPool* pPool ) : mpWhichIds( pWhichIds ), mpPool( pPool ) { } diff --git a/vcl/inc/unx/x11_cursors/ase_curs.h b/vcl/inc/unx/x11_cursors/ase_curs.h index 878d1ff57127..24c9fa036800 100644 --- a/vcl/inc/unx/x11_cursors/ase_curs.h +++ b/vcl/inc/unx/x11_cursors/ase_curs.h @@ -20,7 +20,7 @@ #define ase_curs_height 32 #define ase_curs_x_hot 19 #define ase_curs_y_hot 16 -static unsigned char ase_curs_bits[] = { +const unsigned char ase_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/ase_mask.h b/vcl/inc/unx/x11_cursors/ase_mask.h index 258b2bc93e7e..c37918f3d892 100644 --- a/vcl/inc/unx/x11_cursors/ase_mask.h +++ b/vcl/inc/unx/x11_cursors/ase_mask.h @@ -20,7 +20,7 @@ #define ase_mask_height 32 #define ase_mask_x_hot 19 #define ase_mask_y_hot 16 -static unsigned char ase_mask_bits[] = { +const unsigned char ase_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/asn_curs.h b/vcl/inc/unx/x11_cursors/asn_curs.h index 1e6170af4976..290e21939722 100644 --- a/vcl/inc/unx/x11_cursors/asn_curs.h +++ b/vcl/inc/unx/x11_cursors/asn_curs.h @@ -20,7 +20,7 @@ #define asn_curs_height 32 #define asn_curs_x_hot 16 #define asn_curs_y_hot 12 -static unsigned char asn_curs_bits[] = { +const unsigned char asn_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x80,0x03, 0x00,0x00,0xc0,0x07,0x00,0x00,0xc0,0x07,0x00,0x00,0xe0,0x0f,0x00,0x00,0x20, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x03,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/asn_mask.h b/vcl/inc/unx/x11_cursors/asn_mask.h index c44b5eeb9438..968b12f52d66 100644 --- a/vcl/inc/unx/x11_cursors/asn_mask.h +++ b/vcl/inc/unx/x11_cursors/asn_mask.h @@ -20,7 +20,7 @@ #define asn_mask_height 32 #define asn_mask_x_hot 16 #define asn_mask_y_hot 12 -static unsigned char asn_mask_bits[] = { +const unsigned char asn_mask_bits[] = { 0x00,0x00,0x01,0x00,0x00,0x80,0x03,0x00,0x00,0x80,0x03,0x00,0x00,0xc0,0x07, 0x00,0x00,0xe0,0x0f,0x00,0x00,0xe0,0x0f,0x00,0x00,0xf0,0x1f,0x00,0x00,0xf0, 0x1f,0x00,0x00,0x20,0x08,0x00,0x00,0x80,0x03,0x00,0x00,0xc0,0x07,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/asne_curs.h b/vcl/inc/unx/x11_cursors/asne_curs.h index cc757474e2ef..c23696cabd53 100644 --- a/vcl/inc/unx/x11_cursors/asne_curs.h +++ b/vcl/inc/unx/x11_cursors/asne_curs.h @@ -20,7 +20,7 @@ #define asne_curs_height 32 #define asne_curs_x_hot 21 #define asne_curs_y_hot 10 -static unsigned char asne_curs_bits[] = { +const unsigned char asne_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3c,0x00,0x00,0x80, 0x3f,0x00,0x00,0xc0,0x3f,0x00,0x00,0x00,0x3f,0x00,0x00,0x00,0x1c,0x00,0x00, 0x00,0x1c,0x00,0x00,0x70,0x18,0x00,0x00,0xf8,0x08,0x00,0x00,0xf8,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/asne_mask.h b/vcl/inc/unx/x11_cursors/asne_mask.h index ebb80c0ba6a6..ed3ac8d63811 100644 --- a/vcl/inc/unx/x11_cursors/asne_mask.h +++ b/vcl/inc/unx/x11_cursors/asne_mask.h @@ -20,7 +20,7 @@ #define asne_mask_height 32 #define asne_mask_x_hot 21 #define asne_mask_y_hot 10 -static unsigned char asne_mask_bits[] = { +const unsigned char asne_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7c,0x00,0x00,0x80,0x7f,0x00,0x00,0xc0, 0x7f,0x00,0x00,0xe0,0x7f,0x00,0x00,0xc0,0x7f,0x00,0x00,0x00,0x3f,0x00,0x00, 0x70,0x3e,0x00,0x00,0xf8,0x3c,0x00,0x00,0xfc,0x1d,0x00,0x00,0xfc,0x09,0x00, diff --git a/vcl/inc/unx/x11_cursors/asns_curs.h b/vcl/inc/unx/x11_cursors/asns_curs.h index 27c0ce7e7c14..129357ea8e3a 100644 --- a/vcl/inc/unx/x11_cursors/asns_curs.h +++ b/vcl/inc/unx/x11_cursors/asns_curs.h @@ -20,7 +20,7 @@ #define asns_curs_height 32 #define asns_curs_x_hot 15 #define asns_curs_y_hot 15 -static unsigned char asns_curs_bits[] = { +const unsigned char asns_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0xc0,0x01,0x00,0x00,0xe0, 0x03,0x00,0x00,0xe0,0x03,0x00,0x00,0xf0,0x07,0x00,0x00,0x10,0x04,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/asns_mask.h b/vcl/inc/unx/x11_cursors/asns_mask.h index d7d8a12534f6..55080338aea2 100644 --- a/vcl/inc/unx/x11_cursors/asns_mask.h +++ b/vcl/inc/unx/x11_cursors/asns_mask.h @@ -20,7 +20,7 @@ #define asns_mask_height 32 #define asns_mask_x_hot 15 #define asns_mask_y_hot 15 -static unsigned char asns_mask_bits[] = { +const unsigned char asns_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00, 0x00,0x00,0xc0,0x01,0x00,0x00,0xc0,0x01,0x00,0x00,0xe0,0x03,0x00,0x00,0xf0, 0x07,0x00,0x00,0xf0,0x07,0x00,0x00,0xf8,0x0f,0x00,0x00,0xf8,0x0f,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/asnswe_curs.h b/vcl/inc/unx/x11_cursors/asnswe_curs.h index e746fc59b91e..527cb807c1f0 100644 --- a/vcl/inc/unx/x11_cursors/asnswe_curs.h +++ b/vcl/inc/unx/x11_cursors/asnswe_curs.h @@ -20,7 +20,7 @@ #define asnswe_curs_height 32 #define asnswe_curs_x_hot 15 #define asnswe_curs_y_hot 15 -static unsigned char asnswe_curs_bits[] = { +const unsigned char asnswe_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0xc0,0x01,0x00,0x00,0xe0, 0x03,0x00,0x00,0xe0,0x03,0x00,0x00,0xf0,0x07,0x00,0x00,0x10,0x04,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/asnswe_mask.h b/vcl/inc/unx/x11_cursors/asnswe_mask.h index 69bb087d319d..ec0eea79011d 100644 --- a/vcl/inc/unx/x11_cursors/asnswe_mask.h +++ b/vcl/inc/unx/x11_cursors/asnswe_mask.h @@ -20,7 +20,7 @@ #define asnswe_mask_height 32 #define asnswe_mask_x_hot 15 #define asnswe_mask_y_hot 15 -static unsigned char asnswe_mask_bits[] = { +const unsigned char asnswe_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00, 0x00,0x00,0xc0,0x01,0x00,0x00,0xc0,0x01,0x00,0x00,0xe0,0x03,0x00,0x00,0xf0, 0x07,0x00,0x00,0xf0,0x07,0x00,0x00,0xf8,0x0f,0x00,0x00,0xf8,0x0f,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/asnw_curs.h b/vcl/inc/unx/x11_cursors/asnw_curs.h index 67df6fb7b82a..7c9179bd9e2b 100644 --- a/vcl/inc/unx/x11_cursors/asnw_curs.h +++ b/vcl/inc/unx/x11_cursors/asnw_curs.h @@ -20,7 +20,7 @@ #define asnw_curs_height 32 #define asnw_curs_x_hot 10 #define asnw_curs_y_hot 10 -static unsigned char asnw_curs_bits[] = { +const unsigned char asnw_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3c,0x00,0x00,0x00,0xfc,0x01,0x00, 0x00,0xfc,0x03,0x00,0x00,0xfc,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00, 0x00,0x00,0x18,0x0e,0x00,0x00,0x10,0x1f,0x00,0x00,0x00,0x1f,0x00,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/asnw_mask.h b/vcl/inc/unx/x11_cursors/asnw_mask.h index 15bc43bcff24..35591927dbbb 100644 --- a/vcl/inc/unx/x11_cursors/asnw_mask.h +++ b/vcl/inc/unx/x11_cursors/asnw_mask.h @@ -20,7 +20,7 @@ #define asnw_mask_height 32 #define asnw_mask_x_hot 10 #define asnw_mask_y_hot 10 -static unsigned char asnw_mask_bits[] = { +const unsigned char asnw_mask_bits[] = { 0x00,0x00,0x00,0x00,0x3e,0x00,0x00,0x00,0xfe,0x01,0x00,0x00,0xfe,0x03,0x00, 0x00,0xfe,0x07,0x00,0x00,0xfe,0x03,0x00,0x00,0xfc,0x00,0x00,0x00,0x7c,0x0e, 0x00,0x00,0x3c,0x1f,0x00,0x00,0xb8,0x3f,0x00,0x00,0x90,0x3f,0x00,0x00,0x80, diff --git a/vcl/inc/unx/x11_cursors/ass_curs.h b/vcl/inc/unx/x11_cursors/ass_curs.h index 4335c18218ab..baa96d855451 100644 --- a/vcl/inc/unx/x11_cursors/ass_curs.h +++ b/vcl/inc/unx/x11_cursors/ass_curs.h @@ -20,7 +20,7 @@ #define ass_curs_height 32 #define ass_curs_x_hot 15 #define ass_curs_y_hot 19 -static unsigned char ass_curs_bits[] = { +const unsigned char ass_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/ass_mask.h b/vcl/inc/unx/x11_cursors/ass_mask.h index 1ba699bc428f..b35aca70b47d 100644 --- a/vcl/inc/unx/x11_cursors/ass_mask.h +++ b/vcl/inc/unx/x11_cursors/ass_mask.h @@ -20,7 +20,7 @@ #define ass_mask_height 32 #define ass_mask_x_hot 15 #define ass_mask_y_hot 19 -static unsigned char ass_mask_bits[] = { +const unsigned char ass_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/asse_curs.h b/vcl/inc/unx/x11_cursors/asse_curs.h index ea3607beaa7a..6a53ec6302e4 100644 --- a/vcl/inc/unx/x11_cursors/asse_curs.h +++ b/vcl/inc/unx/x11_cursors/asse_curs.h @@ -20,7 +20,7 @@ #define asse_curs_height 32 #define asse_curs_x_hot 21 #define asse_curs_y_hot 21 -static unsigned char asse_curs_bits[] = { +const unsigned char asse_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/asse_mask.h b/vcl/inc/unx/x11_cursors/asse_mask.h index 3d366d8e12c1..68160796e315 100644 --- a/vcl/inc/unx/x11_cursors/asse_mask.h +++ b/vcl/inc/unx/x11_cursors/asse_mask.h @@ -20,7 +20,7 @@ #define asse_mask_height 32 #define asse_mask_x_hot 21 #define asse_mask_y_hot 21 -static unsigned char asse_mask_bits[] = { +const unsigned char asse_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/assw_curs.h b/vcl/inc/unx/x11_cursors/assw_curs.h index fe5645c2859e..3bac479ff905 100644 --- a/vcl/inc/unx/x11_cursors/assw_curs.h +++ b/vcl/inc/unx/x11_cursors/assw_curs.h @@ -20,7 +20,7 @@ #define assw_curs_height 32 #define assw_curs_x_hot 10 #define assw_curs_y_hot 21 -static unsigned char assw_curs_bits[] = { +const unsigned char assw_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/assw_mask.h b/vcl/inc/unx/x11_cursors/assw_mask.h index 959a0600c103..42402c21f796 100644 --- a/vcl/inc/unx/x11_cursors/assw_mask.h +++ b/vcl/inc/unx/x11_cursors/assw_mask.h @@ -20,7 +20,7 @@ #define assw_mask_height 32 #define assw_mask_x_hot 10 #define assw_mask_y_hot 21 -static unsigned char assw_mask_bits[] = { +const unsigned char assw_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/asw_curs.h b/vcl/inc/unx/x11_cursors/asw_curs.h index b3b4a56c4a08..f8f90cfbfb28 100644 --- a/vcl/inc/unx/x11_cursors/asw_curs.h +++ b/vcl/inc/unx/x11_cursors/asw_curs.h @@ -20,7 +20,7 @@ #define asw_curs_height 32 #define asw_curs_x_hot 12 #define asw_curs_y_hot 15 -static unsigned char asw_curs_bits[] = { +const unsigned char asw_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/asw_mask.h b/vcl/inc/unx/x11_cursors/asw_mask.h index ad85d47f7cfc..5727c40d1481 100644 --- a/vcl/inc/unx/x11_cursors/asw_mask.h +++ b/vcl/inc/unx/x11_cursors/asw_mask.h @@ -20,7 +20,7 @@ #define asw_mask_height 32 #define asw_mask_x_hot 12 #define asw_mask_y_hot 15 -static unsigned char asw_mask_bits[] = { +const unsigned char asw_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0, diff --git a/vcl/inc/unx/x11_cursors/aswe_curs.h b/vcl/inc/unx/x11_cursors/aswe_curs.h index 0f7ed0fc1a6e..413bb062336c 100644 --- a/vcl/inc/unx/x11_cursors/aswe_curs.h +++ b/vcl/inc/unx/x11_cursors/aswe_curs.h @@ -20,7 +20,7 @@ #define aswe_curs_height 32 #define aswe_curs_x_hot 15 #define aswe_curs_y_hot 15 -static unsigned char aswe_curs_bits[] = { +const unsigned char aswe_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/aswe_mask.h b/vcl/inc/unx/x11_cursors/aswe_mask.h index 24e1050582da..f11e51c2fc40 100644 --- a/vcl/inc/unx/x11_cursors/aswe_mask.h +++ b/vcl/inc/unx/x11_cursors/aswe_mask.h @@ -20,7 +20,7 @@ #define aswe_mask_height 32 #define aswe_mask_x_hot 15 #define aswe_mask_y_hot 15 -static unsigned char aswe_mask_bits[] = { +const unsigned char aswe_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/chain_curs.h b/vcl/inc/unx/x11_cursors/chain_curs.h index 26c055225d0a..a508cc6dd96a 100644 --- a/vcl/inc/unx/x11_cursors/chain_curs.h +++ b/vcl/inc/unx/x11_cursors/chain_curs.h @@ -20,7 +20,7 @@ #define chain_curs_height 32 #define chain_curs_x_hot 0 #define chain_curs_y_hot 2 -static unsigned char chain_curs_bits[] = { +const unsigned char chain_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x03,0x00,0x00, 0x00,0x05,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x11,0x00,0x00,0x00,0x21,0x00, 0x00,0x00,0x41,0x00,0x00,0x00,0x81,0x00,0x00,0x00,0x01,0x01,0x00,0x00,0x01, diff --git a/vcl/inc/unx/x11_cursors/chain_mask.h b/vcl/inc/unx/x11_cursors/chain_mask.h index 4b25c9c4b306..ce0cd7b50cb7 100644 --- a/vcl/inc/unx/x11_cursors/chain_mask.h +++ b/vcl/inc/unx/x11_cursors/chain_mask.h @@ -18,7 +18,7 @@ */ #define chain_mask_width 32 #define chain_mask_height 32 -static unsigned char chain_mask_bits[] = { +const unsigned char chain_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x03,0x00,0x00, 0x00,0x07,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x3f,0x00, 0x00,0x00,0x7f,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x01,0x00,0x00,0xff, diff --git a/vcl/inc/unx/x11_cursors/chainnot_curs.h b/vcl/inc/unx/x11_cursors/chainnot_curs.h index 9af6f79d3531..500e838b4942 100644 --- a/vcl/inc/unx/x11_cursors/chainnot_curs.h +++ b/vcl/inc/unx/x11_cursors/chainnot_curs.h @@ -20,7 +20,7 @@ #define chainnot_curs_height 32 #define chainnot_curs_x_hot 2 #define chainnot_curs_y_hot 2 -static unsigned char chainnot_curs_bits[] = { +const unsigned char chainnot_curs_bits[] = { 0x00,0x00,0x00,0x00,0x80,0x1f,0x00,0x00,0xe0,0x7f,0x00,0x00,0xf0,0xf0,0x00, 0x00,0x38,0xc0,0x01,0x00,0x7c,0x80,0x03,0x00,0xec,0x00,0x03,0x00,0xce,0x01, 0x07,0x00,0x86,0x03,0x06,0x00,0x06,0x07,0x06,0x00,0x06,0x0e,0x06,0x00,0x06, diff --git a/vcl/inc/unx/x11_cursors/chainnot_mask.h b/vcl/inc/unx/x11_cursors/chainnot_mask.h index e5e24e0c7e62..1001067e19d4 100644 --- a/vcl/inc/unx/x11_cursors/chainnot_mask.h +++ b/vcl/inc/unx/x11_cursors/chainnot_mask.h @@ -18,7 +18,7 @@ */ #define chainnot_mask_width 32 #define chainnot_mask_height 32 -static unsigned char chainnot_mask_bits[] = { +const unsigned char chainnot_mask_bits[] = { 0x80,0x1f,0x00,0x00,0xe0,0x7f,0x00,0x00,0xf0,0xff,0x00,0x00,0xf8,0xff,0x01, 0x00,0xfc,0xf0,0x03,0x00,0xfe,0xc0,0x07,0x00,0xfe,0x81,0x07,0x00,0xff,0x83, 0x0f,0x00,0xcf,0x07,0x0f,0x00,0x8f,0x0f,0x0f,0x00,0x0f,0x1f,0x0f,0x00,0x0f, diff --git a/vcl/inc/unx/x11_cursors/chart_curs.h b/vcl/inc/unx/x11_cursors/chart_curs.h index 367f6b05c9fb..95443a54ca80 100644 --- a/vcl/inc/unx/x11_cursors/chart_curs.h +++ b/vcl/inc/unx/x11_cursors/chart_curs.h @@ -20,7 +20,7 @@ #define chart_curs_height 32 #define chart_curs_x_hot 15 #define chart_curs_y_hot 16 -static unsigned char chart_curs_bits[] = { +const unsigned char chart_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x80,0x00,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/chart_mask.h b/vcl/inc/unx/x11_cursors/chart_mask.h index 6f6977062860..0c0405c41200 100644 --- a/vcl/inc/unx/x11_cursors/chart_mask.h +++ b/vcl/inc/unx/x11_cursors/chart_mask.h @@ -20,7 +20,7 @@ #define chart_mask_height 32 #define chart_mask_x_hot 15 #define chart_mask_y_hot 16 -static unsigned char chart_mask_bits[] = { +const unsigned char chart_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0xc0,0x01,0x00,0x00,0xc0,0x01,0x00,0x00,0xc0,0x01,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/copydata_curs.h b/vcl/inc/unx/x11_cursors/copydata_curs.h index 4cc36ebdebda..0edcd377e07f 100644 --- a/vcl/inc/unx/x11_cursors/copydata_curs.h +++ b/vcl/inc/unx/x11_cursors/copydata_curs.h @@ -20,7 +20,7 @@ #define copydata_curs_height 32 #define copydata_curs_x_hot 1 #define copydata_curs_y_hot 1 -static unsigned char copydata_curs_bits[] = { +const unsigned char copydata_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x01, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/copydata_mask.h b/vcl/inc/unx/x11_cursors/copydata_mask.h index a3538c952288..37edbcc36c18 100644 --- a/vcl/inc/unx/x11_cursors/copydata_mask.h +++ b/vcl/inc/unx/x11_cursors/copydata_mask.h @@ -20,7 +20,7 @@ #define copydata_mask_height 32 #define copydata_mask_x_hot 1 #define copydata_mask_y_hot 1 -static unsigned char copydata_mask_bits[] = { +const unsigned char copydata_mask_bits[] = { 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x03, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/copydlnk_curs.h b/vcl/inc/unx/x11_cursors/copydlnk_curs.h index df05429e95f5..d3c71386f967 100644 --- a/vcl/inc/unx/x11_cursors/copydlnk_curs.h +++ b/vcl/inc/unx/x11_cursors/copydlnk_curs.h @@ -20,7 +20,7 @@ #define copydlnk_curs_height 32 #define copydlnk_curs_x_hot 1 #define copydlnk_curs_y_hot 1 -static unsigned char copydlnk_curs_bits[] = { +const unsigned char copydlnk_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x01, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/copydlnk_mask.h b/vcl/inc/unx/x11_cursors/copydlnk_mask.h index b2ffcca62255..81b113745076 100644 --- a/vcl/inc/unx/x11_cursors/copydlnk_mask.h +++ b/vcl/inc/unx/x11_cursors/copydlnk_mask.h @@ -20,7 +20,7 @@ #define copydlnk_mask_height 32 #define copydlnk_mask_x_hot 1 #define copydlnk_mask_y_hot 1 -static unsigned char copydlnk_mask_bits[] = { +const unsigned char copydlnk_mask_bits[] = { 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x03, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/copyfile_curs.h b/vcl/inc/unx/x11_cursors/copyfile_curs.h index 22d9fc6ffa39..32debc4d7e2f 100644 --- a/vcl/inc/unx/x11_cursors/copyfile_curs.h +++ b/vcl/inc/unx/x11_cursors/copyfile_curs.h @@ -20,7 +20,7 @@ #define copyfile_curs_height 32 #define copyfile_curs_x_hot 9 #define copyfile_curs_y_hot 9 -static unsigned char copyfile_curs_bits[] = { +const unsigned char copyfile_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x02, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x04, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/copyfile_mask.h b/vcl/inc/unx/x11_cursors/copyfile_mask.h index 171d8b7bc347..13145863190d 100644 --- a/vcl/inc/unx/x11_cursors/copyfile_mask.h +++ b/vcl/inc/unx/x11_cursors/copyfile_mask.h @@ -20,7 +20,7 @@ #define copyfile_mask_height 32 #define copyfile_mask_x_hot 9 #define copyfile_mask_y_hot 9 -static unsigned char copyfile_mask_bits[] = { +const unsigned char copyfile_mask_bits[] = { 0xff, 0x01, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/copyfiles_curs.h b/vcl/inc/unx/x11_cursors/copyfiles_curs.h index 2a8041795838..3305e4f26db9 100644 --- a/vcl/inc/unx/x11_cursors/copyfiles_curs.h +++ b/vcl/inc/unx/x11_cursors/copyfiles_curs.h @@ -20,7 +20,7 @@ #define copyfiles_curs_height 32 #define copyfiles_curs_x_hot 8 #define copyfiles_curs_y_hot 9 -static unsigned char copyfiles_curs_bits[] = { +const unsigned char copyfiles_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0xe0, 0x0f, 0x00, 0x00, 0xe0, 0x2f, 0x00, 0x00, 0xe8, 0x0f, 0x00, 0x00, 0xe8, 0x7f, 0x00, 0x00, 0xea, 0x7f, 0x00, 0x00, 0xea, 0x7f, 0x00, 0x00, 0xea, 0x7f, 0x00, 0x00, 0x6a, 0x7e, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/copyfiles_mask.h b/vcl/inc/unx/x11_cursors/copyfiles_mask.h index 02f2d4c12d29..12da7bf9be18 100644 --- a/vcl/inc/unx/x11_cursors/copyfiles_mask.h +++ b/vcl/inc/unx/x11_cursors/copyfiles_mask.h @@ -20,7 +20,7 @@ #define copyfiles_mask_height 32 #define copyfiles_mask_x_hot 8 #define copyfiles_mask_y_hot 9 -static unsigned char copyfiles_mask_bits[] = { +const unsigned char copyfiles_mask_bits[] = { 0xf0, 0x1f, 0x00, 0x00, 0xf0, 0x7f, 0x00, 0x00, 0xfc, 0x7f, 0x00, 0x00, 0xfc, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/copyflnk_curs.h b/vcl/inc/unx/x11_cursors/copyflnk_curs.h index 43629e23a854..a703e84d2655 100644 --- a/vcl/inc/unx/x11_cursors/copyflnk_curs.h +++ b/vcl/inc/unx/x11_cursors/copyflnk_curs.h @@ -20,7 +20,7 @@ #define copyflnk_curs_height 32 #define copyflnk_curs_x_hot 9 #define copyflnk_curs_y_hot 9 -static unsigned char copyflnk_curs_bits[] = { +const unsigned char copyflnk_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x02, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0x80, 0x04, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/copyflnk_mask.h b/vcl/inc/unx/x11_cursors/copyflnk_mask.h index cd17b334c803..0aea86b95a79 100644 --- a/vcl/inc/unx/x11_cursors/copyflnk_mask.h +++ b/vcl/inc/unx/x11_cursors/copyflnk_mask.h @@ -20,7 +20,7 @@ #define copyflnk_mask_height 32 #define copyflnk_mask_x_hot 9 #define copyflnk_mask_y_hot 9 -static unsigned char copyflnk_mask_bits[] = { +const unsigned char copyflnk_mask_bits[] = { 0xff, 0x01, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/crook_curs.h b/vcl/inc/unx/x11_cursors/crook_curs.h index 989d43b54969..c4ab29039a67 100644 --- a/vcl/inc/unx/x11_cursors/crook_curs.h +++ b/vcl/inc/unx/x11_cursors/crook_curs.h @@ -20,7 +20,7 @@ #define crook_curs_height 32 #define crook_curs_x_hot 15 #define crook_curs_y_hot 14 -static unsigned char crook_curs_bits[] = { +const unsigned char crook_curs_bits[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7c, 0x3e, 0xff, 0x7f, 0xbb, 0xdd, 0xfe, diff --git a/vcl/inc/unx/x11_cursors/crook_mask.h b/vcl/inc/unx/x11_cursors/crook_mask.h index 6e30897e59e4..097e6f8ebd7d 100644 --- a/vcl/inc/unx/x11_cursors/crook_mask.h +++ b/vcl/inc/unx/x11_cursors/crook_mask.h @@ -18,7 +18,7 @@ */ #define crook_mask_width 32 #define crook_mask_height 32 -static unsigned char crook_mask_bits[] = { +const unsigned char crook_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x83, 0xc1, 0x00, 0x80, 0xc7, 0xe3, 0x01, 0xc0, 0xef, 0xf7, 0x03, diff --git a/vcl/inc/unx/x11_cursors/crop_curs.h b/vcl/inc/unx/x11_cursors/crop_curs.h index f40842257143..89c18a565e59 100644 --- a/vcl/inc/unx/x11_cursors/crop_curs.h +++ b/vcl/inc/unx/x11_cursors/crop_curs.h @@ -20,7 +20,7 @@ #define crop_curs_height 32 #define crop_curs_x_hot 9 #define crop_curs_y_hot 9 -static unsigned char crop_curs_bits[] = { +const unsigned char crop_curs_bits[] = { 0xff, 0x0f, 0xff, 0xff, 0xff, 0x6f, 0xff, 0xff, 0xff, 0x6f, 0xff, 0xff, 0x07, 0x60, 0xf8, 0xff, 0xf7, 0x6f, 0xfb, 0xff, 0xf7, 0x6f, 0xfb, 0xff, 0x37, 0x60, 0xf8, 0xff, 0xb7, 0x6f, 0xff, 0xff, 0xb7, 0x6f, 0xff, 0xff, diff --git a/vcl/inc/unx/x11_cursors/crop_mask.h b/vcl/inc/unx/x11_cursors/crop_mask.h index 10d3598af6ce..952e1ebca52e 100644 --- a/vcl/inc/unx/x11_cursors/crop_mask.h +++ b/vcl/inc/unx/x11_cursors/crop_mask.h @@ -18,7 +18,7 @@ */ #define crop_mask_width 32 #define crop_mask_height 32 -static unsigned char crop_mask_bits[] = { +const unsigned char crop_mask_bits[] = { 0x00, 0xf8, 0x01, 0x00, 0x00, 0xf8, 0x01, 0x00, 0xfc, 0xff, 0x0f, 0x00, 0xfc, 0xff, 0x0f, 0x00, 0xfc, 0xff, 0x0f, 0x00, 0xfc, 0xff, 0x0f, 0x00, 0xfc, 0xff, 0x0f, 0x00, 0xfc, 0xff, 0x0f, 0x00, 0xfc, 0xf8, 0x01, 0x00, diff --git a/vcl/inc/unx/x11_cursors/detective_curs.h b/vcl/inc/unx/x11_cursors/detective_curs.h index 265be0fa2f57..6ab48c1cedd2 100644 --- a/vcl/inc/unx/x11_cursors/detective_curs.h +++ b/vcl/inc/unx/x11_cursors/detective_curs.h @@ -20,7 +20,7 @@ #define detective_curs_height 32 #define detective_curs_x_hot 12 #define detective_curs_y_hot 13 -static unsigned char detective_curs_bits[] = { +const unsigned char detective_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x38,0x00, 0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7c, 0x00,0x00,0x00,0x83,0x01,0x00,0x80,0x00,0x02,0x00,0x80,0x10,0x02,0x00,0x40, diff --git a/vcl/inc/unx/x11_cursors/detective_mask.h b/vcl/inc/unx/x11_cursors/detective_mask.h index 411e8a39d2eb..503dac859e4b 100644 --- a/vcl/inc/unx/x11_cursors/detective_mask.h +++ b/vcl/inc/unx/x11_cursors/detective_mask.h @@ -20,7 +20,7 @@ #define detective_mask_height 32 #define detective_mask_x_hot 12 #define detective_mask_y_hot 13 -static unsigned char detective_mask_bits[] = { +const unsigned char detective_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x38,0x00, 0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7c, 0x00,0x00,0x00,0xff,0x01,0x00,0x80,0xff,0x03,0x00,0x80,0xff,0x03,0x00,0xc0, diff --git a/vcl/inc/unx/x11_cursors/drawarc_curs.h b/vcl/inc/unx/x11_cursors/drawarc_curs.h index 17edc92db671..4a45265fab2a 100644 --- a/vcl/inc/unx/x11_cursors/drawarc_curs.h +++ b/vcl/inc/unx/x11_cursors/drawarc_curs.h @@ -20,7 +20,7 @@ #define drawarc_curs_height 32 #define drawarc_curs_x_hot 7 #define drawarc_curs_y_hot 7 -static unsigned char drawarc_curs_bits[] = { +const unsigned char drawarc_curs_bits[] = { 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawarc_mask.h b/vcl/inc/unx/x11_cursors/drawarc_mask.h index 6c0c01754db9..caeaf9ec2a91 100644 --- a/vcl/inc/unx/x11_cursors/drawarc_mask.h +++ b/vcl/inc/unx/x11_cursors/drawarc_mask.h @@ -18,7 +18,7 @@ */ #define drawarc_mask_width 32 #define drawarc_mask_height 32 -static unsigned char drawarc_mask_bits[] = { +const unsigned char drawarc_mask_bits[] = { 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawbezier_curs.h b/vcl/inc/unx/x11_cursors/drawbezier_curs.h index 5470e8d6dcbf..c46b9523a311 100644 --- a/vcl/inc/unx/x11_cursors/drawbezier_curs.h +++ b/vcl/inc/unx/x11_cursors/drawbezier_curs.h @@ -20,7 +20,7 @@ #define drawbezier_curs_height 32 #define drawbezier_curs_x_hot 7 #define drawbezier_curs_y_hot 7 -static unsigned char drawbezier_curs_bits[] = { +const unsigned char drawbezier_curs_bits[] = { 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawbezier_mask.h b/vcl/inc/unx/x11_cursors/drawbezier_mask.h index b3b1282618f1..b528483a041b 100644 --- a/vcl/inc/unx/x11_cursors/drawbezier_mask.h +++ b/vcl/inc/unx/x11_cursors/drawbezier_mask.h @@ -18,7 +18,7 @@ */ #define drawbezier_mask_width 32 #define drawbezier_mask_height 32 -static unsigned char drawbezier_mask_bits[] = { +const unsigned char drawbezier_mask_bits[] = { 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawcaption_curs.h b/vcl/inc/unx/x11_cursors/drawcaption_curs.h index d16c2103b84b..b90113465e6f 100644 --- a/vcl/inc/unx/x11_cursors/drawcaption_curs.h +++ b/vcl/inc/unx/x11_cursors/drawcaption_curs.h @@ -20,7 +20,7 @@ #define drawcaption_curs_height 32 #define drawcaption_curs_x_hot 8 #define drawcaption_curs_y_hot 8 -static unsigned char drawcaption_curs_bits[] = { +const unsigned char drawcaption_curs_bits[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x81, 0x02, 0xff, 0xff, diff --git a/vcl/inc/unx/x11_cursors/drawcaption_mask.h b/vcl/inc/unx/x11_cursors/drawcaption_mask.h index 24a6643a0093..eca5aabdd197 100644 --- a/vcl/inc/unx/x11_cursors/drawcaption_mask.h +++ b/vcl/inc/unx/x11_cursors/drawcaption_mask.h @@ -18,7 +18,7 @@ */ #define drawcaption_mask_width 32 #define drawcaption_mask_height 32 -static unsigned char drawcaption_mask_bits[] = { +const unsigned char drawcaption_mask_bits[] = { 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0xff, 0xff, 0x01, 0x00, 0xff, 0xff, 0x01, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawcirclecut_curs.h b/vcl/inc/unx/x11_cursors/drawcirclecut_curs.h index 35939eb26fc1..c89828fa07a7 100644 --- a/vcl/inc/unx/x11_cursors/drawcirclecut_curs.h +++ b/vcl/inc/unx/x11_cursors/drawcirclecut_curs.h @@ -20,7 +20,7 @@ #define drawcirclecut_curs_height 32 #define drawcirclecut_curs_x_hot 7 #define drawcirclecut_curs_y_hot 7 -static unsigned char drawcirclecut_curs_bits[] = { +const unsigned char drawcirclecut_curs_bits[] = { 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawcirclecut_mask.h b/vcl/inc/unx/x11_cursors/drawcirclecut_mask.h index eeead07a427b..0bcffb38c009 100644 --- a/vcl/inc/unx/x11_cursors/drawcirclecut_mask.h +++ b/vcl/inc/unx/x11_cursors/drawcirclecut_mask.h @@ -18,7 +18,7 @@ */ #define drawcirclecut_mask_width 32 #define drawcirclecut_mask_height 32 -static unsigned char drawcirclecut_mask_bits[] = { +const unsigned char drawcirclecut_mask_bits[] = { 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawconnect_curs.h b/vcl/inc/unx/x11_cursors/drawconnect_curs.h index adad711d14e6..c0b7cb358a1d 100644 --- a/vcl/inc/unx/x11_cursors/drawconnect_curs.h +++ b/vcl/inc/unx/x11_cursors/drawconnect_curs.h @@ -20,7 +20,7 @@ #define drawconnect_curs_height 32 #define drawconnect_curs_x_hot 7 #define drawconnect_curs_y_hot 7 -static unsigned char drawconnect_curs_bits[] = { +const unsigned char drawconnect_curs_bits[] = { 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawconnect_mask.h b/vcl/inc/unx/x11_cursors/drawconnect_mask.h index 566a134c775e..b0dbe5054968 100644 --- a/vcl/inc/unx/x11_cursors/drawconnect_mask.h +++ b/vcl/inc/unx/x11_cursors/drawconnect_mask.h @@ -18,7 +18,7 @@ */ #define drawconnect_mask_width 32 #define drawconnect_mask_height 32 -static unsigned char drawconnect_mask_bits[] = { +const unsigned char drawconnect_mask_bits[] = { 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawellipse_curs.h b/vcl/inc/unx/x11_cursors/drawellipse_curs.h index 36e886263401..035b388e6a35 100644 --- a/vcl/inc/unx/x11_cursors/drawellipse_curs.h +++ b/vcl/inc/unx/x11_cursors/drawellipse_curs.h @@ -20,7 +20,7 @@ #define drawellipse_curs_height 32 #define drawellipse_curs_x_hot 7 #define drawellipse_curs_y_hot 7 -static unsigned char drawellipse_curs_bits[] = { +const unsigned char drawellipse_curs_bits[] = { 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawellipse_mask.h b/vcl/inc/unx/x11_cursors/drawellipse_mask.h index 304db762bd48..c3a8dbb45dfd 100644 --- a/vcl/inc/unx/x11_cursors/drawellipse_mask.h +++ b/vcl/inc/unx/x11_cursors/drawellipse_mask.h @@ -18,7 +18,7 @@ */ #define drawellipse_mask_width 32 #define drawellipse_mask_height 32 -static unsigned char drawellipse_mask_bits[] = { +const unsigned char drawellipse_mask_bits[] = { 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawfreehand_curs.h b/vcl/inc/unx/x11_cursors/drawfreehand_curs.h index b00d9be9801a..9d1f23743e09 100644 --- a/vcl/inc/unx/x11_cursors/drawfreehand_curs.h +++ b/vcl/inc/unx/x11_cursors/drawfreehand_curs.h @@ -20,7 +20,7 @@ #define drawfreehand_curs_height 32 #define drawfreehand_curs_x_hot 8 #define drawfreehand_curs_y_hot 8 -static unsigned char drawfreehand_curs_bits[] = { +const unsigned char drawfreehand_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0xfd, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawfreehand_mask.h b/vcl/inc/unx/x11_cursors/drawfreehand_mask.h index 0e5d38ebd73b..eb28e9844d9d 100644 --- a/vcl/inc/unx/x11_cursors/drawfreehand_mask.h +++ b/vcl/inc/unx/x11_cursors/drawfreehand_mask.h @@ -18,7 +18,7 @@ */ #define drawfreehand_mask_width 32 #define drawfreehand_mask_height 32 -static unsigned char drawfreehand_mask_bits[] = { +const unsigned char drawfreehand_mask_bits[] = { 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0xff, 0xff, 0x01, 0x00, 0xff, 0xff, 0x01, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawline_curs.h b/vcl/inc/unx/x11_cursors/drawline_curs.h index 5376a6600252..95b7d696da50 100644 --- a/vcl/inc/unx/x11_cursors/drawline_curs.h +++ b/vcl/inc/unx/x11_cursors/drawline_curs.h @@ -20,7 +20,7 @@ #define drawline_curs_height 32 #define drawline_curs_x_hot 7 #define drawline_curs_y_hot 7 -static unsigned char drawline_curs_bits[] = { +const unsigned char drawline_curs_bits[] = { 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawline_mask.h b/vcl/inc/unx/x11_cursors/drawline_mask.h index f283ac7fad54..ee3432a9837f 100644 --- a/vcl/inc/unx/x11_cursors/drawline_mask.h +++ b/vcl/inc/unx/x11_cursors/drawline_mask.h @@ -18,7 +18,7 @@ */ #define drawline_mask_width 32 #define drawline_mask_height 32 -static unsigned char drawline_mask_bits[] = { +const unsigned char drawline_mask_bits[] = { 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x3f, 0xfe, 0x00, 0x00, 0xbf, 0xfe, 0x00, 0x00, 0x3f, 0xfe, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawpie_curs.h b/vcl/inc/unx/x11_cursors/drawpie_curs.h index 777634e1c077..35c69c6ac4a0 100644 --- a/vcl/inc/unx/x11_cursors/drawpie_curs.h +++ b/vcl/inc/unx/x11_cursors/drawpie_curs.h @@ -20,7 +20,7 @@ #define drawpie_curs_height 32 #define drawpie_curs_x_hot 7 #define drawpie_curs_y_hot 7 -static unsigned char drawpie_curs_bits[] = { +const unsigned char drawpie_curs_bits[] = { 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawpie_mask.h b/vcl/inc/unx/x11_cursors/drawpie_mask.h index 93ac75c2a882..47645e3fa8f8 100644 --- a/vcl/inc/unx/x11_cursors/drawpie_mask.h +++ b/vcl/inc/unx/x11_cursors/drawpie_mask.h @@ -18,7 +18,7 @@ */ #define drawpie_mask_width 32 #define drawpie_mask_height 32 -static unsigned char drawpie_mask_bits[] = { +const unsigned char drawpie_mask_bits[] = { 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawpolygon_curs.h b/vcl/inc/unx/x11_cursors/drawpolygon_curs.h index 7eebead2a859..d45cb93d7238 100644 --- a/vcl/inc/unx/x11_cursors/drawpolygon_curs.h +++ b/vcl/inc/unx/x11_cursors/drawpolygon_curs.h @@ -20,7 +20,7 @@ #define drawpolygon_curs_height 32 #define drawpolygon_curs_x_hot 7 #define drawpolygon_curs_y_hot 7 -static unsigned char drawpolygon_curs_bits[] = { +const unsigned char drawpolygon_curs_bits[] = { 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawpolygon_mask.h b/vcl/inc/unx/x11_cursors/drawpolygon_mask.h index 0865ce1f5dfa..8af76c0c2b28 100644 --- a/vcl/inc/unx/x11_cursors/drawpolygon_mask.h +++ b/vcl/inc/unx/x11_cursors/drawpolygon_mask.h @@ -18,7 +18,7 @@ */ #define drawpolygon_mask_width 32 #define drawpolygon_mask_height 32 -static unsigned char drawpolygon_mask_bits[] = { +const unsigned char drawpolygon_mask_bits[] = { 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawrect_curs.h b/vcl/inc/unx/x11_cursors/drawrect_curs.h index 4f98f355fb35..dc68211421ce 100644 --- a/vcl/inc/unx/x11_cursors/drawrect_curs.h +++ b/vcl/inc/unx/x11_cursors/drawrect_curs.h @@ -20,7 +20,7 @@ #define drawrect_curs_height 32 #define drawrect_curs_x_hot 7 #define drawrect_curs_y_hot 7 -static unsigned char drawrect_curs_bits[] = { +const unsigned char drawrect_curs_bits[] = { 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawrect_mask.h b/vcl/inc/unx/x11_cursors/drawrect_mask.h index b00b06c9152b..0c20f7d0d9d6 100644 --- a/vcl/inc/unx/x11_cursors/drawrect_mask.h +++ b/vcl/inc/unx/x11_cursors/drawrect_mask.h @@ -18,7 +18,7 @@ */ #define drawrect_mask_width 32 #define drawrect_mask_height 32 -static unsigned char drawrect_mask_bits[] = { +const unsigned char drawrect_mask_bits[] = { 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, 0xbf, 0x7e, 0x00, 0x00, 0x3f, 0x7e, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawtext_curs.h b/vcl/inc/unx/x11_cursors/drawtext_curs.h index f530146d7a12..158b0687e169 100644 --- a/vcl/inc/unx/x11_cursors/drawtext_curs.h +++ b/vcl/inc/unx/x11_cursors/drawtext_curs.h @@ -20,7 +20,7 @@ #define drawtext_curs_height 32 #define drawtext_curs_x_hot 8 #define drawtext_curs_y_hot 8 -static unsigned char drawtext_curs_bits[] = { +const unsigned char drawtext_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0xfd, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/drawtext_mask.h b/vcl/inc/unx/x11_cursors/drawtext_mask.h index 75c335bea4b5..93efa8e36c7c 100644 --- a/vcl/inc/unx/x11_cursors/drawtext_mask.h +++ b/vcl/inc/unx/x11_cursors/drawtext_mask.h @@ -18,7 +18,7 @@ */ #define drawtext_mask_width 32 #define drawtext_mask_height 32 -static unsigned char drawtext_mask_bits[] = { +const unsigned char drawtext_mask_bits[] = { 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0xff, 0xff, 0x01, 0x00, 0xff, 0xff, 0x01, 0x00, diff --git a/vcl/inc/unx/x11_cursors/fatcross_curs.h b/vcl/inc/unx/x11_cursors/fatcross_curs.h index 64322342a3c7..934509854cfa 100644 --- a/vcl/inc/unx/x11_cursors/fatcross_curs.h +++ b/vcl/inc/unx/x11_cursors/fatcross_curs.h @@ -20,7 +20,7 @@ #define fatcross_curs_height 32 #define fatcross_curs_x_hot 15 #define fatcross_curs_y_hot 15 -static unsigned char fatcross_curs_bits[] +const unsigned char fatcross_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x0f, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x08, 0x08, 0x00, 0x80, diff --git a/vcl/inc/unx/x11_cursors/fatcross_mask.h b/vcl/inc/unx/x11_cursors/fatcross_mask.h index d3db67d647c3..052201870aac 100644 --- a/vcl/inc/unx/x11_cursors/fatcross_mask.h +++ b/vcl/inc/unx/x11_cursors/fatcross_mask.h @@ -20,7 +20,7 @@ #define fatcross_mask_height 32 #define fatcross_mask_x_hot 15 #define fatcross_mask_y_hot 15 -static unsigned char fatcross_mask_bits[] +const unsigned char fatcross_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x0f, 0x00, 0x00, 0xf8, 0x0f, 0x00, 0x00, 0xf8, 0x0f, 0x00, 0x00, 0xf8, 0x0f, 0x00, 0x80, diff --git a/vcl/inc/unx/x11_cursors/fill_curs.h b/vcl/inc/unx/x11_cursors/fill_curs.h index 1cdb63410fb2..7d74d0feca35 100644 --- a/vcl/inc/unx/x11_cursors/fill_curs.h +++ b/vcl/inc/unx/x11_cursors/fill_curs.h @@ -20,7 +20,7 @@ #define fill_curs_height 32 #define fill_curs_x_hot 10 #define fill_curs_y_hot 22 -static unsigned char fill_curs_bits[] = { +const unsigned char fill_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x80,0x02,0x00,0x00,0x5c,0x0c,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/fill_mask.h b/vcl/inc/unx/x11_cursors/fill_mask.h index df5d4cdebf9b..9865bfa38b55 100644 --- a/vcl/inc/unx/x11_cursors/fill_mask.h +++ b/vcl/inc/unx/x11_cursors/fill_mask.h @@ -20,7 +20,7 @@ #define fill_mask_height 32 #define fill_mask_x_hot 10 #define fill_mask_y_hot 22 -static unsigned char fill_mask_bits[] = { +const unsigned char fill_mask_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x80,0x03,0x00,0x00,0xdc,0x0f,0x00,0x00, diff --git a/vcl/inc/unx/x11_cursors/hshear_curs.h b/vcl/inc/unx/x11_cursors/hshear_curs.h index 5497f0515885..a9925c0ce582 100644 --- a/vcl/inc/unx/x11_cursors/hshear_curs.h +++ b/vcl/inc/unx/x11_cursors/hshear_curs.h @@ -20,7 +20,7 @@ #define hshear_curs_height 32 #define hshear_curs_x_hot 15 #define hshear_curs_y_hot 15 -static unsigned char hshear_curs_bits[] = { +const unsigned char hshear_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/hshear_mask.h b/vcl/inc/unx/x11_cursors/hshear_mask.h index c94277c6ab45..2b9313db2dad 100644 --- a/vcl/inc/unx/x11_cursors/hshear_mask.h +++ b/vcl/inc/unx/x11_cursors/hshear_mask.h @@ -18,7 +18,7 @@ */ #define hshear_mask_width 32 #define hshear_mask_height 32 -static unsigned char hshear_mask_bits[] = { +const unsigned char hshear_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/invert50.h b/vcl/inc/unx/x11_cursors/invert50.h index cae29c67e9a3..7269c17684f9 100644 --- a/vcl/inc/unx/x11_cursors/invert50.h +++ b/vcl/inc/unx/x11_cursors/invert50.h @@ -18,7 +18,7 @@ */ #define invert50_width 32 #define invert50_height 32 -static unsigned char invert50_bits[] = { +const unsigned char invert50_bits[] = { 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55, 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55, 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55, diff --git a/vcl/inc/unx/x11_cursors/linkdata_curs.h b/vcl/inc/unx/x11_cursors/linkdata_curs.h index 8a4e6db38736..dcf470893b3b 100644 --- a/vcl/inc/unx/x11_cursors/linkdata_curs.h +++ b/vcl/inc/unx/x11_cursors/linkdata_curs.h @@ -20,7 +20,7 @@ #define linkdata_curs_height 32 #define linkdata_curs_x_hot 1 #define linkdata_curs_y_hot 1 -static unsigned char linkdata_curs_bits[] = { +const unsigned char linkdata_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x01, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/linkdata_mask.h b/vcl/inc/unx/x11_cursors/linkdata_mask.h index a1875a8e0adb..ae328d542043 100644 --- a/vcl/inc/unx/x11_cursors/linkdata_mask.h +++ b/vcl/inc/unx/x11_cursors/linkdata_mask.h @@ -20,7 +20,7 @@ #define linkdata_mask_height 32 #define linkdata_mask_x_hot 1 #define linkdata_mask_y_hot 1 -static unsigned char linkdata_mask_bits[] = { +const unsigned char linkdata_mask_bits[] = { 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x03, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/linkfile_curs.h b/vcl/inc/unx/x11_cursors/linkfile_curs.h index 571d928d4eb7..458b66eeca49 100644 --- a/vcl/inc/unx/x11_cursors/linkfile_curs.h +++ b/vcl/inc/unx/x11_cursors/linkfile_curs.h @@ -20,7 +20,7 @@ #define linkfile_curs_height 32 #define linkfile_curs_x_hot 9 #define linkfile_curs_y_hot 9 -static unsigned char linkfile_curs_bits[] = { +const unsigned char linkfile_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x02, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x04, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/linkfile_mask.h b/vcl/inc/unx/x11_cursors/linkfile_mask.h index cbef413689a0..1559c055c21a 100644 --- a/vcl/inc/unx/x11_cursors/linkfile_mask.h +++ b/vcl/inc/unx/x11_cursors/linkfile_mask.h @@ -20,7 +20,7 @@ #define linkfile_mask_height 32 #define linkfile_mask_x_hot 9 #define linkfile_mask_y_hot 9 -static unsigned char linkfile_mask_bits[] = { +const unsigned char linkfile_mask_bits[] = { 0xff, 0x01, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/magnify_curs.h b/vcl/inc/unx/x11_cursors/magnify_curs.h index 4ce3d6e5ae5d..e36f45c8313f 100644 --- a/vcl/inc/unx/x11_cursors/magnify_curs.h +++ b/vcl/inc/unx/x11_cursors/magnify_curs.h @@ -20,7 +20,7 @@ #define magnify_curs_height 32 #define magnify_curs_x_hot 12 #define magnify_curs_y_hot 13 -static unsigned char magnify_curs_bits[] = { +const unsigned char magnify_curs_bits[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7c,0x00,0x00,0x00,0x83, 0x01,0x00,0x80,0x00,0x02,0x00,0x40,0x00,0x04,0x00,0x40,0x00,0x04,0x00,0x20, diff --git a/vcl/inc/unx/x11_cursors/magnify_mask.h b/vcl/inc/unx/x11_cursors/magnify_mask.h index fcc34f8868f3..512046eda188 100644 --- a/vcl/inc/unx/x11_cursors/magnify_mask.h +++ b/vcl/inc/unx/x11_cursors/magnify_mask.h @@ -18,7 +18,7 @@ */ #define magnify_mask_width 32 #define magnify_mask_height 32 -static unsigned char magnify_mask_bits[] = { +const unsigned char magnify_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x80, 0xff, 0x03, 0x00, 0xc0, 0x83, 0x07, 0x00, diff --git a/vcl/inc/unx/x11_cursors/mirror_curs.h b/vcl/inc/unx/x11_cursors/mirror_curs.h index 420ff314709b..a00687a8dbda 100644 --- a/vcl/inc/unx/x11_cursors/mirror_curs.h +++ b/vcl/inc/unx/x11_cursors/mirror_curs.h @@ -20,7 +20,7 @@ #define mirror_curs_height 32 #define mirror_curs_x_hot 14 #define mirror_curs_y_hot 12 -static unsigned char mirror_curs_bits[] = { +const unsigned char mirror_curs_bits[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb, 0xff, 0x03, 0xf8, 0xf5, 0xff, 0xfb, 0xfb, 0xee, 0xff, 0x0b, 0xfa, 0xf5, 0xff, 0xeb, 0xfa, 0xfa, 0xff, 0xeb, 0xfa, 0xfa, 0xff, 0xeb, 0x7a, 0xfd, 0xff, 0xeb, 0x7a, 0xfd, 0xff, diff --git a/vcl/inc/unx/x11_cursors/mirror_mask.h b/vcl/inc/unx/x11_cursors/mirror_mask.h index 157accb3cdc2..b83d85a38fea 100644 --- a/vcl/inc/unx/x11_cursors/mirror_mask.h +++ b/vcl/inc/unx/x11_cursors/mirror_mask.h @@ -18,7 +18,7 @@ */ #define mirror_mask_width 32 #define mirror_mask_height 32 -static unsigned char mirror_mask_bits[] = { +const unsigned char mirror_mask_bits[] = { 0x00, 0x00, 0x04, 0x00, 0xfe, 0x0f, 0x0e, 0x00, 0xfe, 0x0f, 0x1f, 0x00, 0xfe, 0x8f, 0x3f, 0x00, 0xfe, 0x0f, 0x1f, 0x00, 0xfe, 0x8f, 0x0f, 0x00, 0xbe, 0x8f, 0x0f, 0x00, 0xbe, 0xcf, 0x07, 0x00, 0xbe, 0xcf, 0x87, 0x00, diff --git a/vcl/inc/unx/x11_cursors/movebezierweight_curs.h b/vcl/inc/unx/x11_cursors/movebezierweight_curs.h index fdae75127550..5a524420c0e5 100644 --- a/vcl/inc/unx/x11_cursors/movebezierweight_curs.h +++ b/vcl/inc/unx/x11_cursors/movebezierweight_curs.h @@ -20,7 +20,7 @@ #define movebezierweight_curs_height 32 #define movebezierweight_curs_x_hot 0 #define movebezierweight_curs_y_hot 0 -static unsigned char movebezierweight_curs_bits[] = { +const unsigned char movebezierweight_curs_bits[] = { 0xff, 0xff, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xff, 0xf1, 0xff, 0xff, 0xff, 0xe1, 0xff, 0xff, 0xff, 0xc1, 0xff, 0xff, 0xff, 0x81, 0xff, 0xff, 0xff, 0x01, 0xff, 0xff, 0xff, 0x01, 0xfe, 0xff, 0xff, diff --git a/vcl/inc/unx/x11_cursors/movebezierweight_mask.h b/vcl/inc/unx/x11_cursors/movebezierweight_mask.h index 08203fe767f4..1c0e1e99385d 100644 --- a/vcl/inc/unx/x11_cursors/movebezierweight_mask.h +++ b/vcl/inc/unx/x11_cursors/movebezierweight_mask.h @@ -18,7 +18,7 @@ */ #define movebezierweight_mask_width 32 #define movebezierweight_mask_height 32 -static unsigned char movebezierweight_mask_bits[] = { +const unsigned char movebezierweight_mask_bits[] = { 0x03, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x03, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/movedata_curs.h b/vcl/inc/unx/x11_cursors/movedata_curs.h index b253ce70ca93..bb9c4d82f153 100644 --- a/vcl/inc/unx/x11_cursors/movedata_curs.h +++ b/vcl/inc/unx/x11_cursors/movedata_curs.h @@ -20,7 +20,7 @@ #define movedata_curs_height 32 #define movedata_curs_x_hot 1 #define movedata_curs_y_hot 1 -static unsigned char movedata_curs_bits[] = { +const unsigned char movedata_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x01, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/movedata_mask.h b/vcl/inc/unx/x11_cursors/movedata_mask.h index d317b1556e57..dda778a8e5c8 100644 --- a/vcl/inc/unx/x11_cursors/movedata_mask.h +++ b/vcl/inc/unx/x11_cursors/movedata_mask.h @@ -20,7 +20,7 @@ #define movedata_mask_height 32 #define movedata_mask_x_hot 1 #define movedata_mask_y_hot 1 -static unsigned char movedata_mask_bits[] = { +const unsigned char movedata_mask_bits[] = { 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x03, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/movedlnk_curs.h b/vcl/inc/unx/x11_cursors/movedlnk_curs.h index 1e82e277a4e5..e96e5fd7f79c 100644 --- a/vcl/inc/unx/x11_cursors/movedlnk_curs.h +++ b/vcl/inc/unx/x11_cursors/movedlnk_curs.h @@ -20,7 +20,7 @@ #define movedlnk_curs_height 32 #define movedlnk_curs_x_hot 1 #define movedlnk_curs_y_hot 1 -static unsigned char movedlnk_curs_bits[] = { +const unsigned char movedlnk_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x01, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/movedlnk_mask.h b/vcl/inc/unx/x11_cursors/movedlnk_mask.h index e56f9714cec5..76ed4263393f 100644 --- a/vcl/inc/unx/x11_cursors/movedlnk_mask.h +++ b/vcl/inc/unx/x11_cursors/movedlnk_mask.h @@ -20,7 +20,7 @@ #define movedlnk_mask_height 32 #define movedlnk_mask_x_hot 1 #define movedlnk_mask_y_hot 1 -static unsigned char movedlnk_mask_bits[] = { +const unsigned char movedlnk_mask_bits[] = { 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x03, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/movefile_curs.h b/vcl/inc/unx/x11_cursors/movefile_curs.h index 3ffea197ffaa..69ddba409d00 100644 --- a/vcl/inc/unx/x11_cursors/movefile_curs.h +++ b/vcl/inc/unx/x11_cursors/movefile_curs.h @@ -20,7 +20,7 @@ #define movefile_curs_height 32 #define movefile_curs_x_hot 9 #define movefile_curs_y_hot 9 -static unsigned char movefile_curs_bits[] = { +const unsigned char movefile_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x02, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x04, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/movefile_mask.h b/vcl/inc/unx/x11_cursors/movefile_mask.h index ab74f25d80ff..59b40154e93b 100644 --- a/vcl/inc/unx/x11_cursors/movefile_mask.h +++ b/vcl/inc/unx/x11_cursors/movefile_mask.h @@ -20,7 +20,7 @@ #define movefile_mask_height 32 #define movefile_mask_x_hot 9 #define movefile_mask_y_hot 9 -static unsigned char movefile_mask_bits[] = { +const unsigned char movefile_mask_bits[] = { 0xff, 0x01, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/movefiles_curs.h b/vcl/inc/unx/x11_cursors/movefiles_curs.h index d5c726a2ea15..82778576e066 100644 --- a/vcl/inc/unx/x11_cursors/movefiles_curs.h +++ b/vcl/inc/unx/x11_cursors/movefiles_curs.h @@ -20,7 +20,7 @@ #define movefiles_curs_height 32 #define movefiles_curs_x_hot 8 #define movefiles_curs_y_hot 9 -static unsigned char movefiles_curs_bits[] = { +const unsigned char movefiles_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0xe0, 0x0f, 0x00, 0x00, 0xe0, 0x2f, 0x00, 0x00, 0xe8, 0x0f, 0x00, 0x00, 0xe8, 0x7f, 0x00, 0x00, 0xea, 0x7f, 0x00, 0x00, 0xea, 0x7f, 0x00, 0x00, 0xea, 0x7f, 0x00, 0x00, 0x6a, 0x7e, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/movefiles_mask.h b/vcl/inc/unx/x11_cursors/movefiles_mask.h index c1683b3336db..d2c2b229ebe7 100644 --- a/vcl/inc/unx/x11_cursors/movefiles_mask.h +++ b/vcl/inc/unx/x11_cursors/movefiles_mask.h @@ -20,7 +20,7 @@ #define movefiles_mask_height 32 #define movefiles_mask_x_hot 8 #define movefiles_mask_y_hot 9 -static unsigned char movefiles_mask_bits[] = { +const unsigned char movefiles_mask_bits[] = { 0xf0, 0x1f, 0x00, 0x00, 0xf0, 0x7f, 0x00, 0x00, 0xfc, 0x7f, 0x00, 0x00, 0xfc, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/moveflnk_curs.h b/vcl/inc/unx/x11_cursors/moveflnk_curs.h index 02d0c8145cd5..e0824749e196 100644 --- a/vcl/inc/unx/x11_cursors/moveflnk_curs.h +++ b/vcl/inc/unx/x11_cursors/moveflnk_curs.h @@ -20,7 +20,7 @@ #define moveflnk_curs_height 32 #define moveflnk_curs_x_hot 9 #define moveflnk_curs_y_hot 9 -static unsigned char moveflnk_curs_bits[] = { +const unsigned char moveflnk_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x02, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0x80, 0x04, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/moveflnk_mask.h b/vcl/inc/unx/x11_cursors/moveflnk_mask.h index 189c1144316e..d86b0898d4e5 100644 --- a/vcl/inc/unx/x11_cursors/moveflnk_mask.h +++ b/vcl/inc/unx/x11_cursors/moveflnk_mask.h @@ -20,7 +20,7 @@ #define moveflnk_mask_height 32 #define moveflnk_mask_x_hot 9 #define moveflnk_mask_y_hot 9 -static unsigned char moveflnk_mask_bits[] = { +const unsigned char moveflnk_mask_bits[] = { 0xff, 0x01, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, 0xff, 0x0f, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/movepoint_curs.h b/vcl/inc/unx/x11_cursors/movepoint_curs.h index 7f85113ce824..ded3a633060b 100644 --- a/vcl/inc/unx/x11_cursors/movepoint_curs.h +++ b/vcl/inc/unx/x11_cursors/movepoint_curs.h @@ -20,7 +20,7 @@ #define movepoint_curs_height 32 #define movepoint_curs_x_hot 0 #define movepoint_curs_y_hot 0 -static unsigned char movepoint_curs_bits[] = { +const unsigned char movepoint_curs_bits[] = { 0xff, 0xff, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xff, 0xf1, 0xff, 0xff, 0xff, 0xe1, 0xff, 0xff, 0xff, 0xc1, 0xff, 0xff, 0xff, 0x81, 0xff, 0xff, 0xff, 0x01, 0xff, 0xff, 0xff, 0x01, 0xfe, 0xff, 0xff, diff --git a/vcl/inc/unx/x11_cursors/movepoint_mask.h b/vcl/inc/unx/x11_cursors/movepoint_mask.h index aa16b5a56cfc..a0a84a88a0fa 100644 --- a/vcl/inc/unx/x11_cursors/movepoint_mask.h +++ b/vcl/inc/unx/x11_cursors/movepoint_mask.h @@ -18,7 +18,7 @@ */ #define movepoint_mask_width 32 #define movepoint_mask_height 32 -static unsigned char movepoint_mask_bits[] = { +const unsigned char movepoint_mask_bits[] = { 0x03, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x03, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/nodrop_curs.h b/vcl/inc/unx/x11_cursors/nodrop_curs.h index 958257518052..dd97dfc2c01b 100644 --- a/vcl/inc/unx/x11_cursors/nodrop_curs.h +++ b/vcl/inc/unx/x11_cursors/nodrop_curs.h @@ -20,7 +20,7 @@ #define nodrop_curs_height 32 #define nodrop_curs_x_hot 9 #define nodrop_curs_y_hot 9 -static unsigned char nodrop_curs_bits[] = { +const unsigned char nodrop_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0xc0, 0x0f, 0x00, 0x00, 0xf0, 0x3f, 0x00, 0x00, 0xf8, 0x7f, 0x00, 0x00, 0x7c, 0xf8, 0x00, 0x00, 0x1c, 0xfc, 0x00, 0x00, 0x1e, 0xfe, 0x01, 0x00, 0x0e, 0xdf, 0x01, 0x00, 0x8e, 0xcf, 0x01, 0x00, diff --git a/vcl/inc/unx/x11_cursors/nodrop_mask.h b/vcl/inc/unx/x11_cursors/nodrop_mask.h index 662a300645e1..57dc92a41bd9 100644 --- a/vcl/inc/unx/x11_cursors/nodrop_mask.h +++ b/vcl/inc/unx/x11_cursors/nodrop_mask.h @@ -20,7 +20,7 @@ #define nodrop_mask_height 32 #define nodrop_mask_x_hot 9 #define nodrop_mask_y_hot 9 -static unsigned char nodrop_mask_bits[] = { +const unsigned char nodrop_mask_bits[] = { 0xc0, 0x0f, 0x00, 0x00, 0xf0, 0x3f, 0x00, 0x00, 0xf8, 0x7f, 0x00, 0x00, 0xfc, 0xff, 0x00, 0x00, 0xfe, 0xff, 0x01, 0x00, 0x7e, 0xfe, 0x01, 0x00, 0x3f, 0xff, 0x03, 0x00, 0x9f, 0xff, 0x03, 0x00, 0xdf, 0xff, 0x03, 0x00, diff --git a/vcl/inc/unx/x11_cursors/pivotcol_curs.h b/vcl/inc/unx/x11_cursors/pivotcol_curs.h index a34520ab0c53..9b1a05ba25c7 100644 --- a/vcl/inc/unx/x11_cursors/pivotcol_curs.h +++ b/vcl/inc/unx/x11_cursors/pivotcol_curs.h @@ -20,7 +20,7 @@ #define pivotcol_curs_height 32 #define pivotcol_curs_x_hot 7 #define pivotcol_curs_y_hot 5 -static unsigned char pivotcol_curs_bits[] = { +const unsigned char pivotcol_curs_bits[] = { 0xff, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x55, 0x01, 0x00, 0x00, 0x29, 0x01, 0x00, 0x00, 0x15, 0x01, 0x00, 0x00, 0xa9, 0x00, 0x00, 0x00, 0x95, 0x01, 0x00, 0x00, 0xa9, 0x02, 0x00, 0x00, 0x95, 0x04, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/pivotcol_mask.h b/vcl/inc/unx/x11_cursors/pivotcol_mask.h index 9571a031c8e5..a68353dbc941 100644 --- a/vcl/inc/unx/x11_cursors/pivotcol_mask.h +++ b/vcl/inc/unx/x11_cursors/pivotcol_mask.h @@ -20,7 +20,7 @@ #define pivotcol_mask_height 32 #define pivotcol_mask_x_hot 7 #define pivotcol_mask_y_hot 5 -static unsigned char pivotcol_mask_bits[] = { +const unsigned char pivotcol_mask_bits[] = { 0xff, 0x01, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x03, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/pivotdel_curs.h b/vcl/inc/unx/x11_cursors/pivotdel_curs.h index d4547e25f262..e8f94e2e59be 100644 --- a/vcl/inc/unx/x11_cursors/pivotdel_curs.h +++ b/vcl/inc/unx/x11_cursors/pivotdel_curs.h @@ -20,7 +20,7 @@ #define pivotdel_curs_height 32 #define pivotdel_curs_x_hot 9 #define pivotdel_curs_y_hot 8 -static unsigned char pivotdel_curs_bits[] = { +const unsigned char pivotdel_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x80, 0x01, 0x00, 0x3c, 0xc0, 0x00, 0x00, 0x73, 0x6f, 0x07, 0x00, 0xe1, 0x30, 0x04, 0x00, 0xc1, 0x1d, 0x04, 0x00, 0x81, 0x0f, 0x04, 0x00, 0x01, 0x07, 0x04, 0x00, diff --git a/vcl/inc/unx/x11_cursors/pivotdel_mask.h b/vcl/inc/unx/x11_cursors/pivotdel_mask.h index 68868aeec82c..fd45d1bbe7c6 100644 --- a/vcl/inc/unx/x11_cursors/pivotdel_mask.h +++ b/vcl/inc/unx/x11_cursors/pivotdel_mask.h @@ -20,7 +20,7 @@ #define pivotdel_mask_height 32 #define pivotdel_mask_x_hot 9 #define pivotdel_mask_y_hot 8 -static unsigned char pivotdel_mask_bits[] = { +const unsigned char pivotdel_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x80, 0x01, 0x00, 0x3c, 0xc0, 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, diff --git a/vcl/inc/unx/x11_cursors/pivotfld_curs.h b/vcl/inc/unx/x11_cursors/pivotfld_curs.h index 287bc97091e6..5c6a7e432531 100644 --- a/vcl/inc/unx/x11_cursors/pivotfld_curs.h +++ b/vcl/inc/unx/x11_cursors/pivotfld_curs.h @@ -20,7 +20,7 @@ #define pivotfld_curs_height 32 #define pivotfld_curs_x_hot 8 #define pivotfld_curs_y_hot 7 -static unsigned char pivotfld_curs_bits[] = { +const unsigned char pivotfld_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0x01, 0x00, 0x04, 0x00, 0x01, 0x00, 0x04, 0x00, 0x01, 0x00, 0x04, 0x00, 0x01, 0x00, 0x04, 0x00, 0x01, 0x01, 0x04, 0x00, 0x01, 0x03, 0x04, 0x00, diff --git a/vcl/inc/unx/x11_cursors/pivotfld_mask.h b/vcl/inc/unx/x11_cursors/pivotfld_mask.h index 0d524472299a..788185f8a3f7 100644 --- a/vcl/inc/unx/x11_cursors/pivotfld_mask.h +++ b/vcl/inc/unx/x11_cursors/pivotfld_mask.h @@ -20,7 +20,7 @@ #define pivotfld_mask_height 32 #define pivotfld_mask_x_hot 8 #define pivotfld_mask_y_hot 7 -static unsigned char pivotfld_mask_bits[] = { +const unsigned char pivotfld_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, diff --git a/vcl/inc/unx/x11_cursors/pivotrow_curs.h b/vcl/inc/unx/x11_cursors/pivotrow_curs.h index 4aec27919447..614435e883c5 100644 --- a/vcl/inc/unx/x11_cursors/pivotrow_curs.h +++ b/vcl/inc/unx/x11_cursors/pivotrow_curs.h @@ -20,7 +20,7 @@ #define pivotrow_curs_height 32 #define pivotrow_curs_x_hot 8 #define pivotrow_curs_y_hot 7 -static unsigned char pivotrow_curs_bits[] = { +const unsigned char pivotrow_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0x01, 0x00, 0x04, 0x00, 0x55, 0x55, 0x07, 0x00, 0xa9, 0xaa, 0x06, 0x00, 0x55, 0x54, 0x07, 0x00, 0x29, 0xa9, 0x06, 0x00, 0x55, 0x53, 0x07, 0x00, diff --git a/vcl/inc/unx/x11_cursors/pivotrow_mask.h b/vcl/inc/unx/x11_cursors/pivotrow_mask.h index ec9f7f2ba274..e84c4e91b697 100644 --- a/vcl/inc/unx/x11_cursors/pivotrow_mask.h +++ b/vcl/inc/unx/x11_cursors/pivotrow_mask.h @@ -18,7 +18,7 @@ */ #define pivotrow_mask_width 32 #define pivotrow_mask_height 32 -static unsigned char pivotrow_mask_bits[] = { +const unsigned char pivotrow_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, 0xff, 0xff, 0x07, 0x00, diff --git a/vcl/inc/unx/x11_cursors/rotate_curs.h b/vcl/inc/unx/x11_cursors/rotate_curs.h index 936f9f12b419..9cb406827041 100644 --- a/vcl/inc/unx/x11_cursors/rotate_curs.h +++ b/vcl/inc/unx/x11_cursors/rotate_curs.h @@ -20,7 +20,7 @@ #define rotate_curs_height 32 #define rotate_curs_x_hot 15 #define rotate_curs_y_hot 15 -static unsigned char rotate_curs_bits[] = { +const unsigned char rotate_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x00, 0x00, 0xd8, 0x00, 0x00, diff --git a/vcl/inc/unx/x11_cursors/rotate_mask.h b/vcl/inc/unx/x11_cursors/rotate_mask.h index 44804f00f955..e93950d328c3 100644 --- a/vcl/inc/unx/x11_cursors/rotate_mask.h +++ b/vcl/inc/unx/x11_cursors/rotate_mask.h @@ -18,7 +18,7 @@ */ #define rotate_mask_width 32 #define rotate_mask_height 32 -static unsigned char rotate_mask_bits[] = { +const unsigned char rotate_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x00, 0x00, 0xf8, 0x03, 0x00, 0x00, 0xfc, 0x01, 0x00, diff --git a/vcl/inc/unx/x11_cursors/tblsele_curs.h b/vcl/inc/unx/x11_cursors/tblsele_curs.h index e8ca82dd511f..7ae00de43e70 100644 --- a/vcl/inc/unx/x11_cursors/tblsele_curs.h +++ b/vcl/inc/unx/x11_cursors/tblsele_curs.h @@ -21,7 +21,7 @@ #define tblsele_curs_height 16 #define tblsele_curs_x_hot 14 #define tblsele_curs_y_hot 8 -static unsigned char tblsele_curs_bits[] = { +const unsigned char tblsele_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x0c, 0x00, 0x1c, 0xfc, 0x3f, 0xfc, 0x7f, 0xfc, 0x3f, 0x00, 0x1c, 0x00, 0x0c, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/vcl/inc/unx/x11_cursors/tblsele_mask.h b/vcl/inc/unx/x11_cursors/tblsele_mask.h index 6bb306e73c39..989ea634cc5e 100644 --- a/vcl/inc/unx/x11_cursors/tblsele_mask.h +++ b/vcl/inc/unx/x11_cursors/tblsele_mask.h @@ -19,7 +19,7 @@ #define tblsele_mask_width 16 #define tblsele_mask_height 16 -static unsigned char tblsele_mask_bits[] = { +const unsigned char tblsele_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x0e, 0x00, 0x1e, 0xfe, 0x3f, 0xfe, 0x7f, 0xfe, 0xff, 0xfe, 0x7f, 0xfe, 0x3f, 0x00, 0x1e, 0x00, 0x0e, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00 }; diff --git a/vcl/inc/unx/x11_cursors/tblsels_curs.h b/vcl/inc/unx/x11_cursors/tblsels_curs.h index 54d37ddb0cd3..2bd359d2ddce 100644 --- a/vcl/inc/unx/x11_cursors/tblsels_curs.h +++ b/vcl/inc/unx/x11_cursors/tblsels_curs.h @@ -21,7 +21,7 @@ #define tblsels_curs_height 16 #define tblsels_curs_x_hot 7 #define tblsels_curs_y_hot 14 -static unsigned char tblsels_curs_bits[] = { +const unsigned char tblsels_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xf8, 0x0f, 0xf0, 0x07, 0xe0, 0x03, 0xc0, 0x01, 0x80, 0x00, 0x00, 0x00 }; diff --git a/vcl/inc/unx/x11_cursors/tblsels_mask.h b/vcl/inc/unx/x11_cursors/tblsels_mask.h index 3b6ae71184c7..68f86d44e26f 100644 --- a/vcl/inc/unx/x11_cursors/tblsels_mask.h +++ b/vcl/inc/unx/x11_cursors/tblsels_mask.h @@ -19,7 +19,7 @@ #define tblsels_mask_width 16 #define tblsels_mask_height 16 -static unsigned char tblsels_mask_bits[] = { +const unsigned char tblsels_mask_bits[] = { 0x00, 0x00, 0xe0, 0x03, 0xe0, 0x03, 0xe0, 0x03, 0xe0, 0x03, 0xe0, 0x03, 0xe0, 0x03, 0xe0, 0x03, 0xe0, 0x03, 0xfc, 0x1f, 0xfc, 0x1f, 0xf8, 0x0f, 0xf0, 0x07, 0xe0, 0x03, 0xc0, 0x01, 0x80, 0x00 }; diff --git a/vcl/inc/unx/x11_cursors/tblselse_curs.h b/vcl/inc/unx/x11_cursors/tblselse_curs.h index 9bedaabcc564..7f548a725d08 100644 --- a/vcl/inc/unx/x11_cursors/tblselse_curs.h +++ b/vcl/inc/unx/x11_cursors/tblselse_curs.h @@ -21,7 +21,7 @@ #define tblselse_curs_height 16 #define tblselse_curs_x_hot 14 #define tblselse_curs_y_hot 14 -static unsigned char tblselse_curs_bits[] = { +const unsigned char tblselse_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0xf0, 0x00, 0xf0, 0x01, 0xe0, 0x03, 0xc0, 0x47, 0x80, 0x6f, 0x00, 0x7f, 0x00, 0x7e, 0x00, 0x7c, 0x00, 0x7e, 0x00, 0x7f, 0x00, 0x00 }; diff --git a/vcl/inc/unx/x11_cursors/tblselse_mask.h b/vcl/inc/unx/x11_cursors/tblselse_mask.h index 26cbc3282b99..f91216bd56a0 100644 --- a/vcl/inc/unx/x11_cursors/tblselse_mask.h +++ b/vcl/inc/unx/x11_cursors/tblselse_mask.h @@ -19,7 +19,7 @@ #define tblselse_mask_width 16 #define tblselse_mask_height 16 -static unsigned char tblselse_mask_bits[] = { +const unsigned char tblselse_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0xf0, 0x00, 0xf8, 0x01, 0xf8, 0x03, 0xf0, 0xc7, 0xe0, 0xef, 0xc0, 0xff, 0x80, 0xff, 0x00, 0xff, 0x00, 0xfe, 0x00, 0xff, 0x80, 0xff, 0x80, 0xff }; diff --git a/vcl/inc/unx/x11_cursors/tblselsw_curs.h b/vcl/inc/unx/x11_cursors/tblselsw_curs.h index c6f6dedf1759..6bb8f16a727f 100644 --- a/vcl/inc/unx/x11_cursors/tblselsw_curs.h +++ b/vcl/inc/unx/x11_cursors/tblselsw_curs.h @@ -21,7 +21,7 @@ #define tblselsw_curs_height 16 #define tblselsw_curs_x_hot 1 #define tblselsw_curs_y_hot 14 -static unsigned char tblselsw_curs_bits[] = { +const unsigned char tblselsw_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x0f, 0x80, 0x0f, 0xc0, 0x07, 0xe2, 0x03, 0xf6, 0x01, 0xfe, 0x00, 0x7e, 0x00, 0x3e, 0x00, 0x7e, 0x00, 0xfe, 0x00, 0x00, 0x00 }; diff --git a/vcl/inc/unx/x11_cursors/tblselsw_mask.h b/vcl/inc/unx/x11_cursors/tblselsw_mask.h index eb9bd3c2d45d..093b03235995 100644 --- a/vcl/inc/unx/x11_cursors/tblselsw_mask.h +++ b/vcl/inc/unx/x11_cursors/tblselsw_mask.h @@ -19,7 +19,7 @@ #define tblselsw_mask_width 16 #define tblselsw_mask_height 16 -static unsigned char tblselsw_mask_bits[] = { +const unsigned char tblselsw_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x0f, 0x80, 0x1f, 0xc0, 0x1f, 0xe3, 0x0f, 0xf7, 0x07, 0xff, 0x03, 0xff, 0x01, 0xff, 0x00, 0x7f, 0x00, 0xff, 0x00, 0xff, 0x01, 0xff, 0x01 }; diff --git a/vcl/inc/unx/x11_cursors/tblselw_curs.h b/vcl/inc/unx/x11_cursors/tblselw_curs.h index 97de234561ae..7b438ab7759f 100644 --- a/vcl/inc/unx/x11_cursors/tblselw_curs.h +++ b/vcl/inc/unx/x11_cursors/tblselw_curs.h @@ -21,7 +21,7 @@ #define tblselw_curs_height 16 #define tblselw_curs_x_hot 1 #define tblselw_curs_y_hot 8 -static unsigned char tblselw_curs_bits[] = { +const unsigned char tblselw_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x30, 0x00, 0x38, 0x00, 0xfc, 0x3f, 0xfe, 0x3f, 0xfc, 0x3f, 0x38, 0x00, 0x30, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/vcl/inc/unx/x11_cursors/tblselw_mask.h b/vcl/inc/unx/x11_cursors/tblselw_mask.h index 601fe5396e66..5f0f36c7255c 100644 --- a/vcl/inc/unx/x11_cursors/tblselw_mask.h +++ b/vcl/inc/unx/x11_cursors/tblselw_mask.h @@ -19,7 +19,7 @@ #define tblselw_mask_width 16 #define tblselw_mask_height 16 -static unsigned char tblselw_mask_bits[] = { +const unsigned char tblselw_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x70, 0x00, 0x78, 0x00, 0xfc, 0x7f, 0xfe, 0x7f, 0xff, 0x7f, 0xfe, 0x7f, 0xfc, 0x7f, 0x78, 0x00, 0x70, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00 }; diff --git a/vcl/inc/unx/x11_cursors/vertcurs_curs.h b/vcl/inc/unx/x11_cursors/vertcurs_curs.h index 88cc660bad22..b0f10d5edc57 100644 --- a/vcl/inc/unx/x11_cursors/vertcurs_curs.h +++ b/vcl/inc/unx/x11_cursors/vertcurs_curs.h @@ -21,7 +21,7 @@ #define vertcurs_curs_height 16 #define vertcurs_curs_x_hot 8 #define vertcurs_curs_y_hot 8 -static unsigned char vertcurs_curs_bits[] = { +const unsigned char vertcurs_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x40, 0x02, 0x40, 0x06, 0x60, 0xfc, 0x3f, 0x06, 0x60, 0x02, 0x40, 0x02, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; diff --git a/vcl/inc/unx/x11_cursors/vertcurs_mask.h b/vcl/inc/unx/x11_cursors/vertcurs_mask.h index 0fbb5d99e5ad..3b989448f5fd 100644 --- a/vcl/inc/unx/x11_cursors/vertcurs_mask.h +++ b/vcl/inc/unx/x11_cursors/vertcurs_mask.h @@ -21,7 +21,7 @@ #define vertcurs_mask_height 16 #define vertcurs_mask_x_hot 8 #define vertcurs_mask_y_hot 8 -static unsigned char vertcurs_mask_bits[] = { +const unsigned char vertcurs_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xe0, 0x07, 0xe0, 0x0f, 0xf0, 0xff, 0xff, 0xfe, 0x7f, 0xff, 0xff, 0x0f, 0xf0, 0x07, 0xe0, 0x07, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; diff --git a/vcl/inc/unx/x11_cursors/vshear_curs.h b/vcl/inc/unx/x11_cursors/vshear_curs.h index 3e3859cf629a..0b175135335c 100644 --- a/vcl/inc/unx/x11_cursors/vshear_curs.h +++ b/vcl/inc/unx/x11_cursors/vshear_curs.h @@ -20,7 +20,7 @@ #define vshear_curs_height 32 #define vshear_curs_x_hot 15 #define vshear_curs_y_hot 15 -static unsigned char vshear_curs_bits[] = { +const unsigned char vshear_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x04, 0x00, diff --git a/vcl/inc/unx/x11_cursors/vshear_mask.h b/vcl/inc/unx/x11_cursors/vshear_mask.h index df7c51a9f9a8..bfe2d1d73cc5 100644 --- a/vcl/inc/unx/x11_cursors/vshear_mask.h +++ b/vcl/inc/unx/x11_cursors/vshear_mask.h @@ -18,7 +18,7 @@ */ #define vshear_mask_width 32 #define vshear_mask_height 32 -static unsigned char vshear_mask_bits[] = { +const unsigned char vshear_mask_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x0e, 0x00, 0x00, 0x70, 0x0e, 0x00, diff --git a/vcl/inc/unx/x11_cursors/wshide_curs.h b/vcl/inc/unx/x11_cursors/wshide_curs.h index 8f6d81541520..844503b68366 100644 --- a/vcl/inc/unx/x11_cursors/wshide_curs.h +++ b/vcl/inc/unx/x11_cursors/wshide_curs.h @@ -21,7 +21,7 @@ #define hidewhitespace_curs_height 16 #define hidewhitespace_curs_x_hot 0 #define hidewhitespace_curs_y_hot 10 -static unsigned char hidewhitespace_curs_bits[] = { +const unsigned char hidewhitespace_curs_bits[] = { 0x00, 0x01, 0x00, 0x01, 0xC0, 0x07, 0x80, 0x03, 0x00, 0x01, 0xFF, 0xFF, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0xFF, 0xFF, 0x00, 0x01, 0x80, 0x03, 0xC0, 0x07, 0x00, 0x01, 0x00, 0x01, }; diff --git a/vcl/inc/unx/x11_cursors/wshide_mask.h b/vcl/inc/unx/x11_cursors/wshide_mask.h index 50bd0c3f023f..329aa9f47c44 100644 --- a/vcl/inc/unx/x11_cursors/wshide_mask.h +++ b/vcl/inc/unx/x11_cursors/wshide_mask.h @@ -21,7 +21,7 @@ #define hidewhitespace_mask_height 16 #define hidewhitespace_mask_x_hot 0 #define hidewhitespace_mask_y_hot 10 -static unsigned char hidewhitespace_mask_bits[] = { +const unsigned char hidewhitespace_mask_bits[] = { 0x00, 0x01, 0x00, 0x01, 0xC0, 0x07, 0x80, 0x03, 0x00, 0x01, 0xFF, 0xFF, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x80, 0xFF, 0xFF, 0x00, 0x01, 0x80, 0x03, 0xC0, 0x07, 0x00, 0x01, 0x00, 0x01, }; diff --git a/vcl/inc/unx/x11_cursors/wsshow_curs.h b/vcl/inc/unx/x11_cursors/wsshow_curs.h index 8b30f6e8f4fb..cdeb35625adc 100644 --- a/vcl/inc/unx/x11_cursors/wsshow_curs.h +++ b/vcl/inc/unx/x11_cursors/wsshow_curs.h @@ -21,7 +21,7 @@ #define showwhitespace_curs_height 16 #define showwhitespace_curs_x_hot 0 #define showwhitespace_curs_y_hot 10 -static unsigned char showwhitespace_curs_bits[] = { +const unsigned char showwhitespace_curs_bits[] = { 0x00, 0x01, 0x80, 0x03, 0xC0, 0x07, 0x00, 0x01, 0xFF, 0xFF, 0x01, 0x81, 0x01, 0x81, 0x01, 0x81, 0x01, 0x81, 0x01, 0x81, 0x01, 0x81, 0xFF, 0xFF, 0x00, 0x01, 0xC0, 0x07, 0x80, 0x03, 0x00, 0x01, }; diff --git a/vcl/inc/unx/x11_cursors/wsshow_mask.h b/vcl/inc/unx/x11_cursors/wsshow_mask.h index bba14181d8e6..197c8af5b619 100644 --- a/vcl/inc/unx/x11_cursors/wsshow_mask.h +++ b/vcl/inc/unx/x11_cursors/wsshow_mask.h @@ -21,7 +21,7 @@ #define showwhitespace_mask_height 16 #define showwhitespace_mask_x_hot 0 #define showwhitespace_mask_y_hot 10 -static unsigned char showwhitespace_mask_bits[] = { +const unsigned char showwhitespace_mask_bits[] = { 0x00, 0x01, 0x80, 0x03, 0xC0, 0x07, 0x00, 0x01, 0xFF, 0xFF, 0x01, 0x81, 0x01, 0x81, 0x01, 0x81, 0x01, 0x81, 0x01, 0x81, 0x01, 0x81, 0xFF, 0xFF, 0x00, 0x01, 0xC0, 0x07, 0x80, 0x03, 0x00, 0x01, }; diff --git a/vcl/unx/generic/dtrans/copydata_curs.h b/vcl/unx/generic/dtrans/copydata_curs.h index 4cc36ebdebda..0edcd377e07f 100644 --- a/vcl/unx/generic/dtrans/copydata_curs.h +++ b/vcl/unx/generic/dtrans/copydata_curs.h @@ -20,7 +20,7 @@ #define copydata_curs_height 32 #define copydata_curs_x_hot 1 #define copydata_curs_y_hot 1 -static unsigned char copydata_curs_bits[] = { +const unsigned char copydata_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x01, 0x00, 0x00, diff --git a/vcl/unx/generic/dtrans/copydata_mask.h b/vcl/unx/generic/dtrans/copydata_mask.h index a3538c952288..37edbcc36c18 100644 --- a/vcl/unx/generic/dtrans/copydata_mask.h +++ b/vcl/unx/generic/dtrans/copydata_mask.h @@ -20,7 +20,7 @@ #define copydata_mask_height 32 #define copydata_mask_x_hot 1 #define copydata_mask_y_hot 1 -static unsigned char copydata_mask_bits[] = { +const unsigned char copydata_mask_bits[] = { 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x03, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, diff --git a/vcl/unx/generic/dtrans/linkdata_curs.h b/vcl/unx/generic/dtrans/linkdata_curs.h index 8a4e6db38736..dcf470893b3b 100644 --- a/vcl/unx/generic/dtrans/linkdata_curs.h +++ b/vcl/unx/generic/dtrans/linkdata_curs.h @@ -20,7 +20,7 @@ #define linkdata_curs_height 32 #define linkdata_curs_x_hot 1 #define linkdata_curs_y_hot 1 -static unsigned char linkdata_curs_bits[] = { +const unsigned char linkdata_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x01, 0x00, 0x00, diff --git a/vcl/unx/generic/dtrans/linkdata_mask.h b/vcl/unx/generic/dtrans/linkdata_mask.h index a1875a8e0adb..ae328d542043 100644 --- a/vcl/unx/generic/dtrans/linkdata_mask.h +++ b/vcl/unx/generic/dtrans/linkdata_mask.h @@ -20,7 +20,7 @@ #define linkdata_mask_height 32 #define linkdata_mask_x_hot 1 #define linkdata_mask_y_hot 1 -static unsigned char linkdata_mask_bits[] = { +const unsigned char linkdata_mask_bits[] = { 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x03, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, diff --git a/vcl/unx/generic/dtrans/movedata_curs.h b/vcl/unx/generic/dtrans/movedata_curs.h index b253ce70ca93..bb9c4d82f153 100644 --- a/vcl/unx/generic/dtrans/movedata_curs.h +++ b/vcl/unx/generic/dtrans/movedata_curs.h @@ -20,7 +20,7 @@ #define movedata_curs_height 32 #define movedata_curs_x_hot 1 #define movedata_curs_y_hot 1 -static unsigned char movedata_curs_bits[] = { +const unsigned char movedata_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x01, 0x00, 0x00, diff --git a/vcl/unx/generic/dtrans/movedata_mask.h b/vcl/unx/generic/dtrans/movedata_mask.h index d317b1556e57..dda778a8e5c8 100644 --- a/vcl/unx/generic/dtrans/movedata_mask.h +++ b/vcl/unx/generic/dtrans/movedata_mask.h @@ -20,7 +20,7 @@ #define movedata_mask_height 32 #define movedata_mask_x_hot 1 #define movedata_mask_y_hot 1 -static unsigned char movedata_mask_bits[] = { +const unsigned char movedata_mask_bits[] = { 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0x03, 0x00, 0x00, 0xff, 0x07, 0x00, 0x00, diff --git a/vcl/unx/generic/dtrans/nodrop_curs.h b/vcl/unx/generic/dtrans/nodrop_curs.h index 958257518052..dd97dfc2c01b 100644 --- a/vcl/unx/generic/dtrans/nodrop_curs.h +++ b/vcl/unx/generic/dtrans/nodrop_curs.h @@ -20,7 +20,7 @@ #define nodrop_curs_height 32 #define nodrop_curs_x_hot 9 #define nodrop_curs_y_hot 9 -static unsigned char nodrop_curs_bits[] = { +const unsigned char nodrop_curs_bits[] = { 0x00, 0x00, 0x00, 0x00, 0xc0, 0x0f, 0x00, 0x00, 0xf0, 0x3f, 0x00, 0x00, 0xf8, 0x7f, 0x00, 0x00, 0x7c, 0xf8, 0x00, 0x00, 0x1c, 0xfc, 0x00, 0x00, 0x1e, 0xfe, 0x01, 0x00, 0x0e, 0xdf, 0x01, 0x00, 0x8e, 0xcf, 0x01, 0x00, diff --git a/vcl/unx/generic/dtrans/nodrop_mask.h b/vcl/unx/generic/dtrans/nodrop_mask.h index 662a300645e1..57dc92a41bd9 100644 --- a/vcl/unx/generic/dtrans/nodrop_mask.h +++ b/vcl/unx/generic/dtrans/nodrop_mask.h @@ -20,7 +20,7 @@ #define nodrop_mask_height 32 #define nodrop_mask_x_hot 9 #define nodrop_mask_y_hot 9 -static unsigned char nodrop_mask_bits[] = { +const unsigned char nodrop_mask_bits[] = { 0xc0, 0x0f, 0x00, 0x00, 0xf0, 0x3f, 0x00, 0x00, 0xf8, 0x7f, 0x00, 0x00, 0xfc, 0xff, 0x00, 0x00, 0xfe, 0xff, 0x01, 0x00, 0x7e, 0xfe, 0x01, 0x00, 0x3f, 0xff, 0x03, 0x00, 0x9f, 0xff, 0x03, 0x00, 0xdf, 0xff, 0x03, 0x00, diff --git a/vcl/unx/gtk3/a11y/atktextattributes.cxx b/vcl/unx/gtk3/a11y/atktextattributes.cxx index 29b6acb515d6..02e20eda5930 100644 --- a/vcl/unx/gtk3/a11y/atktextattributes.cxx +++ b/vcl/unx/gtk3/a11y/atktextattributes.cxx @@ -116,7 +116,7 @@ enum ExportedAttribute } -static const char * ExportedTextAttributes[TEXT_ATTRIBUTE_LAST] = +const char * const ExportedTextAttributes[TEXT_ATTRIBUTE_LAST] = { "CharBackColor", // TEXT_ATTRIBUTE_BACKGROUND_COLOR "CharCaseMap", // TEXT_ATTRIBUTE_CASEMAP @@ -580,7 +580,7 @@ UnitString2CMM( uno::Any& rAny, const gchar * value ) /*****************************************************************************/ -static const gchar * bool_values[] = { "true", "false" }; +const gchar* const bool_values[] = { "true", "false" }; static gchar * Bool2String( const uno::Any& rAny ) @@ -739,7 +739,7 @@ String2Locale( uno::Any& rAny, const gchar * value ) /*****************************************************************************/ // @see http://www.w3.org/TR/2002/WD-css3-fonts-20020802/#font-effect-prop -static const gchar * relief[] = { "none", "emboss", "engrave" }; +const gchar* const relief[] = { "none", "emboss", "engrave" }; const gchar * const outline = "outline"; static gchar * @@ -774,7 +774,7 @@ enum DECORATION_LINE_THROUGH }; -static const gchar * decorations[] = { "none", "blink", "underline", "line-through" }; +const gchar* const decorations[] = { "none", "blink", "underline", "line-through" }; static gchar * get_text_decoration(const uno::Sequence< beans::PropertyValue >& rAttributeList, @@ -816,7 +816,7 @@ get_text_decoration(const uno::Sequence< beans::PropertyValue >& rAttributeList, // @see http://www.w3.org/TR/REC-CSS2/text.html#propdef-text-shadow -static const gchar * shadow_values[] = { "none", "black" }; +const gchar* const shadow_values[] = { "none", "black" }; static gchar * Bool2Shadow( const uno::Any& rAny ) diff --git a/writerperfect/source/common/DocumentHandler.cxx b/writerperfect/source/common/DocumentHandler.cxx index 28730ab5ee99..355a627d0e93 100644 --- a/writerperfect/source/common/DocumentHandler.cxx +++ b/writerperfect/source/common/DocumentHandler.cxx @@ -139,7 +139,7 @@ void DocumentHandler::startElement(const char* psName, for (int j = 0; j < 9; ++j) { // list of the encoded attributes followed by their lengths - static char const* listEncoded[9] + static char const* const listEncoded[9] = { "draw:name", "svg:font-family", "style:condition", "style:num-prefix", "style:num-suffix", "table:formula", "text:bullet-char", "text:label", "xlink:href" }; diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx index 42170c371e4d..3b36cc0e4cb8 100644 --- a/xmloff/source/style/xmlexppr.cxx +++ b/xmloff/source/style/xmlexppr.cxx @@ -565,7 +565,7 @@ std::vector<XMLPropertyState> SvXMLExportPropertyMapper::Filter_( || nEarliestODFVersionForExport == SvtSaveOptions::ODFSVER_FUTURE_EXTENDED); -e ... etc. - the rest is truncated