DOTransferable.cxx (45fd3b9a) | DOTransferable.cxx (739826ff) |
---|---|
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 --- 122 unchanged lines hidden (view full) --- 131 { 132 if ( m_DataFormatTranslator.isUnicodeTextFormat( fetc.getClipformat( ) ) && 133 m_bUnicodeRegistered ) 134 { 135 OUString aUnicodeText = synthesizeUnicodeText( ); 136 Any aAny = makeAny( aUnicodeText ); 137 return aAny; 138 } | 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 --- 122 unchanged lines hidden (view full) --- 131 { 132 if ( m_DataFormatTranslator.isUnicodeTextFormat( fetc.getClipformat( ) ) && 133 m_bUnicodeRegistered ) 134 { 135 OUString aUnicodeText = synthesizeUnicodeText( ); 136 Any aAny = makeAny( aUnicodeText ); 137 return aAny; 138 } |
139 else if(CF_DIBV5 == fetc.getClipformat()) 140 { 141 // #123407# CF_DIBV5 has priority; if the try to fetch this failed, 142 // check CF_DIB availability as an alternative 143 fetc.setClipformat(CF_DIB); 144 145 try 146 { 147 clipDataStream = getClipboardData( fetc ); 148 } 149 catch( UnsupportedFlavorException& ) 150 { 151 throw; // pass through, tried all possibilities 152 } 153 } |
|
139 else 140 throw; // pass through exception 141 } 142 143 //------------------------------------------------ 144 // return the data as any 145 //------------------------------------------------ 146 --- 468 unchanged lines hidden --- | 154 else 155 throw; // pass through exception 156 } 157 158 //------------------------------------------------ 159 // return the data as any 160 //------------------------------------------------ 161 --- 468 unchanged lines hidden --- |