summaryrefslogtreecommitdiff
path: root/basic/source/inc/codegen.hxx
diff options
context:
space:
mode:
authorGergo Mocsi <gmocsi91@gmail.com>2013-07-07 19:43:05 +0200
committerGergo Mocsi <gmocsi91@gmail.com>2013-09-02 18:16:44 +0200
commit5beb4be54cf296e3895a8849072f1892841aec75 (patch)
tree8ac72dbf48a4a3236b1d6835ee8af48aff50115f /basic/source/inc/codegen.hxx
parent5b9840955baa40b22fa31b8ecccecaa71d25ce94 (diff)
GSOC work week 5, some recent fixes
This week I've managed to fix the ListBox appearance. Also, I've modified the code: it gets the data on insert/remove/change, and gets updated only when the dot is pressed. This makes the data to be up-to-date. Next, I wrote a Split(OUString , char) function to do the nested reflection (It works, but it will need some tweaks later). Also, code generation is disabled for code completition (just a boolean value, maybe it could be done in a more "elegant" way, like the error supression). Change-Id: I43d250c0a065351950ac6424dcd88266d70bcef3
Diffstat (limited to 'basic/source/inc/codegen.hxx')
-rw-r--r--basic/source/inc/codegen.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/basic/source/inc/codegen.hxx b/basic/source/inc/codegen.hxx
index 246ff167ce79..3cdd27c21710 100644
--- a/basic/source/inc/codegen.hxx
+++ b/basic/source/inc/codegen.hxx
@@ -24,6 +24,7 @@ class SbiParser;
class SbModule;
#include "opcodes.hxx"
#include "buffer.hxx"
+#include <svtools/miscopt.hxx>
class SbiCodeGen {
SbiParser* pParser; // for error messages, line, column etc.
@@ -32,6 +33,7 @@ class SbiCodeGen {
short nLine, nCol; // for stmnt command
short nForLevel; // #29955
bool bStmnt; // true: statement-opcode is pending
+ SvtMiscOptions aMiscOptions;
public:
SbiCodeGen( SbModule&, SbiParser*, short );
SbiParser* GetParser() { return pParser; }