summaryrefslogtreecommitdiff
path: root/sw/inc/tgrditem.hxx
diff options
context:
space:
mode:
authorFrank Meies <fme@openoffice.org>2002-02-06 15:07:13 +0000
committerFrank Meies <fme@openoffice.org>2002-02-06 15:07:13 +0000
commit6be042887bb1a48efc287b34ec6fe7b152ba7495 (patch)
tree53ae3b416b453e94d84543611120aaa24a3f33de /sw/inc/tgrditem.hxx
parent57aa289546978b0f92d3241cf6d24930a6f0dda4 (diff)
#96678# paragraph snap to grid item
Diffstat (limited to 'sw/inc/tgrditem.hxx')
-rw-r--r--sw/inc/tgrditem.hxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sw/inc/tgrditem.hxx b/sw/inc/tgrditem.hxx
index 4bf6fe9fff71..e6b576b2a561 100644
--- a/sw/inc/tgrditem.hxx
+++ b/sw/inc/tgrditem.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tgrditem.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: fme $ $Date: 2002-01-31 10:22:29 $
+ * last change: $Author: fme $ $Date: 2002-02-06 16:04:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -131,5 +131,10 @@ public:
void SetDisplayGrid( BOOL bNew ) { bDisplayGrid = bNew; }
};
+inline const SwTextGridItem &SwAttrSet::GetTextGrid(BOOL bInP) const
+ { return (const SwTextGridItem&)Get( RES_TEXTGRID, bInP ); }
+inline const SwTextGridItem &SwFmt::GetTextGrid(BOOL bInP) const
+ { return (const SwTextGridItem&)aSet.Get( RES_TEXTGRID, bInP ); }
+
#endif