summaryrefslogtreecommitdiffstats
path: root/sfx2
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-08-14 19:01:52 -0430
committerRafael Dominguez <venccsralph@gmail.com>2012-08-15 07:18:25 -0430
commite626da3c527812adcd23916489cf95f995c6ec6f (patch)
tree8de8c70ac6c09f8c2f8e39dc9c8ad7a294aaf46b /sfx2
parentHide commands that are only for one selected template. (diff)
downloadcore-e626da3c527812adcd23916489cf95f995c6ec6f.tar.gz
core-e626da3c527812adcd23916489cf95f995c6ec6f.zip
Show empty folders when display all templates.
Change-Id: Id78a18b00213a3963be583c2ae1b3534eb27df57
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/templatelocalview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx
index 53624b97b281..4e47e1f071e6 100644
--- a/sfx2/source/control/templatelocalview.cxx
+++ b/sfx2/source/control/templatelocalview.cxx
@@ -63,7 +63,7 @@ public:
}
}
- return nVisCount;
+ return meApp != FILTER_APP_NONE ? nVisCount : true ;
}
bool isValid (const rtl::OUString &rType) const