summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-02-01 11:00:54 +0100
committerLuboš Luňák <l.lunak@collabora.com>2020-02-01 20:12:21 +0100
commit69e0d871ec1de2260f9213d3113464155eac173c (patch)
tree8e2d70bcd7eaef2c0dec275dd89050bf499e17b9 /basic
parent961f7e8ec8ef188c361b2b20b60b95e78ecccd33 (diff)
make update_pch also consider files in <module>/src/**/inc
With --enable-pch=full there's not much difference between a "public" header in <module>/inc and a private one in <module>/src/somewhere/inc . And since the script searches recursively, this apparently helps to find even more headers for lower pch levels. Change-Id: I8483d0aa5b4fea5a59107c20a8aa5f1ef694af0a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87799 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/inc/pch/precompiled_sb.hxx45
-rw-r--r--basic/source/classes/sb.cxx7
2 files changed, 41 insertions, 11 deletions
diff --git a/basic/inc/pch/precompiled_sb.hxx b/basic/inc/pch/precompiled_sb.hxx
index 203b7562b7f6..dfbb81021c30 100644
--- a/basic/inc/pch/precompiled_sb.hxx
+++ b/basic/inc/pch/precompiled_sb.hxx
@@ -13,7 +13,7 @@
manual changes will be rewritten by the next run of update_pch.sh (which presumably
also fixes all possible problems, so it's usually better to use it).
- Generated on 2019-10-17 15:13:54 using:
+ Generated on 2020-02-01 10:57:25 using:
./bin/update_pch basic sb --cutoff=2 --exclude:system --exclude:module --include:local
If after updating build fails, use the following command to locate conflicting headers:
@@ -27,10 +27,8 @@
#include <ostream>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <vector>
-#include <o3tl/optional.hxx>
-#include <boost/property_tree/ptree.hpp>
+#include <boost/property_tree/ptree_fwd.hpp>
#endif // PCH_LEVEL >= 1
#if PCH_LEVEL >= 2
#include <osl/file.hxx>
@@ -39,7 +37,6 @@
#include <osl/time.h>
#include <rtl/character.hxx>
#include <rtl/math.hxx>
-#include <rtl/strbuf.hxx>
#include <rtl/string.hxx>
#include <rtl/textenc.h>
#include <rtl/ustrbuf.hxx>
@@ -48,14 +45,33 @@
#include <sal/log.hxx>
#include <sal/saldllapi.h>
#include <sal/types.h>
+#include <vcl/bitmap.hxx>
+#include <vcl/cairo.hxx>
+#include <vcl/devicecoordinate.hxx>
#include <vcl/dllapi.h>
#include <vcl/errcode.hxx>
+#include <vcl/font.hxx>
+#include <vcl/mapmod.hxx>
+#include <vcl/metaactiontypes.hxx>
+#include <vcl/outdev.hxx>
+#include <vcl/outdevmap.hxx>
+#include <vcl/outdevstate.hxx>
+#include <vcl/region.hxx>
+#include <vcl/salnativewidgets.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
+#include <vcl/vclreferencebase.hxx>
+#include <vcl/wall.hxx>
#include <vcl/weld.hxx>
#endif // PCH_LEVEL >= 2
#if PCH_LEVEL >= 3
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#include <basegfx/color/bcolor.hxx>
+#include <basegfx/numeric/ftools.hxx>
+#include <basegfx/polygon/b2dpolypolygon.hxx>
+#include <basegfx/vector/b2enums.hxx>
+#include <com/sun/star/drawing/LineCap.hpp>
+#include <com/sun/star/uno/Any.hxx>
+#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <comphelper/processfactory.hxx>
@@ -64,16 +80,25 @@
#include <o3tl/char16_t2wchar_t.hxx>
#include <o3tl/cow_wrapper.hxx>
#include <o3tl/float_int_conversion.hxx>
+#include <o3tl/safeint.hxx>
+#include <o3tl/typed_flags_set.hxx>
#include <svl/SfxBroadcaster.hxx>
#include <svl/zforlist.hxx>
+#include <tools/color.hxx>
#include <tools/debug.hxx>
+#include <tools/gen.hxx>
#include <tools/link.hxx>
+#include <tools/mapunit.hxx>
+#include <tools/poly.hxx>
+#include <tools/ref.hxx>
+#include <tools/solar.h>
#include <tools/stream.hxx>
#include <tools/toolsdllapi.h>
#include <tools/urlobj.hxx>
#include <tools/wintypes.hxx>
#include <unotools/charclass.hxx>
-#include <unotools/resmgr.hxx>
+#include <unotools/fontdefs.hxx>
+#include <unotools/syslocale.hxx>
#include <unotools/unotoolsdllapi.h>
#endif // PCH_LEVEL >= 3
#if PCH_LEVEL >= 4
@@ -90,7 +115,13 @@
#include <basic/sbxobj.hxx>
#include <basic/sbxprop.hxx>
#include <basic/sbxvar.hxx>
+#include <date.hxx>
+#include <iosys.hxx>
+#include <rtlproto.hxx>
+#include <runtime.hxx>
+#include <sbintern.hxx>
#include <sbobjmod.hxx>
+#include <sbunoobj.hxx>
#include <sbxbase.hxx>
#endif // PCH_LEVEL >= 4
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index 12f2e2bea8c2..fb80efdcb39a 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -51,8 +51,7 @@
using namespace ::com::sun::star::script;
-
-#define RTLNAME "@SBRTL"
+#define SB_RTLNAME "@SBRTL"
// i#i68894#
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -935,7 +934,7 @@ StarBASIC::StarBASIC( StarBASIC* p, bool bIsDocBasic )
GetSbData()->pUnoFac.reset( new SbUnoFactory );
AddFactory( GetSbData()->pUnoFac.get() );
}
- pRtl = new SbiStdObject(RTLNAME, this );
+ pRtl = new SbiStdObject(SB_RTLNAME, this );
// Search via StarBasic is always global
SetFlag( SbxFlagBits::GlobalSearch );
pVBAGlobals = nullptr;
@@ -1276,7 +1275,7 @@ SbxVariable* StarBASIC::Find( const OUString& rName, SbxClassType t )
{
if( t == SbxClassType::DontCare || t == SbxClassType::Object )
{
- if( rName.equalsIgnoreAsciiCase( RTLNAME ) )
+ if( rName.equalsIgnoreAsciiCase( SB_RTLNAME ) )
{
pRes = pRtl.get();
}