Kaydet (Commit) 4b373ef7 authored tarafından Thomas Arnhold's avatar Thomas Arnhold Kaydeden (comit) Stephan Bergmann

fdo#60724 change spelling error REMOVEABLE -> REMOVABLE II

Change-Id: I0057b9174af6a83f3fde0e27c3a91a4aeca95873
Signed-off-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 14e163b0
...@@ -90,7 +90,7 @@ public: ...@@ -90,7 +90,7 @@ public:
sal_Bool isMayBeDefault() const sal_Bool isMayBeDefault() const
{ return ((m_flags & AF_MAYBEDEFAULT) == AF_MAYBEDEFAULT); } { return ((m_flags & AF_MAYBEDEFAULT) == AF_MAYBEDEFAULT); }
sal_Bool isRemoveable() const sal_Bool isRemoveable() const
{ return ((m_flags & AF_REMOVEABLE) == AF_REMOVEABLE); } { return ((m_flags & AF_REMOVABLE) == AF_REMOVABLE); }
sal_Bool dumpBlob( sal_Bool dumpBlob(
typereg::Writer & rBlob, sal_uInt16 index, sal_uInt16 * methodIndex); typereg::Writer & rBlob, sal_uInt16 index, sal_uInt16 * methodIndex);
......
...@@ -87,7 +87,7 @@ AstScope* SAL_CALL declAsScope(AstDeclaration* pDecl); ...@@ -87,7 +87,7 @@ AstScope* SAL_CALL declAsScope(AstDeclaration* pDecl);
#define AF_TRANSIENT 0x0020 #define AF_TRANSIENT 0x0020
#define AF_MAYBEAMBIGUOUS 0x0040 #define AF_MAYBEAMBIGUOUS 0x0040
#define AF_MAYBEDEFAULT 0x0080 #define AF_MAYBEDEFAULT 0x0080
#define AF_REMOVEABLE 0x0100 #define AF_REMOVABLE 0x0100
#define AF_ATTRIBUTE 0x0200 #define AF_ATTRIBUTE 0x0200
#define AF_PROPERTY 0x0400 #define AF_PROPERTY 0x0400
......
...@@ -366,7 +366,7 @@ sal_Bool AstAttribute::dumpBlob( ...@@ -366,7 +366,7 @@ sal_Bool AstAttribute::dumpBlob(
} }
if (isRemoveable()) if (isRemoveable())
{ {
accessMode |= RT_ACCESS_REMOVEABLE; accessMode |= RT_ACCESS_REMOVABLE;
} }
OUString name(OStringToOUString(getLocalName(), RTL_TEXTENCODING_UTF8)); OUString name(OStringToOUString(getLocalName(), RTL_TEXTENCODING_UTF8));
......
...@@ -456,7 +456,7 @@ static OString flagToString(sal_uInt32 flag) ...@@ -456,7 +456,7 @@ static OString flagToString(sal_uInt32 flag)
flagStr += "'maybeambiguous'"; flagStr += "'maybeambiguous'";
if ( (flag & AF_MAYBEDEFAULT) == AF_MAYBEDEFAULT ) if ( (flag & AF_MAYBEDEFAULT) == AF_MAYBEDEFAULT )
flagStr += "'maybedefault'"; flagStr += "'maybedefault'";
if ( (flag & AF_REMOVEABLE) == AF_REMOVEABLE ) if ( (flag & AF_REMOVABLE) == AF_REMOVABLE )
flagStr += "'removable'"; flagStr += "'removable'";
if ( (flag & AF_ATTRIBUTE) == AF_ATTRIBUTE ) if ( (flag & AF_ATTRIBUTE) == AF_ATTRIBUTE )
flagStr += "'attribute'"; flagStr += "'attribute'";
......
...@@ -271,7 +271,7 @@ bool includes(AstDeclaration const * type1, AstDeclaration const * type2) { ...@@ -271,7 +271,7 @@ bool includes(AstDeclaration const * type1, AstDeclaration const * type2) {
%token IDL_PROPERTY %token IDL_PROPERTY
%token IDL_RAISES %token IDL_RAISES
%token IDL_READONLY %token IDL_READONLY
%token IDL_REMOVEABLE %token IDL_REMOVABLE
%token IDL_SERVICE %token IDL_SERVICE
%token IDL_SEQUENCE %token IDL_SEQUENCE
%token IDL_SINGLETON %token IDL_SINGLETON
...@@ -848,10 +848,10 @@ opt_attrflag : ...@@ -848,10 +848,10 @@ opt_attrflag :
idlc()->setParseState(PS_MayBeDefaultSeen); idlc()->setParseState(PS_MayBeDefaultSeen);
$$ = AF_MAYBEDEFAULT; $$ = AF_MAYBEDEFAULT;
} }
| IDL_REMOVEABLE | IDL_REMOVABLE
{ {
idlc()->setParseState(PS_RemoveableSeen); idlc()->setParseState(PS_RemoveableSeen);
$$ = AF_REMOVEABLE; $$ = AF_REMOVABLE;
} }
| error ']' | error ']'
{ {
......
...@@ -307,7 +307,7 @@ optional return IDL_OPTIONAL; ...@@ -307,7 +307,7 @@ optional return IDL_OPTIONAL;
property return IDL_PROPERTY; property return IDL_PROPERTY;
raises return IDL_RAISES; raises return IDL_RAISES;
readonly return IDL_READONLY; readonly return IDL_READONLY;
removable return IDL_REMOVEABLE; removable return IDL_REMOVABLE;
service return IDL_SERVICE; service return IDL_SERVICE;
sequence return IDL_SEQUENCE; sequence return IDL_SEQUENCE;
singleton return IDL_SINGLETON; singleton return IDL_SINGLETON;
......
...@@ -194,7 +194,7 @@ interface I1 { ...@@ -194,7 +194,7 @@ interface I1 {
EXPECT FAILURE "attribute.tests 23": EXPECT FAILURE "attribute.tests 23":
interface I1 { interface I1 {
[attribute, removeable] long a; [attribute, removable] long a;
}; };
......
...@@ -118,7 +118,7 @@ namespace comphelper ...@@ -118,7 +118,7 @@ namespace comphelper
@throws UnknownPropertyException @throws UnknownPropertyException
if the bag does not contain a property with the given name if the bag does not contain a property with the given name
@throws NotRemoveableException @throws NotRemoveableException
if the property with the given name is not removeable, as indicated if the property with the given name is not removable, as indicated
by the property attributes used in a previous <code>addProperty</code> by the property attributes used in a previous <code>addProperty</code>
call. call.
*/ */
......
...@@ -123,7 +123,7 @@ enum RTTypeClass { ...@@ -123,7 +123,7 @@ enum RTTypeClass {
@see RT_ACCESS_TRANSIENT @see RT_ACCESS_TRANSIENT
@see RT_ACCESS_MAYBEAMBIGUOUS @see RT_ACCESS_MAYBEAMBIGUOUS
@see RT_ACCESS_MAYBEDEFAULT @see RT_ACCESS_MAYBEDEFAULT
@see RT_ACCESS_REMOVEABLE @see RT_ACCESS_REMOVABLE
@see RT_ACCESS_ATTRIBUTE @see RT_ACCESS_ATTRIBUTE
@see RT_ACCESS_PROPERTY @see RT_ACCESS_PROPERTY
@see RT_ACCESS_CONST @see RT_ACCESS_CONST
...@@ -153,7 +153,7 @@ typedef sal_uInt16 RTFieldAccess; ...@@ -153,7 +153,7 @@ typedef sal_uInt16 RTFieldAccess;
/// @see com::sun::star::beans::PropertyAttribute /// @see com::sun::star::beans::PropertyAttribute
#define RT_ACCESS_MAYBEDEFAULT 0x0080 #define RT_ACCESS_MAYBEDEFAULT 0x0080
/// @see com::sun::star::beans::PropertyAttribute /// @see com::sun::star::beans::PropertyAttribute
#define RT_ACCESS_REMOVEABLE 0x0100 #define RT_ACCESS_REMOVABLE 0x0100
/// @see com::sun::star::beans::PropertyAttribute /// @see com::sun::star::beans::PropertyAttribute
#define RT_ACCESS_ATTRIBUTE 0x0200 #define RT_ACCESS_ATTRIBUTE 0x0200
/// specifies that the field is a property /// specifies that the field is a property
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#define IMG_WRITER (IMAGELIST_START + 86) #define IMG_WRITER (IMAGELIST_START + 86)
#define IMG_WRITERTEMPLATE (IMAGELIST_START + 87) #define IMG_WRITERTEMPLATE (IMAGELIST_START + 87)
#define IMG_FIXEDDEV (IMAGELIST_START + 88) #define IMG_FIXEDDEV (IMAGELIST_START + 88)
#define IMG_REMOVEABLEDEV (IMAGELIST_START + 89) #define IMG_REMOVABLEDEV (IMAGELIST_START + 89)
#define IMG_CDROMDEV (IMAGELIST_START + 90) #define IMG_CDROMDEV (IMAGELIST_START + 90)
#define IMG_NETWORKDEV (IMAGELIST_START + 91) #define IMG_NETWORKDEV (IMAGELIST_START + 91)
#define IMG_TABLE (IMAGELIST_START + 112) #define IMG_TABLE (IMAGELIST_START + 112)
......
...@@ -600,7 +600,7 @@ void PADialog::RemDevice() ...@@ -600,7 +600,7 @@ void PADialog::RemDevice()
if( ! m_rPIManager.removePrinter( aPrinter ) ) if( ! m_rPIManager.removePrinter( aPrinter ) )
{ {
String aText( PaResId( RID_ERR_PRINTERNOTREMOVEABLE ) ); String aText( PaResId( RID_ERR_PRINTERNOTREMOVABLE ) );
aText.SearchAndReplace( String( "%s" ), aPrinter ); aText.SearchAndReplace( String( "%s" ), aPrinter );
ErrorBox aBox( this, WB_OK | WB_DEF_OK, aText ); ErrorBox aBox( this, WB_OK | WB_DEF_OK, aText );
aBox.Execute(); aBox.Execute();
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
#define RID_PA_TXT_TESTPAGE_PRINTED 1005 #define RID_PA_TXT_TESTPAGE_PRINTED 1005
#define RID_ERR_PRINTERNOTREMOVEABLE 1006 #define RID_ERR_PRINTERNOTREMOVABLE 1006
#define RID_ERR_NOWRITE 1009 #define RID_ERR_NOWRITE 1009
#define RID_ERR_NOPRINTER 1013 #define RID_ERR_NOPRINTER 1013
#define RID_QRY_PRTNAME 1022 #define RID_QRY_PRTNAME 1022
......
...@@ -453,7 +453,7 @@ String RID_ERR_REMOVEDEFAULTDRIVER ...@@ -453,7 +453,7 @@ String RID_ERR_REMOVEDEFAULTDRIVER
Text [ en-US ] = "The driver \"%s\" is used by your default printer. Therefore, it cannot be removed."; Text [ en-US ] = "The driver \"%s\" is used by your default printer. Therefore, it cannot be removed.";
}; };
String RID_ERR_PRINTERNOTREMOVEABLE String RID_ERR_PRINTERNOTREMOVABLE
{ {
Text [ en-US ] = "The printer %s cannot be removed."; Text [ en-US ] = "The printer %s cannot be removed.";
}; };
......
...@@ -246,7 +246,7 @@ public class _XPropertyContainer extends MultiMethodTest { ...@@ -246,7 +246,7 @@ public class _XPropertyContainer extends MultiMethodTest {
exp=false; exp=false;
try { try {
log.println("remove not removeable property '" + propertyNotRemovable + "'") ; log.println("remove not removable property '" + propertyNotRemovable + "'") ;
oObj.removeProperty(propertyNotRemovable); oObj.removeProperty(propertyNotRemovable);
} catch (NotRemoveableException ex) { } catch (NotRemoveableException ex) {
log.println("OK: expected Exception was thrown: " + ex.toString()); log.println("OK: expected Exception was thrown: " + ex.toString());
......
...@@ -104,7 +104,7 @@ void printFieldOrReferenceFlags(RTFieldAccess flags) { ...@@ -104,7 +104,7 @@ void printFieldOrReferenceFlags(RTFieldAccess flags) {
printFieldOrReferenceFlag( printFieldOrReferenceFlag(
&flags, RT_ACCESS_MAYBEDEFAULT, "maybedefault", &first); &flags, RT_ACCESS_MAYBEDEFAULT, "maybedefault", &first);
printFieldOrReferenceFlag( printFieldOrReferenceFlag(
&flags, RT_ACCESS_REMOVEABLE, "removeable", &first); &flags, RT_ACCESS_REMOVABLE, "removable", &first);
printFieldOrReferenceFlag( printFieldOrReferenceFlag(
&flags, RT_ACCESS_ATTRIBUTE, "attribute", &first); &flags, RT_ACCESS_ATTRIBUTE, "attribute", &first);
printFieldOrReferenceFlag( printFieldOrReferenceFlag(
......
...@@ -344,7 +344,7 @@ static OString getFieldAccess(RTFieldAccess fieldAccess) ...@@ -344,7 +344,7 @@ static OString getFieldAccess(RTFieldAccess fieldAccess)
{ {
ret += OString(ret.isEmpty() ? "MAYBEDEFAULT" : ",MAYBEDEFAULT"); ret += OString(ret.isEmpty() ? "MAYBEDEFAULT" : ",MAYBEDEFAULT");
} }
if ( (fieldAccess & RT_ACCESS_REMOVEABLE) == RT_ACCESS_REMOVEABLE ) if ( (fieldAccess & RT_ACCESS_REMOVABLE) == RT_ACCESS_REMOVABLE )
{ {
ret += OString(ret.isEmpty() ? "REMOVABLE" : ",REMOVABLE"); ret += OString(ret.isEmpty() ? "REMOVABLE" : ",REMOVABLE");
} }
......
...@@ -40,7 +40,7 @@ enum ...@@ -40,7 +40,7 @@ enum
ROW_TARGET_URL, ROW_TARGET_URL,
ROW_IS_HIDDEN, ROW_IS_HIDDEN,
ROW_IS_REMOTE, ROW_IS_REMOTE,
ROW_IS_REMOVEABLE ROW_IS_REMOVABLE
}; };
TemplateRemoteView::TemplateRemoteView (Window *pParent, WinBits nWinStyle, bool bDisableTransientChildren) TemplateRemoteView::TemplateRemoteView (Window *pParent, WinBits nWinStyle, bool bDisableTransientChildren)
......
...@@ -258,7 +258,7 @@ ServiceTypeDescriptionImpl::getProperties() ...@@ -258,7 +258,7 @@ ServiceTypeDescriptionImpl::getProperties()
nAttribs |= beans::PropertyAttribute::MAYBEAMBIGUOUS; nAttribs |= beans::PropertyAttribute::MAYBEAMBIGUOUS;
if ( nFlags & RT_ACCESS_MAYBEDEFAULT ) if ( nFlags & RT_ACCESS_MAYBEDEFAULT )
nAttribs |= beans::PropertyAttribute::MAYBEDEFAULT; nAttribs |= beans::PropertyAttribute::MAYBEDEFAULT;
if ( nFlags & RT_ACCESS_REMOVEABLE ) if ( nFlags & RT_ACCESS_REMOVABLE )
nAttribs |= beans::PropertyAttribute::REMOVABLE; nAttribs |= beans::PropertyAttribute::REMOVABLE;
OSL_ENSURE( !(nFlags & RT_ACCESS_PROPERTY), OSL_ENSURE( !(nFlags & RT_ACCESS_PROPERTY),
......
...@@ -50,7 +50,7 @@ namespace svt ...@@ -50,7 +50,7 @@ namespace svt
#define ROW_IS_HIDDEN 7 #define ROW_IS_HIDDEN 7
#define ROW_IS_VOLUME 8 #define ROW_IS_VOLUME 8
#define ROW_IS_REMOTE 9 #define ROW_IS_REMOTE 9
#define ROW_IS_REMOVEABLE 10 #define ROW_IS_REMOVABLE 10
#define ROW_IS_FLOPPY 11 #define ROW_IS_FLOPPY 11
#define ROW_IS_COMPACTDISC 12 #define ROW_IS_COMPACTDISC 12
...@@ -244,7 +244,7 @@ namespace svt ...@@ -244,7 +244,7 @@ namespace svt
pData->mbIsFolder = xRow->getBoolean( ROW_IS_FOLDER ) && !xRow->wasNull(); pData->mbIsFolder = xRow->getBoolean( ROW_IS_FOLDER ) && !xRow->wasNull();
pData->mbIsVolume = xRow->getBoolean( ROW_IS_VOLUME ) && !xRow->wasNull(); pData->mbIsVolume = xRow->getBoolean( ROW_IS_VOLUME ) && !xRow->wasNull();
pData->mbIsRemote = xRow->getBoolean( ROW_IS_REMOTE ) && !xRow->wasNull(); pData->mbIsRemote = xRow->getBoolean( ROW_IS_REMOTE ) && !xRow->wasNull();
pData->mbIsRemoveable = xRow->getBoolean( ROW_IS_REMOVEABLE ) && !xRow->wasNull(); pData->mbIsRemoveable = xRow->getBoolean( ROW_IS_REMOVABLE ) && !xRow->wasNull();
pData->mbIsFloppy = xRow->getBoolean( ROW_IS_FLOPPY ) && !xRow->wasNull(); pData->mbIsFloppy = xRow->getBoolean( ROW_IS_FLOPPY ) && !xRow->wasNull();
pData->mbIsCompactDisc = xRow->getBoolean( ROW_IS_COMPACTDISC ) && !xRow->wasNull(); pData->mbIsCompactDisc = xRow->getBoolean( ROW_IS_COMPACTDISC ) && !xRow->wasNull();
pData->SetNewTitle( xRow->getString( ROW_TITLE ) ); pData->SetNewTitle( xRow->getString( ROW_TITLE ) );
......
...@@ -339,7 +339,7 @@ static sal_uInt16 GetFolderImageId_Impl( const String& rURL ) ...@@ -339,7 +339,7 @@ static sal_uInt16 GetFolderImageId_Impl( const String& rURL )
else if ( aVolumeInfo.m_bIsCompactDisc ) else if ( aVolumeInfo.m_bIsCompactDisc )
nRet = IMG_CDROMDEV; nRet = IMG_CDROMDEV;
else if ( aVolumeInfo.m_bIsRemoveable ) else if ( aVolumeInfo.m_bIsRemoveable )
nRet = IMG_REMOVEABLEDEV; nRet = IMG_REMOVABLEDEV;
else if ( aVolumeInfo.m_bIsVolume ) else if ( aVolumeInfo.m_bIsVolume )
nRet = IMG_FIXEDDEV; nRet = IMG_FIXEDDEV;
} }
...@@ -629,7 +629,7 @@ Image SvFileInformationManager::GetFolderImage( const svtools::VolumeInfo& rInfo ...@@ -629,7 +629,7 @@ Image SvFileInformationManager::GetFolderImage( const svtools::VolumeInfo& rInfo
else if ( rInfo.m_bIsCompactDisc ) else if ( rInfo.m_bIsCompactDisc )
nImage = IMG_CDROMDEV; nImage = IMG_CDROMDEV;
else if ( rInfo.m_bIsRemoveable || rInfo.m_bIsFloppy ) else if ( rInfo.m_bIsRemoveable || rInfo.m_bIsFloppy )
nImage = IMG_REMOVEABLEDEV; nImage = IMG_REMOVABLEDEV;
else if ( rInfo.m_bIsVolume ) else if ( rInfo.m_bIsVolume )
nImage = IMG_FIXEDDEV; nImage = IMG_FIXEDDEV;
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
IMG_PCT ; \ IMG_PCT ; \
IMG_PCX ; \ IMG_PCX ; \
IMG_PNG ; \ IMG_PNG ; \
IMG_REMOVEABLEDEV ; \ IMG_REMOVABLEDEV ; \
IMG_SGF ; \ IMG_SGF ; \
IMG_SGV ; \ IMG_SGV ; \
IMG_SIM ; \ IMG_SIM ; \
......
...@@ -564,7 +564,7 @@ rtl::Reference< Entity > readEntity( ...@@ -564,7 +564,7 @@ rtl::Reference< Entity > readEntity(
attrs |= AccumulationBasedServiceEntity::Property:: attrs |= AccumulationBasedServiceEntity::Property::
ATTRIBUTE_MAYBE_DEFAULT; ATTRIBUTE_MAYBE_DEFAULT;
} }
if ((acc & RT_ACCESS_REMOVEABLE) != 0) { if ((acc & RT_ACCESS_REMOVABLE) != 0) {
attrs |= AccumulationBasedServiceEntity::Property:: attrs |= AccumulationBasedServiceEntity::Property::
ATTRIBUTE_REMOVABLE; ATTRIBUTE_REMOVABLE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment