summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/UndoCommandDispatch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/main/UndoCommandDispatch.cxx')
-rw-r--r--chart2/source/controller/main/UndoCommandDispatch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/UndoCommandDispatch.cxx b/chart2/source/controller/main/UndoCommandDispatch.cxx
index f1dbf032ea3c..4c29848813ed 100644
--- a/chart2/source/controller/main/UndoCommandDispatch.cxx
+++ b/chart2/source/controller/main/UndoCommandDispatch.cxx
@@ -111,7 +111,7 @@ void SAL_CALL UndoCommandDispatch::dispatch(
SolarMutexGuard aSolarGuard;
try
{
- if( URL.Path.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Undo" )))
+ if ( URL.Path == "Undo" )
m_xUndoManager->undo();
else
m_xUndoManager->redo();