diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2001-04-10 15:58:02 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2001-04-10 15:58:02 +0000 |
commit | 27f0ce055774ccc7900119e1a7c181c4c7f53492 (patch) | |
tree | aa0b3d9fc835afe8a0ff0c3ba781a025cc1b407a /svx/source/tbxctrls/lboxctrl.cxx | |
parent | 8f53f740d8da76e7a398e778e0a72e5f5793ca71 (diff) |
Corrected to pass lvalue
Diffstat (limited to 'svx/source/tbxctrls/lboxctrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/lboxctrl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/tbxctrls/lboxctrl.cxx b/svx/source/tbxctrls/lboxctrl.cxx index c990842d7391..a1f347fe9271 100644 --- a/svx/source/tbxctrls/lboxctrl.cxx +++ b/svx/source/tbxctrls/lboxctrl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: lboxctrl.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: tl $ $Date: 2001-04-10 11:02:17 $ + * last change: $Author: vg $ $Date: 2001-04-10 16:58:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -350,7 +350,7 @@ SfxPopupWindow* SvxUndoControl::CreatePopupWindow() { DBG_ASSERT( SID_UNDO == GetId(), "mismatching ids" ); - SfxPoolItem* pState = 0; + const SfxPoolItem* pState = 0; SfxBindings &rBindings = GetBindings(); SfxDispatcher &rDispatch = *GetBindings().GetDispatcher(); SfxItemState eState = rDispatch.QueryState( SID_GETUNDOSTRINGS, pState ); @@ -422,7 +422,7 @@ SfxPopupWindow* SvxRedoControl::CreatePopupWindow() { DBG_ASSERT( SID_REDO == GetId(), "mismatching ids" ); - SfxPoolItem* pState = 0; + const SfxPoolItem* pState = 0; SfxBindings &rBindings = GetBindings(); SfxDispatcher &rDispatch = *GetBindings().GetDispatcher(); SfxItemState eState = rDispatch.QueryState( SID_GETREDOSTRINGS, pState ); |