summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorChristina Rossmanith <ChrRossmanith@web.de>2011-04-19 22:11:07 +0200
committerChristina Rossmanith <ChrRossmanith@web.de>2011-04-30 17:43:17 +0200
commit9cc6dfd98fbdc00e7eb099292b3be5caf7535291 (patch)
tree1b4d20878c2a02b707632ce0951aca78f8a3edad /ucb/source
parentce6738ec7b674dc0ab6202d6f8ae252cfdd8c328 (diff)
remove Attribute_XXX in favor of osl_File_Attribute_XXX (desktop)
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/file/shell.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx
index 476248420f22..0c7c0f30953f 100644
--- a/ucb/source/ucp/file/shell.cxx
+++ b/ucb/source/ucp/file/shell.cxx
@@ -951,23 +951,23 @@ shell::setv( const rtl::OUString& aUnqPath,
if(err == osl::FileBase::E_None) {
if(values[i].Name == IsReadOnly)
{
- nAttributes &= ~(Attribute_OwnWrite |
- Attribute_GrpWrite |
- Attribute_OthWrite |
- Attribute_ReadOnly);
+ nAttributes &= ~(osl_File_Attribute_OwnWrite |
+ osl_File_Attribute_GrpWrite |
+ osl_File_Attribute_OthWrite |
+ osl_File_Attribute_ReadOnly);
if(value)
- nAttributes |= Attribute_ReadOnly;
+ nAttributes |= osl_File_Attribute_ReadOnly;
else
nAttributes |= (
- Attribute_OwnWrite |
- Attribute_GrpWrite |
- Attribute_OthWrite);
+ osl_File_Attribute_OwnWrite |
+ osl_File_Attribute_GrpWrite |
+ osl_File_Attribute_OthWrite);
}
else if(values[i].Name == IsHidden)
{
- nAttributes &= ~(Attribute_Hidden);
+ nAttributes &= ~(osl_File_Attribute_Hidden);
if(value)
- nAttributes |= Attribute_Hidden;
+ nAttributes |= osl_File_Attribute_Hidden;
}
err = osl::File::setAttributes(
aUnqPath,nAttributes);
@@ -2426,7 +2426,7 @@ shell::commit( const shell::ContentMap::iterator& it,
if( aFileStatus.isValid( osl_FileStatus_Mask_Attributes ) )
{
sal_uInt64 Attr = aFileStatus.getAttributes();
- sal_Bool readonly = ( Attr & Attribute_ReadOnly ) != 0;
+ sal_Bool readonly = ( Attr & osl_File_Attribute_ReadOnly ) != 0;
it1->setValue( uno::makeAny( readonly ) );
}
}
@@ -2437,7 +2437,7 @@ shell::commit( const shell::ContentMap::iterator& it,
if( aFileStatus.isValid( osl_FileStatus_Mask_Attributes ) )
{
sal_uInt64 Attr = aFileStatus.getAttributes();
- sal_Bool ishidden = ( Attr & Attribute_Hidden ) != 0;
+ sal_Bool ishidden = ( Attr & osl_File_Attribute_Hidden ) != 0;
it1->setValue( uno::makeAny( ishidden ) );
}
}