diff options
Diffstat (limited to 'sw/inc/lineinfo.hxx')
-rw-r--r-- | sw/inc/lineinfo.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/inc/lineinfo.hxx b/sw/inc/lineinfo.hxx index 51d6a8c18c9a..91f5ac7712de 100644 --- a/sw/inc/lineinfo.hxx +++ b/sw/inc/lineinfo.hxx @@ -28,9 +28,6 @@ #define SW_LINEINFO_HXX #include "calbck.hxx" -//#ifndef _NUMRULE_HXX -//#include <numrule.hxx> -//#endif #include <editeng/numitem.hxx> #include "swdllapi.h" @@ -60,6 +57,8 @@ class SW_DLLPUBLIC SwLineNumberInfo : public SwClient //purpose of derivation fr sal_Bool bCountInFlys; //Count also within FlyFrames? sal_Bool bRestartEachPage; //Restart counting at the first paragraph of each page //(even on follows when paragraphs are splitted) +protected: + virtual void Modify( const SfxPoolItem*, const SfxPoolItem* ); public: SwLineNumberInfo(); @@ -100,7 +99,7 @@ public: sal_Bool IsRestartEachPage() const { return bRestartEachPage; } void SetRestartEachPage( sal_Bool b ) { bRestartEachPage = b; } - virtual void Modify( SfxPoolItem*, SfxPoolItem* ); + bool HasCharFormat() const { return GetRegisteredIn() != 0; } }; |