diff options
author | Daniel Rentz <dr@openoffice.org> | 2002-09-19 09:19:44 +0000 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2002-09-19 09:19:44 +0000 |
commit | d0c185b1f866a417ba79b6354f2510e76ece3d4a (patch) | |
tree | d6c75daf714b9ef2765c50d974991bacd0bb2849 /sc/inc/drwlayer.hxx | |
parent | 2d8bd229758438cceb45a06aed952274fb093862 (diff) |
#101779# optimized EnsureGraphicNames()
Diffstat (limited to 'sc/inc/drwlayer.hxx')
-rw-r--r-- | sc/inc/drwlayer.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx index 628379c57eff..49089ea6c0e0 100644 --- a/sc/inc/drwlayer.hxx +++ b/sc/inc/drwlayer.hxx @@ -2,9 +2,9 @@ * * $RCSfile: drwlayer.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: nn $ $Date: 2002-07-15 14:21:08 $ + * last change: $Author: dr $ $Date: 2002-09-19 10:19:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -198,7 +198,9 @@ public: static String GetVisibleName( SdrObject* pObj ); SdrObject* GetNamedObject( const String& rName, USHORT nId, USHORT& rFoundTab ) const; - String GetNewGraphicName() const; + // if pnCounter != NULL, the search for a name starts with this index + 1, + // and the index really used is returned. + String GetNewGraphicName( long* pnCounter = NULL ) const; void EnsureGraphicNames(); // Verankerung setzen und ermitteln |