summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-04-30 07:15:55 +0300
committerTor Lillqvist <tml@collabora.com>2015-04-30 09:11:40 +0300
commitc07a3b0396ab131bef7ef23305180c8f27bf5c9b (patch)
tree31b1dca0adcd846db2a7d9fde354f7bee3ab263e /editeng
parentd883c12556a71c5d3719454b1f95809a505f0ace (diff)
Get rid of initial :: for the svx namespace
Change-Id: I03e428a749bca409ebac9c142acaddafcbfeca23
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editeng.cxx4
-rw-r--r--editeng/source/editeng/impedit.hxx10
-rw-r--r--editeng/source/editeng/impedit4.cxx8
-rw-r--r--editeng/source/outliner/outlin2.cxx4
4 files changed, 13 insertions, 13 deletions
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index e62e29de8353..1b760958dba2 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -2175,7 +2175,7 @@ void EditEngine::StartSpelling(EditView& rEditView, bool bMultipleDoc)
pImpEditEngine->StartSpelling(rEditView, bMultipleDoc);
}
-bool EditEngine::SpellSentence(EditView& rView, ::svx::SpellPortions& rToFill, bool bIsGrammarChecking )
+bool EditEngine::SpellSentence(EditView& rView, svx::SpellPortions& rToFill, bool bIsGrammarChecking )
{
return pImpEditEngine->SpellSentence( rView, rToFill, bIsGrammarChecking );
}
@@ -2185,7 +2185,7 @@ void EditEngine::PutSpellingToSentenceStart( EditView& rEditView )
pImpEditEngine->PutSpellingToSentenceStart( rEditView );
}
-void EditEngine::ApplyChangedSentence(EditView& rEditView, const ::svx::SpellPortions& rNewPortions, bool bRecheck )
+void EditEngine::ApplyChangedSentence(EditView& rEditView, const svx::SpellPortions& rNewPortions, bool bRecheck )
{
pImpEditEngine->ApplyChangedSentence( rEditView, rNewPortions, bRecheck );
}
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index fccd6d8e99af..301b6f92ea08 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -161,7 +161,7 @@ struct SpellInfo
EditPaM aCurSentenceStart;
bool bSpellToEnd;
bool bMultipleDoc;
- ::svx::SpellPortions aLastSpellPortions;
+ svx::SpellPortions aLastSpellPortions;
SpellContentSelections aLastSpellContentSelections;
SpellInfo()
{ bSpellToEnd = true; eState = EE_SPELL_OK; bMultipleDoc = false; }
@@ -951,22 +951,22 @@ public:
//initialize sentence spelling
void StartSpelling(EditView& rEditView, bool bMultipleDoc);
//spell and return a sentence
- bool SpellSentence(EditView& rView, ::svx::SpellPortions& rToFill, bool bIsGrammarChecking );
+ bool SpellSentence(EditView& rView, svx::SpellPortions& rToFill, bool bIsGrammarChecking );
//put spelling back to start of current sentence - needed after switch of grammar support
void PutSpellingToSentenceStart( EditView& rEditView );
//applies a changed sentence
- void ApplyChangedSentence(EditView& rEditView, const ::svx::SpellPortions& rNewPortions, bool bRecheck );
+ void ApplyChangedSentence(EditView& rEditView, const svx::SpellPortions& rNewPortions, bool bRecheck );
//adds one or more portions of text to the SpellPortions depending on language changes
void AddPortionIterated(
EditView& rEditView,
const EditSelection &rSel,
::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSpellAlternatives > xAlt,
- ::svx::SpellPortions& rToFill);
+ svx::SpellPortions& rToFill);
//adds one portion to the SpellPortions
void AddPortion(
const EditSelection &rSel,
::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSpellAlternatives > xAlt,
- ::svx::SpellPortions& rToFill,
+ svx::SpellPortions& rToFill,
bool bIsField );
bool Search( const SvxSearchItem& rSearchItem, EditView* pView );
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index 39c147ef2747..20c411e03d86 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -1954,7 +1954,7 @@ Reference< XSpellAlternatives > ImpEditEngine::ImpFindNextError(EditSelection& r
}
bool ImpEditEngine::SpellSentence(EditView& rEditView,
- ::svx::SpellPortions& rToFill,
+ svx::SpellPortions& rToFill,
bool /*bIsGrammarChecking*/ )
{
bool bRet = false;
@@ -2017,7 +2017,7 @@ bool ImpEditEngine::SpellSentence(EditView& rEditView,
void ImpEditEngine::AddPortion(
const EditSelection& rSel,
uno::Reference< XSpellAlternatives > xAlt,
- ::svx::SpellPortions& rToFill,
+ svx::SpellPortions& rToFill,
bool bIsField)
{
if(rSel.HasRange())
@@ -2041,7 +2041,7 @@ void ImpEditEngine::AddPortionIterated(
EditView& rEditView,
const EditSelection& rSel,
Reference< XSpellAlternatives > xAlt,
- ::svx::SpellPortions& rToFill)
+ svx::SpellPortions& rToFill)
{
if (rSel.HasRange())
{
@@ -2106,7 +2106,7 @@ void ImpEditEngine::AddPortionIterated(
}
void ImpEditEngine::ApplyChangedSentence(EditView& rEditView,
- const ::svx::SpellPortions& rNewPortions,
+ const svx::SpellPortions& rNewPortions,
bool bRecheck )
{
// Note: rNewPortions.size() == 0 is valid and happens when the whole
diff --git a/editeng/source/outliner/outlin2.cxx b/editeng/source/outliner/outlin2.cxx
index 13b17442bdbe..18a27e1c5826 100644
--- a/editeng/source/outliner/outlin2.cxx
+++ b/editeng/source/outliner/outlin2.cxx
@@ -587,7 +587,7 @@ void Outliner::StartSpelling(EditView& rEditView, bool bMultipleDoc)
pEditEngine->StartSpelling(rEditView, bMultipleDoc);
}
-bool Outliner::SpellSentence(EditView& rEditView, ::svx::SpellPortions& rToFill, bool bIsGrammarChecking )
+bool Outliner::SpellSentence(EditView& rEditView, svx::SpellPortions& rToFill, bool bIsGrammarChecking )
{
return pEditEngine->SpellSentence(rEditView, rToFill, bIsGrammarChecking );
}
@@ -597,7 +597,7 @@ void Outliner::PutSpellingToSentenceStart( EditView& rEditView )
pEditEngine->PutSpellingToSentenceStart( rEditView );
}
-void Outliner::ApplyChangedSentence(EditView& rEditView, const ::svx::SpellPortions& rNewPortions, bool bRecheck )
+void Outliner::ApplyChangedSentence(EditView& rEditView, const svx::SpellPortions& rNewPortions, bool bRecheck )
{
pEditEngine->ApplyChangedSentence( rEditView, rNewPortions, bRecheck );
}