summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/xml/xmlstyli.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-06-07 05:04:57 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-06-07 05:04:57 +0200
commit4c5e30555d20f17614f31c34a0b06fbca5f3fb02 (patch)
treef8b529e975eb61531468c63044ab932f2350789f /sc/source/filter/xml/xmlstyli.cxx
parentUseful error message when DDE link update fails. (diff)
parentfix selection problem (diff)
downloadcore-4c5e30555d20f17614f31c34a0b06fbca5f3fb02.tar.gz
core-4c5e30555d20f17614f31c34a0b06fbca5f3fb02.zip
Merge branch 'feature/unlimited-number-of-sheets'
Conflicts: sc/source/core/data/dociter.cxx sc/source/core/data/table1.cxx sc/source/ui/view/preview.cxx
Diffstat (limited to 'sc/source/filter/xml/xmlstyli.cxx')
-rw-r--r--sc/source/filter/xml/xmlstyli.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx
index 97eb77dd8d0a..487d484a259a 100644
--- a/sc/source/filter/xml/xmlstyli.cxx
+++ b/sc/source/filter/xml/xmlstyli.cxx
@@ -1059,14 +1059,14 @@ void ScCellTextStyleContext::FillPropertySet( const uno::Reference<beans::XPrope
if (pCellImp)
{
ScAddress aPos = pCellImp->GetCellObj().GetPosition();
- if ( static_cast<sal_Int32>(aPos.Tab()) != nLastSheet )
+ if ( aPos.Tab() != nLastSheet )
{
ESelection aSel = pCellImp->GetSelection();
ScSheetSaveData* pSheetData = ScModelObj::getImplementation(GetImport().GetModel())->GetSheetSaveData();
pSheetData->AddTextStyle( GetName(), aPos, aSel );
- nLastSheet = static_cast<sal_Int32>(aPos.Tab());
+ nLastSheet = aPos.Tab();
}
}
else if ( rXMLImport.GetTables().GetCurrentSheet() != nLastSheet )