Kaydet (Commit) 5271b8d3 authored tarafından Carsten Driesner's avatar Carsten Driesner

#111899# Fixed problem with slots that are state and function at the same time

üst f4cb522c
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: cmduicollector.cxx,v $ * $RCSfile: cmduicollector.cxx,v $
* *
* $Revision: 1.4 $ * $Revision: 1.5 $
* *
* last change: $Author: cd $ $Date: 2004-01-30 15:52:54 $ * last change: $Author: cd $ $Date: 2004-02-03 07:40:51 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -306,6 +306,7 @@ bool ReadCSVFile( const OUString& aCVSFileURL, MODULES eModule, const OUString& ...@@ -306,6 +306,7 @@ bool ReadCSVFile( const OUString& aCVSFileURL, MODULES eModule, const OUString&
OString aStatusState; OString aStatusState;
OString aToolbarState; OString aToolbarState;
OString aCmdName; OString aCmdName;
OString aSlotName;
sal_Int32 nIndex = 0; sal_Int32 nIndex = 0;
aID = aLine.getToken( 2, ',', nIndex ); aID = aLine.getToken( 2, ',', nIndex );
...@@ -313,7 +314,11 @@ bool ReadCSVFile( const OUString& aCVSFileURL, MODULES eModule, const OUString& ...@@ -313,7 +314,11 @@ bool ReadCSVFile( const OUString& aCVSFileURL, MODULES eModule, const OUString&
aMenuState = aLine.getToken( 0, ',', nIndex ); aMenuState = aLine.getToken( 0, ',', nIndex );
aStatusState = aLine.getToken( 0, ',', nIndex ); aStatusState = aLine.getToken( 0, ',', nIndex );
aToolbarState = aLine.getToken( 0, ',', nIndex ); aToolbarState = aLine.getToken( 0, ',', nIndex );
aCmdName = aLine.getToken( 20, ',', nIndex ); aCmdName = aLine.getToken( 18, ',', nIndex );
aSlotName = aLine.getToken( 1, ',', nIndex );
if ( aCmdName.getLength() == 0 )
aCmdName = aSlotName;
int nID = aID.toInt32(); int nID = aID.toInt32();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment