diff options
author | Andre Fischer <af@apache.org> | 2012-06-26 14:29:05 +0000 |
---|---|---|
committer | Xisco Fauli <anistenis@gmail.com> | 2013-03-27 01:13:42 +0100 |
commit | 79a6b5191961c5dcc91f6e0b0b63f2e61a933823 (patch) | |
tree | 3dae5feefc92a8fce6fc67ef9abdd243a92517f6 /sc | |
parent | 2b520e7d8a0cf12c71b8fc09d6d83dda8a3b6c32 (diff) |
#i119557# Ignore redundant "split" property.
Patch by: Jianyuan Li
Found by: binguo
Review by: Andre Fischer
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/viewdata.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index 746b23350fe2..2f50245d4760 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -2520,6 +2520,9 @@ void ScViewData::ReadExtOptions( const ScExtDocOptions& rDocOpt ) double nFactor = pDocShell->GetOutputFactor(); aPixel.X() = (long)( aPixel.X() * nFactor + 0.5 ); } + + bHSplit = bHSplit && aPixel.X() > 0; + bVSplit = bVSplit && aPixel.Y() > 0; if( bHSplit ) { rViewTab.eHSplitMode = SC_SPLIT_NORMAL; |