diff options
author | Christian Lippka <cl@openoffice.org> | 2001-05-10 13:39:24 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-05-10 13:39:24 +0000 |
commit | 313a09782183acfd9076ea0f2ee3de7141b52c50 (patch) | |
tree | c1e6d0f456e7b68feaa600042c7935e068c2980a /svx/source/unodraw | |
parent | a465b21ddca95dd7a288808a11a683e6c587fd96 (diff) |
#86677# fixed acces to style and model pool, was mixed up
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r-- | svx/source/unodraw/unomtabl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/unodraw/unomtabl.cxx b/svx/source/unodraw/unomtabl.cxx index 95fdedc621ee..9811d0ef2bbc 100644 --- a/svx/source/unodraw/unomtabl.cxx +++ b/svx/source/unodraw/unomtabl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unomtabl.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: cl $ $Date: 2001-05-02 15:26:30 $ + * last change: $Author: cl $ $Date: 2001-05-10 14:39:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -519,7 +519,7 @@ sal_Bool SAL_CALL SvxUnoMarkerTable::hasByName( const OUString& aName ) nStartCount = mpStylePool ? mpStylePool->GetItemCount( XATTR_LINESTART ) : 0; for( nSurrogate = 0; nSurrogate < nStartCount; nSurrogate++ ) { - pItem = (NameOrIndex*)mpModelPool->GetItem( XATTR_LINESTART, nSurrogate); + pItem = (NameOrIndex*)mpStylePool->GetItem( XATTR_LINESTART, nSurrogate); if( pItem && pItem->GetName() == aSearchName ) return sal_True; } @@ -527,7 +527,7 @@ sal_Bool SAL_CALL SvxUnoMarkerTable::hasByName( const OUString& aName ) USHORT nEndCount = mpModelPool ? mpModelPool->GetItemCount( XATTR_LINEEND ) : 0; for( nSurrogate = 0; nSurrogate < nEndCount; nSurrogate++ ) { - pItem = (NameOrIndex*)mpStylePool->GetItem( XATTR_LINEEND, nSurrogate); + pItem = (NameOrIndex*)mpModelPool->GetItem( XATTR_LINEEND, nSurrogate); if( pItem && pItem->GetName() == aSearchName ) return sal_True; } |