AccessibleCell.cxx (4b4244d8) | AccessibleCell.cxx (4937ceef) |
---|---|
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 --- 496 unchanged lines hidden (view full) --- 505 oldOUString = ReplaceOneChar(oldOUString,::rtl::OUString::createFromAscii(";"),::rtl::OUString::createFromAscii("\\;")); 506 oldOUString = ReplaceOneChar(oldOUString,::rtl::OUString::createFromAscii("="),::rtl::OUString::createFromAscii("\\=")); 507 oldOUString = ReplaceOneChar(oldOUString,::rtl::OUString::createFromAscii(","),::rtl::OUString::createFromAscii("\\,")); 508 oldOUString = ReplaceOneChar(oldOUString,::rtl::OUString::createFromAscii(":"),::rtl::OUString::createFromAscii("\\:")); 509 return oldOUString; 510} 511 512uno::Any SAL_CALL ScAccessibleCell::getExtendedAttributes() | 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 --- 496 unchanged lines hidden (view full) --- 505 oldOUString = ReplaceOneChar(oldOUString,::rtl::OUString::createFromAscii(";"),::rtl::OUString::createFromAscii("\\;")); 506 oldOUString = ReplaceOneChar(oldOUString,::rtl::OUString::createFromAscii("="),::rtl::OUString::createFromAscii("\\=")); 507 oldOUString = ReplaceOneChar(oldOUString,::rtl::OUString::createFromAscii(","),::rtl::OUString::createFromAscii("\\,")); 508 oldOUString = ReplaceOneChar(oldOUString,::rtl::OUString::createFromAscii(":"),::rtl::OUString::createFromAscii("\\:")); 509 return oldOUString; 510} 511 512uno::Any SAL_CALL ScAccessibleCell::getExtendedAttributes() |
513 throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, com::sun::star::ucb::CommandFailedException) | 513 throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) |
514{ 515 uno::Any strRet; 516 if (mpViewShell) 517 { 518 const ::rtl::OUString strAttr(::rtl::OUString::createFromAscii(":")); 519 const ::rtl::OUString strSplit(::rtl::OUString::createFromAscii(";")); 520 ::rtl::OUString strFor = mpViewShell->GetFormula(maCellAddress) ; 521 strFor = strFor.replaceAt(0,1,::rtl::OUString::createFromAscii("")); --- 105 unchanged lines hidden --- | 514{ 515 uno::Any strRet; 516 if (mpViewShell) 517 { 518 const ::rtl::OUString strAttr(::rtl::OUString::createFromAscii(":")); 519 const ::rtl::OUString strSplit(::rtl::OUString::createFromAscii(";")); 520 ::rtl::OUString strFor = mpViewShell->GetFormula(maCellAddress) ; 521 strFor = strFor.replaceAt(0,1,::rtl::OUString::createFromAscii("")); --- 105 unchanged lines hidden --- |