fix bug in FmFormShell::GetState
Found when attempting an enum conversion.
Not sure what effect this will have, it was introduced with
commit a0c7b2bc45
Author: Oliver Bolte <obo@openoffice.org>
Date: Tue Nov 16 10:24:21 2004 +0000
INTEGRATION: CWS eforms2 (1.48.52); FILE MERGED
which pushed a whole bunch of stuff together.
Change-Id: I571fc228c3c0e164aba261e49233ef68ba87e77d
Reviewed-on: https://gerrit.libreoffice.org/31491
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
8cc096b2f4
commit
69c3e6bf84
@@ -1027,7 +1027,7 @@ void FmFormShell::GetState(SfxItemSet &rSet)
|
||||
rSet.DisableItem( nWhich );
|
||||
else
|
||||
{
|
||||
if ( !GetImpl()->canConvertCurrentSelectionToControl( OBJ_FM_FIXEDTEXT ) )
|
||||
if ( !GetImpl()->canConvertCurrentSelectionToControl( SID_FM_CONVERTTO_FIXEDTEXT ) )
|
||||
// if it cannot be converted to a fixed text, it is no single control
|
||||
rSet.DisableItem( nWhich );
|
||||
}
|
||||
|
Reference in New Issue
Block a user