summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-09-03 19:38:22 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-09-03 21:05:19 +0200
commitd59e728be6d71cfb86c5f2904df793e9dd2d1af5 (patch)
tree23018da92763b834d52dbaf8f2b2beed7a9396de /sc
parent61a9838e521222e0aeb3199e18e6d828801a8035 (diff)
Remove (misleading) EditEngine::QuickRemoveCharAttribs
Change-Id: I7a0be4e204a239dfdd9c184b3d54a69debe8a208
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/column2.cxx2
-rw-r--r--sc/source/ui/app/inputhdl.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index 53829134e63a..0284f0b00097 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -1064,7 +1064,7 @@ public:
sal_Int32 nParCount = mpEngine->GetParagraphCount();
for (sal_Int32 nPar=0; nPar<nParCount; nPar++)
{
- mpEngine->QuickRemoveCharAttribs(nPar);
+ mpEngine->RemoveCharAttribs(nPar);
const SfxItemSet& rOld = mpEngine->GetParaAttribs(nPar);
if ( rOld.Count() )
{
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 8ba945766748..05e0251457ca 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1612,7 +1612,7 @@ void ScInputHandler::UpdateParenthesis()
// Remove old highlighting
sal_Int32 nCount = pEngine->GetParagraphCount();
for (sal_Int32 i=0; i<nCount; i++)
- pEngine->QuickRemoveCharAttribs( i, EE_CHAR_WEIGHT );
+ pEngine->RemoveCharAttribs( i, EE_CHAR_WEIGHT );
}
ESelection aSelThis( 0,nPos, 0,nPos+1 );
@@ -1807,7 +1807,7 @@ void ScInputHandler::RemoveRangeFinder()
pEngine->SetUpdateMode(false);
sal_Int32 nCount = pEngine->GetParagraphCount(); // Could just have been inserted
for (sal_Int32 i=0; i<nCount; i++)
- pEngine->QuickRemoveCharAttribs( i, EE_CHAR_COLOR );
+ pEngine->RemoveCharAttribs( i, EE_CHAR_COLOR );
pEngine->SetUpdateMode(true);
EditView* pActiveView = pTopView ? pTopView : pTableView;
@@ -3662,7 +3662,7 @@ bool ScInputHandler::GetTextAndFields( ScEditEngineDefaulter& rDestEngine )
// Delete attributes
for (sal_Int32 i=0; i<nParCnt; i++)
- rDestEngine.QuickRemoveCharAttribs( i );
+ rDestEngine.RemoveCharAttribs( i );
// Combine paragraphs
while ( nParCnt > 1 )