summaryrefslogtreecommitdiff
path: root/sc/inc/stlpool.hxx
diff options
context:
space:
mode:
authorJaskaran Singh <jvsg1303@gmail.com>2016-07-12 17:08:33 +0530
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-09-18 00:15:10 +0200
commit7911f21cd3e0deb6c1966dc97b8a5e5cf994d3af (patch)
tree3b8c663ca1e5043733c6e08e42f2b7e5f145c425 /sc/inc/stlpool.hxx
parent6fbd64d89794033d438a031da4b4f6d64af53afc (diff)
Add to a method to check if stlpool already has standard styles
Change-Id: I9173b0232d466a27cf8a7b35e0a9f0567b398115
Diffstat (limited to 'sc/inc/stlpool.hxx')
-rw-r--r--sc/inc/stlpool.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/stlpool.hxx b/sc/inc/stlpool.hxx
index 842ae88737c5..71552552cc25 100644
--- a/sc/inc/stlpool.hxx
+++ b/sc/inc/stlpool.hxx
@@ -49,6 +49,8 @@ public:
void CopyStyleFrom( ScStyleSheetPool* pSrcPool,
const OUString& rName, SfxStyleFamily eFamily );
+ bool HasStandardStyles() { return bHasStandardStyles; }
+
ScStyleSheet* FindCaseIns( const OUString& rName, SfxStyleFamily eFam );
virtual SfxStyleSheetBase& Make( const OUString&, SfxStyleFamily eFam,
@@ -67,6 +69,7 @@ protected:
private:
SfxStyleSheetBase* pActualStyleSheet;
ScDocument* pDoc;
+ bool bHasStandardStyles;
};
#endif // INCLUDED_SC_INC_STLPOOL_HXX