diff options
author | Noel Power <noel.power@novell.com> | 2012-03-28 22:55:40 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2012-03-28 22:56:28 +0100 |
commit | 2cd77ac75ad16a0eb7ee2e3df30e5cb0950bf673 (patch) | |
tree | dddd544c44b8943aa127caabb76da9665eec0592 /sc/source/filter/inc/workbookhelper.hxx | |
parent | 3043cc87ad5570eaea404f220e42547b5efa7713 (diff) |
don't use uno when importing styles ( xlsx,xlsm) )
Attempt to move away from uno calls, added AVOID_UNO define in sc/source/filter/inc/workbookhelper.hxx to aid with transition ( AVOID_UNO = 0 runs the old code and uses the uno api )
Diffstat (limited to 'sc/source/filter/inc/workbookhelper.hxx')
-rw-r--r-- | sc/source/filter/inc/workbookhelper.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/filter/inc/workbookhelper.hxx b/sc/source/filter/inc/workbookhelper.hxx index 1bdd96db0fce..8a048c5e687e 100644 --- a/sc/source/filter/inc/workbookhelper.hxx +++ b/sc/source/filter/inc/workbookhelper.hxx @@ -34,6 +34,9 @@ #include "oox/helper/storagebase.hxx" #include "biffhelper.hxx" +// use AVOID_UNO = 1 to prefer core calls over uno +#define AVOID_UNO 1 + namespace com { namespace sun { namespace star { namespace container { class XNameAccess; } namespace container { class XNameContainer; } |