diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2016-10-22 21:03:30 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2016-10-25 18:07:27 -0400 |
commit | 12127e1eaf63fec008cba3fe705e23ba86a704f7 (patch) | |
tree | 3d97e87cf3c0b8dfac53032c379a2768c682d490 /sc/inc/formulalogger.hxx | |
parent | 662652d864c6d26096cfc7f650d80d1e80235bca (diff) |
Write nest levels in case of nested group calculations.
Change-Id: Ie2a94bf76ab28f792ff5684879365fda81c10e2b
Diffstat (limited to 'sc/inc/formulalogger.hxx')
-rw-r--r-- | sc/inc/formulalogger.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/inc/formulalogger.hxx b/sc/inc/formulalogger.hxx index bc547b97dc99..d8ce3a4fda2f 100644 --- a/sc/inc/formulalogger.hxx +++ b/sc/inc/formulalogger.hxx @@ -20,14 +20,17 @@ namespace sc { class FormulaLogger { std::unique_ptr<osl::File> mpLogFile; - OUString maGroupPrefix; std::vector<OUString> maMessages; + sal_Int32 mnNestLevel = 0; + void writeAscii( const char* s ); void writeAscii( const char* s, size_t n ); void write( const OUString& ou ); void write( sal_Int32 n ); + void writeNestLevel(); + public: static FormulaLogger& get(); @@ -45,7 +48,8 @@ public: GroupScope( const GroupScope& ) = delete; GroupScope& operator= ( const GroupScope& ) = delete; - GroupScope( FormulaLogger& rLogger, const OUString& rPrefix ); + GroupScope( FormulaLogger& rLogger, const OUString& rPrefix, const ScDocument& rDoc, const ScFormulaCell& rCell ); + GroupScope( GroupScope&& r ); ~GroupScope(); |