diff options
Diffstat (limited to 'chart2/source/controller/main/UndoCommandDispatch.cxx')
-rw-r--r-- | chart2/source/controller/main/UndoCommandDispatch.cxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/chart2/source/controller/main/UndoCommandDispatch.cxx b/chart2/source/controller/main/UndoCommandDispatch.cxx index 88e700aaa6c0..f170d04778ea 100644 --- a/chart2/source/controller/main/UndoCommandDispatch.cxx +++ b/chart2/source/controller/main/UndoCommandDispatch.cxx @@ -68,17 +68,9 @@ void UndoCommandDispatch::fireStatusEvent( const bool bFireAll = rURL.isEmpty(); uno::Any aUndoState, aRedoState; if( m_xUndoManager->isUndoPossible()) - { - // using assignment for broken gcc 3.3 - OUString aUndo = SvtResId( STR_UNDO ).toString(); - aUndoState <<= ( aUndo + m_xUndoManager->getCurrentUndoActionTitle()); - } + aUndoState <<= ( SVT_RESSTR( STR_UNDO ) + m_xUndoManager->getCurrentUndoActionTitle()); if( m_xUndoManager->isRedoPossible()) - { - // using assignment for broken gcc 3.3 - OUString aRedo = SvtResId( STR_REDO ).toString(); - aRedoState <<= ( aRedo + m_xUndoManager->getCurrentRedoActionTitle()); - } + aRedoState <<= ( SVT_RESSTR( STR_REDO ) + m_xUndoManager->getCurrentRedoActionTitle()); if( bFireAll || rURL == ".uno:Undo" ) fireStatusEventForURL( ".uno:Undo", aUndoState, m_xUndoManager->isUndoPossible(), xSingleListener ); |