summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/shells/annotsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx
index f2cc6592df86..71c87569859e 100644
--- a/sw/source/uibase/shells/annotsh.cxx
+++ b/sw/source/uibase/shells/annotsh.cxx
@@ -576,7 +576,7 @@ void SwAnnotationShell::Exec( SfxRequest &rReq )
}
tools::Rectangle aOutRect = pOLV->GetOutputArea();
- if (tools::Rectangle() != aOutRect)
+ if (tools::Rectangle() != aOutRect && aNewAttr.Count())
pOLV->SetAttribs(aNewAttr);
rView.GetViewFrame()->GetBindings().InvalidateAll(false);