tempfile.cxx (b5088357) | tempfile.cxx (24c56ab9) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 142 unchanged lines hidden (view full) --- 151 aRet ); 152 if ( aRet.getLength() ) 153 { 154 ::osl::DirectoryItem aItem; 155 sal_Int32 i = aRet.getLength(); 156 if ( aRet[i-1] == '/' ) 157 i--; 158 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 142 unchanged lines hidden (view full) --- 151 aRet ); 152 if ( aRet.getLength() ) 153 { 154 ::osl::DirectoryItem aItem; 155 sal_Int32 i = aRet.getLength(); 156 if ( aRet[i-1] == '/' ) 157 i--; 158 |
159 if ( DirectoryItem::get( ::rtl::OUString( aRet, i ), aItem ) == FileBase::E_None ) | 159 if ( DirectoryItem::get( ::rtl::OUString( aRet.getStr(), i ), aItem ) == FileBase::E_None ) |
160 aName = aRet; 161 } 162 } 163 else 164 { 165 DBG_WARNING( "::unotools::TempFile : UCB not present or not initialized!" ); 166 } 167 } --- 322 unchanged lines hidden --- | 160 aName = aRet; 161 } 162 } 163 else 164 { 165 DBG_WARNING( "::unotools::TempFile : UCB not present or not initialized!" ); 166 } 167 } --- 322 unchanged lines hidden --- |