textwindowaccessibility.cxx (3ea0c3d5) | textwindowaccessibility.cxx (144e4e62) |
---|---|
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 --- 1941 unchanged lines hidden (view full) --- 1950 m_rView.SetSelection(::TextSelection(::TextPaM(nNumber, nBegin), 1951 ::TextPaM(nNumber, nEnd))); 1952 if (bCut) 1953 m_rView.Cut(); 1954 else if (nBegin != nEnd) 1955 m_rView.DeleteSelected(); 1956 if (bPaste) 1957 m_rView.Paste(); | 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 --- 1941 unchanged lines hidden (view full) --- 1950 m_rView.SetSelection(::TextSelection(::TextPaM(nNumber, nBegin), 1951 ::TextPaM(nNumber, nEnd))); 1952 if (bCut) 1953 m_rView.Cut(); 1954 else if (nBegin != nEnd) 1955 m_rView.DeleteSelected(); 1956 if (bPaste) 1957 m_rView.Paste(); |
1958 else if (rText.getLength() != 0) | 1958 else if ( !rText.isEmpty() ) |
1959 m_rView.InsertText(rText); 1960} 1961 1962void Document::handleParagraphNotifications() 1963{ 1964 while (!m_aParagraphNotifications.empty()) 1965 { 1966 ::TextHint aHint(m_aParagraphNotifications.front()); --- 664 unchanged lines hidden --- | 1959 m_rView.InsertText(rText); 1960} 1961 1962void Document::handleParagraphNotifications() 1963{ 1964 while (!m_aParagraphNotifications.empty()) 1965 { 1966 ::TextHint aHint(m_aParagraphNotifications.front()); --- 664 unchanged lines hidden --- |