summaryrefslogtreecommitdiff
path: root/framework/source/fwe/helper/documentundoguard.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/fwe/helper/documentundoguard.cxx')
-rw-r--r--framework/source/fwe/helper/documentundoguard.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/fwe/helper/documentundoguard.cxx b/framework/source/fwe/helper/documentundoguard.cxx
index da80a48adac9..c4aac1619b1e 100644
--- a/framework/source/fwe/helper/documentundoguard.cxx
+++ b/framework/source/fwe/helper/documentundoguard.cxx
@@ -174,7 +174,7 @@ namespace framework
{
Reference< XUndoManagerSupplier > xUndoSupplier( i_undoSupplierComponent, UNO_QUERY );
if ( xUndoSupplier.is() )
- i_data.xUndoManager.set( xUndoSupplier->getUndoManager(), UNO_QUERY_THROW );
+ i_data.xUndoManager.set( xUndoSupplier->getUndoManager(), css::uno::UNO_SET_THROW );
if ( i_data.xUndoManager.is() )
i_data.pContextListener.set( new UndoManagerContextListener( i_data.xUndoManager ) );